diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2013-06-17 22:45:47 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2013-06-17 22:45:47 +0400 |
commit | 4ccb1c9dece4488a0bcb8cda331465a53f9ae296 (patch) | |
tree | a0b5658db1b01c24d92475420cdda3c0a5b55665 /moses/TranslationOptionCollectionText.h | |
parent | acb4baacaf685bcaaa5e91970be20389ea0077d5 (diff) |
create prefix array for sentence input
Diffstat (limited to 'moses/TranslationOptionCollectionText.h')
-rw-r--r-- | moses/TranslationOptionCollectionText.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/TranslationOptionCollectionText.h b/moses/TranslationOptionCollectionText.h index 853f47429..8185b0fab 100644 --- a/moses/TranslationOptionCollectionText.h +++ b/moses/TranslationOptionCollectionText.h @@ -42,10 +42,10 @@ public: void ProcessUnknownWord(size_t sourcePos); bool HasXmlOptionsOverlappingRange(size_t startPosition, size_t endPosition) const; void CreateXmlOptionsForRange(size_t startPosition, size_t endPosition); - const Phrase &GetPhrase(size_t startPos, size_t endPos) const; + const InputLatticeNode &GetPhrase(size_t startPos, size_t endPos) const; protected: - std::vector<std::vector<Phrase> > m_collection; + std::vector<std::vector<InputLatticeNode> > m_collection; }; |