mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 19:27:11 +03:00
remove all Moses from Moses2
This commit is contained in:
parent
aa8dc8e787
commit
e3a5b232b8
@ -8,7 +8,7 @@
|
||||
#include <vector>
|
||||
#include "FeatureFunction.h"
|
||||
#include "../System.h"
|
||||
#include "moses/Util.h"
|
||||
#include "../legacy/Util2.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "../System.h"
|
||||
#include "../Search/Manager.h"
|
||||
#include "../Search/Hypothesis.h"
|
||||
#include "moses/Util.h"
|
||||
#include "../legacy/Util2.h"
|
||||
#include "moses/InputFileStream.h"
|
||||
#include "moses/LM/PointerState.h"
|
||||
#include "../legacy/Bitmap.h"
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "moses/Util.h"
|
||||
#include "legacy/Util2.h"
|
||||
#include "moses/Factor.h"
|
||||
#include "moses/InputFileStream.h"
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <vector>
|
||||
#include "Phrase.h"
|
||||
#include "Word.h"
|
||||
#include "moses/Util.h"
|
||||
#include "legacy/Util2.h"
|
||||
#include "MemPool.h"
|
||||
|
||||
using namespace std;
|
||||
|
@ -9,12 +9,11 @@
|
||||
#include <cstddef>
|
||||
#include <stdio.h>
|
||||
#include "Scores.h"
|
||||
#include "Util.h"
|
||||
#include "Weights.h"
|
||||
#include "System.h"
|
||||
#include "FF/FeatureFunction.h"
|
||||
#include "FF/FeatureFunctions.h"
|
||||
#include "moses/Util.h"
|
||||
#include "legacy/Util2.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <boost/unordered_set.hpp>
|
||||
#include "Hypothesis.h"
|
||||
#include "../Recycler.h"
|
||||
#include "moses/Util.h"
|
||||
#include "../legacy/Util2.h"
|
||||
|
||||
class StackAdd
|
||||
{
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "System.h"
|
||||
#include "FF/FeatureFunction.h"
|
||||
#include "TranslationModel/UnknownWordPenalty.h"
|
||||
#include "moses/Util.h"
|
||||
#include "legacy/Util2.h"
|
||||
#include "util/exception.hh"
|
||||
|
||||
using namespace std;
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "../TargetPhrases.h"
|
||||
#include "../Word.h"
|
||||
#include "../FF/StatelessFeatureFunction.h"
|
||||
#include "moses/Util.h"
|
||||
#include "../legacy/Util2.h"
|
||||
|
||||
class System;
|
||||
class InputPaths;
|
||||
|
@ -1,8 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
template<typename T>
|
||||
void Init(T arr[], size_t size, const T &val) {
|
||||
for (size_t i = 0; i < size; ++i) {
|
||||
arr[i] = val;
|
||||
}
|
||||
}
|
@ -10,7 +10,7 @@
|
||||
#include "FF/FeatureFunction.h"
|
||||
#include "FF/FeatureFunctions.h"
|
||||
#include "Weights.h"
|
||||
#include "moses/Util.h"
|
||||
#include "legacy/Util2.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#include <vector>
|
||||
#include "Word.h"
|
||||
#include "Util.h"
|
||||
#include "legacy/Util2.h"
|
||||
#include "util/murmur_hash.hh"
|
||||
|
||||
using namespace std;
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <boost/foreach.hpp>
|
||||
#include "Bitmaps.h"
|
||||
#include "Util.h"
|
||||
#include "Util2.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <boost/unordered_map.hpp>
|
||||
#include <set>
|
||||
#include "Bitmap.h"
|
||||
#include "Util.h"
|
||||
#include "Util2.h"
|
||||
|
||||
class Bitmaps
|
||||
{
|
||||
|
@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
#include <iostream>
|
||||
#include <boost/functional/hash.hpp>
|
||||
#include "Util.h"
|
||||
#include "Util2.h"
|
||||
#include "util/exception.hh"
|
||||
|
||||
#ifdef WIN32
|
||||
|
@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include "SquareMatrix.h"
|
||||
#include "Util.h"
|
||||
#include "Util2.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
#include "Util.h"
|
||||
#include "Util2.h"
|
||||
#include "Bitmap.h"
|
||||
|
||||
|
||||
|
@ -26,3 +26,9 @@ public:
|
||||
|
||||
};
|
||||
|
||||
template<typename T>
|
||||
void Init(T arr[], size_t size, const T &val) {
|
||||
for (size_t i = 0; i < size; ++i) {
|
||||
arr[i] = val;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user