remove all Moses from Moses2

This commit is contained in:
Hieu Hoang 2015-11-11 16:23:49 +00:00
parent aa8dc8e787
commit e3a5b232b8
17 changed files with 21 additions and 24 deletions

View File

@ -8,7 +8,7 @@
#include <vector>
#include "FeatureFunction.h"
#include "../System.h"
#include "moses/Util.h"
#include "../legacy/Util2.h"
using namespace std;

View File

@ -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"

View File

@ -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"

View File

@ -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;

View File

@ -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;

View File

@ -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
{

View File

@ -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;

View File

@ -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;

View File

@ -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;
}
}

View File

@ -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;

View File

@ -7,7 +7,7 @@
#include <vector>
#include "Word.h"
#include "Util.h"
#include "legacy/Util2.h"
#include "util/murmur_hash.hh"
using namespace std;

View File

@ -1,6 +1,6 @@
#include <boost/foreach.hpp>
#include "Bitmaps.h"
#include "Util.h"
#include "Util2.h"
using namespace std;

View File

@ -4,7 +4,7 @@
#include <boost/unordered_map.hpp>
#include <set>
#include "Bitmap.h"
#include "Util.h"
#include "Util2.h"
class Bitmaps
{

View File

@ -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

View File

@ -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;

View File

@ -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"

View File

@ -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;
}
}