Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/moses
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2012-11-14 18:18:53 +0400
committerHieu Hoang <hieuhoang@gmail.com>2012-11-14 18:18:53 +0400
commit065597dc9fe44cc30a04059db176a9610ae9f6e5 (patch)
tree1ece8deea628859cf2593997871b78ba2a435624 /moses
parente2841edfed8411e5c914eb8b26e42265424bfc25 (diff)
only include moses root when compiling
Diffstat (limited to 'moses')
-rw-r--r--moses/LM/LDHT.cpp8
-rw-r--r--moses/LM/LDHT.h2
-rw-r--r--moses/LM/ParallelBackoff.cpp18
-rw-r--r--moses/LM/Rand.cpp21
4 files changed, 24 insertions, 25 deletions
diff --git a/moses/LM/LDHT.cpp b/moses/LM/LDHT.cpp
index 6da941b5e..bb4e0640a 100644
--- a/moses/LM/LDHT.cpp
+++ b/moses/LM/LDHT.cpp
@@ -4,10 +4,10 @@
#include "LM/Base.h"
#include "LM/LDHT.h"
-#include "../FFState.h"
-#include "../TypeDef.h"
-#include "../Hypothesis.h"
-#include "../StaticData.h"
+#include "moses/FFState.h"
+#include "moses/TypeDef.h"
+#include "moses/Hypothesis.h"
+#include "moses/StaticData.h"
#include <LDHT/Client.h>
#include <LDHT/ClientLocal.h>
diff --git a/moses/LM/LDHT.h b/moses/LM/LDHT.h
index dc60d0725..a8489c0e3 100644
--- a/moses/LM/LDHT.h
+++ b/moses/LM/LDHT.h
@@ -5,7 +5,7 @@
#ifndef moses_LanguageModelLDHT_h
#define moses_LanguageModelLDHT_h
-#include "../TypeDef.h"
+#include "moses/TypeDef.h"
namespace Moses {
diff --git a/moses/LM/ParallelBackoff.cpp b/moses/LM/ParallelBackoff.cpp
index ec2fb2f78..ee8279aef 100644
--- a/moses/LM/ParallelBackoff.cpp
+++ b/moses/LM/ParallelBackoff.cpp
@@ -19,21 +19,21 @@ 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 "LM/ParallelBackoff.h"
+#include "ParallelBackoff.h"
#include <vector>
#include <string>
#include <sstream>
#include <fstream>
-#include "LM/MultiFactor.h"
-#include "Word.h"
-#include "Factor.h"
-#include "FactorTypeSet.h"
-#include "FactorCollection.h"
-#include "Phrase.h"
-#include "TypeDef.h"
-#include "Util.h"
+#include "MultiFactor.h"
+#include "moses/Word.h"
+#include "moses/Factor.h"
+#include "moses/FactorTypeSet.h"
+#include "moses/FactorCollection.h"
+#include "moses/Phrase.h"
+#include "moses/TypeDef.h"
+#include "moses/Util.h"
#include "FNgramSpecs.h"
#include "FNgramStats.h"
diff --git a/moses/LM/Rand.cpp b/moses/LM/Rand.cpp
index 93411b8d3..4f0718b68 100644
--- a/moses/LM/Rand.cpp
+++ b/moses/LM/Rand.cpp
@@ -17,23 +17,22 @@ 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 "util/check.hh"
#include <limits>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
-#include "Factor.h"
-#include "Util.h"
-#include "LM/SingleFactor.h"
-#include "RandLM.h"
-
-#include "LM/Rand.h"
-#include "FactorCollection.h"
-#include "Phrase.h"
-#include "InputFileStream.h"
-#include "StaticData.h"
+#include "SingleFactor.h"
+#include "RandLM.h"
+#include "Rand.h"
+#include "moses/Factor.h"
+#include "moses/Util.h"
+#include "moses/FactorCollection.h"
+#include "moses/Phrase.h"
+#include "moses/InputFileStream.h"
+#include "moses/StaticData.h"
+#include "util/check.hh"
namespace Moses