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 <fishandfrolick@gmail.com>2012-02-09 18:38:31 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-02-09 18:38:31 +0400
commit2d3c2c47c467c26a54172cda82e69f03172249ef (patch)
tree2ec1380b6487a17f24463efa3154e4bfb56ac592 /moses
parent23e3fb7b1e01faaf2ba59f5c4fdaeb54fb5cbed1 (diff)
compile error when using ORLM and SRI
Diffstat (limited to 'moses')
-rw-r--r--moses/src/DynSAInclude/onlineRLM.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/src/DynSAInclude/onlineRLM.h b/moses/src/DynSAInclude/onlineRLM.h
index adc7934fc..4bfd7b118 100644
--- a/moses/src/DynSAInclude/onlineRLM.h
+++ b/moses/src/DynSAInclude/onlineRLM.h
@@ -19,7 +19,7 @@ template<typename T>
class OnlineRLM: public PerfectHash<T> {
public:
OnlineRLM(uint16_t MBs, int width, int bucketRange, count_t order,
- Vocab* v, float qBase = 8): PerfectHash<T>(MBs, width, bucketRange, qBase),
+ Moses::Vocab* v, float qBase = 8): PerfectHash<T>(MBs, width, bucketRange, qBase),
vocab_(v), bAdapting_(false), order_(order), corpusSize_(0), alpha_(0) {
CHECK(vocab_ != 0);
//instantiate quantizer class here
@@ -71,7 +71,7 @@ public:
int cleanUpHPD();
void clearMarkings();
void removeNonMarked();
- Vocab* vocab_;
+ Moses::Vocab* vocab_;
protected:
void markQueried(const uint64_t& index);
void markQueried(hpdEntry_t& value);
@@ -390,7 +390,7 @@ template<typename T>
void OnlineRLM<T>::load(FileHandler* fin) {
cerr << "Loading ORLM...\n";
// load vocab first
- vocab_ = new Vocab(fin);
+ vocab_ = new Moses::Vocab(fin);
CHECK(vocab_ != 0);
fin->read((char*)&corpusSize_, sizeof(corpusSize_));
cerr << "\tCorpus size = " << corpusSize_ << endl;