diff options
author | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2010-10-12 20:17:41 +0400 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2010-10-12 20:17:41 +0400 |
commit | 677f0f47a8d6ae558482d27e071c82deca8e6540 (patch) | |
tree | bd3924200d04b9f89e5ed777d6295a9917133b33 /OnDiskPt | |
parent | a875ef836146aac95d147c20cd640ae72c52b68f (diff) |
copyright notice & svn properties
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3620 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'OnDiskPt')
-rw-r--r-- | OnDiskPt/src/OnDiskWrapper.cpp | 27 | ||||
-rw-r--r-- | OnDiskPt/src/OnDiskWrapper.h | 27 | ||||
-rw-r--r-- | OnDiskPt/src/Phrase.cpp | 27 | ||||
-rw-r--r-- | OnDiskPt/src/Phrase.h | 27 | ||||
-rw-r--r-- | OnDiskPt/src/PhraseNode.cpp | 27 | ||||
-rw-r--r-- | OnDiskPt/src/PhraseNode.h | 27 | ||||
-rw-r--r-- | OnDiskPt/src/SourcePhrase.cpp | 27 | ||||
-rw-r--r-- | OnDiskPt/src/SourcePhrase.h | 27 | ||||
-rw-r--r-- | OnDiskPt/src/TargetPhrase.cpp | 28 | ||||
-rw-r--r-- | OnDiskPt/src/TargetPhrase.h | 28 | ||||
-rw-r--r-- | OnDiskPt/src/TargetPhraseCollection.cpp | 19 | ||||
-rw-r--r-- | OnDiskPt/src/TargetPhraseCollection.h | 19 | ||||
-rw-r--r-- | OnDiskPt/src/Vocab.cpp | 27 | ||||
-rw-r--r-- | OnDiskPt/src/Vocab.h | 27 | ||||
-rw-r--r-- | OnDiskPt/src/Word.cpp | 27 | ||||
-rw-r--r-- | OnDiskPt/src/Word.h | 27 |
16 files changed, 306 insertions, 112 deletions
diff --git a/OnDiskPt/src/OnDiskWrapper.cpp b/OnDiskPt/src/OnDiskWrapper.cpp index c580fbb5a..3d3f956a2 100644 --- a/OnDiskPt/src/OnDiskWrapper.cpp +++ b/OnDiskPt/src/OnDiskWrapper.cpp @@ -1,11 +1,22 @@ -/* - * OnDiskWrapper.cpp - * CreateOnDisk - * - * Created by Hieu Hoang on 31/12/2009. - * Copyright 2009 __MyCompanyName__. All rights reserved. - * - */ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 + ***********************************************************************/ #ifdef WIN32 #include <direct.h> #endif diff --git a/OnDiskPt/src/OnDiskWrapper.h b/OnDiskPt/src/OnDiskWrapper.h index c8fa959a8..3b24f385b 100644 --- a/OnDiskPt/src/OnDiskWrapper.h +++ b/OnDiskPt/src/OnDiskWrapper.h @@ -1,12 +1,23 @@ #pragma once -/* - * OnDiskWrapper.h - * CreateOnDisk - * - * Created by Hieu Hoang on 31/12/2009. - * Copyright 2009 __MyCompanyName__. All rights reserved. - * - */ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 <fstream> #include "Vocab.h" diff --git a/OnDiskPt/src/Phrase.cpp b/OnDiskPt/src/Phrase.cpp index 338741b81..915aba0ee 100644 --- a/OnDiskPt/src/Phrase.cpp +++ b/OnDiskPt/src/Phrase.cpp @@ -1,11 +1,22 @@ -/* - * Phrase.cpp - * CreateOnDisk - * - * Created by Hieu Hoang on 31/12/2009. - * Copyright 2009 __MyCompanyName__. All rights reserved. - * - */ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 <iostream> #include <cassert> #include "../../moses/src/Util.h" diff --git a/OnDiskPt/src/Phrase.h b/OnDiskPt/src/Phrase.h index e98cab86f..6d732e345 100644 --- a/OnDiskPt/src/Phrase.h +++ b/OnDiskPt/src/Phrase.h @@ -1,12 +1,23 @@ #pragma once -/* - * Phrase.h - * CreateOnDisk - * - * Created by Hieu Hoang on 31/12/2009. - * Copyright 2009 __MyCompanyName__. All rights reserved. - * - */ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 <vector> #include <iostream> #include "Word.h" diff --git a/OnDiskPt/src/PhraseNode.cpp b/OnDiskPt/src/PhraseNode.cpp index 659c8182f..a35740d8f 100644 --- a/OnDiskPt/src/PhraseNode.cpp +++ b/OnDiskPt/src/PhraseNode.cpp @@ -1,11 +1,22 @@ -/* - * PhraseNode.cpp - * CreateOnDisk - * - * Created by Hieu Hoang on 01/01/2010. - * Copyright 2010 __MyCompanyName__. All rights reserved. - * - */ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 <cassert> #include "PhraseNode.h" #include "OnDiskWrapper.h" diff --git a/OnDiskPt/src/PhraseNode.h b/OnDiskPt/src/PhraseNode.h index 8eb274c34..bf45cda28 100644 --- a/OnDiskPt/src/PhraseNode.h +++ b/OnDiskPt/src/PhraseNode.h @@ -1,12 +1,23 @@ #pragma once -/* - * PhraseNode.h - * CreateOnDisk - * - * Created by Hieu Hoang on 01/01/2010. - * Copyright 2010 __MyCompanyName__. All rights reserved. - * - */ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 <fstream> #include <vector> #include <map> diff --git a/OnDiskPt/src/SourcePhrase.cpp b/OnDiskPt/src/SourcePhrase.cpp index 20dd7ede7..b2877a1a8 100644 --- a/OnDiskPt/src/SourcePhrase.cpp +++ b/OnDiskPt/src/SourcePhrase.cpp @@ -1,11 +1,22 @@ -/* - * SourcePhrase.cpp - * CreateOnDisk - * - * Created by Hieu Hoang on 31/12/2009. - * Copyright 2009 __MyCompanyName__. All rights reserved. - * - */ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 <cassert> #include "SourcePhrase.h" diff --git a/OnDiskPt/src/SourcePhrase.h b/OnDiskPt/src/SourcePhrase.h index 726d5e810..ac3ab0866 100644 --- a/OnDiskPt/src/SourcePhrase.h +++ b/OnDiskPt/src/SourcePhrase.h @@ -1,12 +1,23 @@ #pragma once -/* - * SourcePhrase.h - * CreateOnDisk - * - * Created by Hieu Hoang on 31/12/2009. - * Copyright 2009 __MyCompanyName__. All rights reserved. - * - */ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 <vector> #include "Phrase.h" #include "Word.h" diff --git a/OnDiskPt/src/TargetPhrase.cpp b/OnDiskPt/src/TargetPhrase.cpp index 3389fb7a1..84d26b7bf 100644 --- a/OnDiskPt/src/TargetPhrase.cpp +++ b/OnDiskPt/src/TargetPhrase.cpp @@ -1,11 +1,23 @@ -/* - * TargetPhrase.cpp - * CreateOnDisk - * - * Created by Hieu Hoang on 31/12/2009. - * Copyright 2009 __MyCompanyName__. All rights reserved. - * - */ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 <iostream> #include "../../moses/src/Util.h" diff --git a/OnDiskPt/src/TargetPhrase.h b/OnDiskPt/src/TargetPhrase.h index 6d571815c..c8ef534bc 100644 --- a/OnDiskPt/src/TargetPhrase.h +++ b/OnDiskPt/src/TargetPhrase.h @@ -1,12 +1,24 @@ #pragma once -/* - * TargetPhrase.h - * CreateOnDisk - * - * Created by Hieu Hoang on 31/12/2009. - * Copyright 2009 __MyCompanyName__. All rights reserved. - * - */ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 <fstream> #include <string> #include <vector> diff --git a/OnDiskPt/src/TargetPhraseCollection.cpp b/OnDiskPt/src/TargetPhraseCollection.cpp index 50c6b4b20..a70e672cd 100644 --- a/OnDiskPt/src/TargetPhraseCollection.cpp +++ b/OnDiskPt/src/TargetPhraseCollection.cpp @@ -1,3 +1,22 @@ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 <iostream> diff --git a/OnDiskPt/src/TargetPhraseCollection.h b/OnDiskPt/src/TargetPhraseCollection.h index e904d2dbe..b33d84b5b 100644 --- a/OnDiskPt/src/TargetPhraseCollection.h +++ b/OnDiskPt/src/TargetPhraseCollection.h @@ -1,3 +1,22 @@ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 #include "TargetPhrase.h" diff --git a/OnDiskPt/src/Vocab.cpp b/OnDiskPt/src/Vocab.cpp index bf13d674e..bae5e81c1 100644 --- a/OnDiskPt/src/Vocab.cpp +++ b/OnDiskPt/src/Vocab.cpp @@ -1,11 +1,22 @@ -/* - * Vocab.cpp - * CreateOnDisk - * - * Created by Hieu Hoang on 31/12/2009. - * Copyright 2009 __MyCompanyName__. All rights reserved. - * - */ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 <fstream> #include "OnDiskWrapper.h" diff --git a/OnDiskPt/src/Vocab.h b/OnDiskPt/src/Vocab.h index 50cab6121..a5f27c93e 100644 --- a/OnDiskPt/src/Vocab.h +++ b/OnDiskPt/src/Vocab.h @@ -1,12 +1,23 @@ #pragma once -/* - * Vocab.h - * CreateOnDisk - * - * Created by Hieu Hoang on 31/12/2009. - * Copyright 2009 __MyCompanyName__. All rights reserved. - * - */ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 <map> #include "../../moses/src/TypeDef.h" diff --git a/OnDiskPt/src/Word.cpp b/OnDiskPt/src/Word.cpp index 30e40b513..621dec3b5 100644 --- a/OnDiskPt/src/Word.cpp +++ b/OnDiskPt/src/Word.cpp @@ -1,11 +1,22 @@ -/* - * Word.cpp - * CreateOnDisk - * - * Created by Hieu Hoang on 31/12/2009. - * Copyright 2009 __MyCompanyName__. All rights reserved. - * - */ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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 "../../moses/src/Util.h" #include "../../moses/src/Word.h" diff --git a/OnDiskPt/src/Word.h b/OnDiskPt/src/Word.h index 95dee6a19..0b344aa5b 100644 --- a/OnDiskPt/src/Word.h +++ b/OnDiskPt/src/Word.h @@ -1,12 +1,23 @@ #pragma once -/* - * Word.h - * CreateOnDisk - * - * Created by Hieu Hoang on 31/12/2009. - * Copyright 2009 __MyCompanyName__. All rights reserved. - * - */ +// $Id$ +/*********************************************************************** + Moses - factored phrase-based, hierarchical and syntactic language decoder + Copyright (C) 2009 Hieu Hoang + + 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> #include <iostream> |