Skip to content

Commit

Permalink
streamlining license to LGPL 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
phikoehn committed Sep 25, 2015
1 parent bb1b5d3 commit a052837
Show file tree
Hide file tree
Showing 30 changed files with 541 additions and 84 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,4 @@ mingw/MosesGUI/_eric4project/

contrib/m4m/merge-sorted
mert/hgdecode
.bash_history*
460 changes: 460 additions & 0 deletions COPYING

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contrib/makemteval/makemteval.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def parsecmd( config = {} ):
This module is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
the Free Software Foundation, either version 2.1 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
Expand Down
4 changes: 2 additions & 2 deletions mert/TER/alignmentStruct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down Expand Up @@ -141,4 +141,4 @@ void alignmentStruct::set(alignmentStruct l_alignmentStruct)
// }


}
}
2 changes: 1 addition & 1 deletion mert/TER/alignmentStruct.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/bestShiftStruct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/bestShiftStruct.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/hashMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/hashMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/hashMapInfos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/hashMapInfos.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/hashMapStringInfos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/hashMapStringInfos.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/infosHasher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/infosHasher.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/stringHasher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/stringHasher.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/stringInfosHasher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
4 changes: 2 additions & 2 deletions mert/TER/stringInfosHasher.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down Expand Up @@ -49,4 +49,4 @@ class stringInfosHasher


}
#endif
#endif
4 changes: 2 additions & 2 deletions mert/TER/terAlignment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down Expand Up @@ -234,4 +234,4 @@ string terAlignment::printAllShifts()
return to_return.str();
}

}
}
2 changes: 1 addition & 1 deletion mert/TER/terAlignment.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
4 changes: 2 additions & 2 deletions mert/TER/terShift.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down Expand Up @@ -165,4 +165,4 @@ int terShift::size()
// }


}
}
2 changes: 1 addition & 1 deletion mert/TER/terShift.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/tercalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/tercalc.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
2 changes: 1 addition & 1 deletion mert/TER/tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contact: [email protected]
The tercpp tool and library are free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the licence, or
the Free Software Foundation, either version 2.1 of the licence, or
(at your option) any later version.
This program and library are distributed in the hope that it will be useful, but WITHOUT
Expand Down
35 changes: 17 additions & 18 deletions misc/pmoses/pmoses.cc
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
/*
* Copyright (C) 2009 Felipe Sánchez-Martínez
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
/***********************************************************************
Copyright (C) 2009 Felipe Sánchez-Martínez
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
***********************************************************************/

#include <string>
#include <vector>
Expand Down
36 changes: 17 additions & 19 deletions moses/FeatureVector.cpp
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
/*
Moses - factored phrase-based language decoder
Copyright (C) 2010 University of Edinburgh
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
Moses - statistical machine translation system
Copyright (C) 2005-2015 University of Edinburgh
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include <algorithm>
#include <cmath>
Expand Down
35 changes: 17 additions & 18 deletions moses/FeatureVector.h
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
/*
Moses - factored phrase-based language decoder
Copyright (C) 2010 University of Edinburgh
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
Moses - statistical machine translation system
Copyright (C) 2005-2015 University of Edinburgh
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#pragma once

#ifndef FEATUREVECTOR_H
Expand Down

0 comments on commit a052837

Please sign in to comment.