diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-09 17:19:35 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-09 17:19:35 +0400 |
commit | 5f9d0a85f5ee88069d5ceb976f57a5fc97c903b7 (patch) | |
tree | 896b838c0abaa5e507dcd8b4b611b55d4ea22f77 /moses/TranslationOptionCollectionText.cpp | |
parent | 9a22019aaba93d10392376540bf8cd27c9d3676b (diff) |
rename vector<InputPath> to InputPathList. Pass regression tests
Diffstat (limited to 'moses/TranslationOptionCollectionText.cpp')
-rw-r--r-- | moses/TranslationOptionCollectionText.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/TranslationOptionCollectionText.cpp b/moses/TranslationOptionCollectionText.cpp index b3f695c03..03a860231 100644 --- a/moses/TranslationOptionCollectionText.cpp +++ b/moses/TranslationOptionCollectionText.cpp @@ -40,7 +40,7 @@ TranslationOptionCollectionText::TranslationOptionCollectionText(Sentence const for (size_t phaseSize = 1; phaseSize <= size; ++phaseSize) { for (size_t startPos = 0; startPos < size - phaseSize + 1; ++startPos) { size_t endPos = startPos + phaseSize -1; - std::vector<InputPath*> &vec = m_targetPhrasesfromPt[startPos]; + vector<InputPath*> &vec = m_targetPhrasesfromPt[startPos]; Phrase subphrase(input.GetSubString(WordsRange(startPos, endPos))); WordsRange range(startPos, endPos); |