diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-25 16:37:59 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-25 16:37:59 +0300 |
commit | 97b2aa5663e97079145fb494bf97e1b2997b4161 (patch) | |
tree | f8a68fa4ea40bb99c21cd26e7f02a27ddcc48187 /moses/Phrase.h | |
parent | 84b1c4b4c0c02362cdb35b55e08196d03b993baf (diff) |
WordsRange -> Range
Diffstat (limited to 'moses/Phrase.h')
-rw-r--r-- | moses/Phrase.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/Phrase.h b/moses/Phrase.h index e92d68ac4..e75c7afc0 100644 --- a/moses/Phrase.h +++ b/moses/Phrase.h @@ -39,7 +39,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA namespace Moses { class FactorMask; -class WordsRange; +class Range; /** Representation of a phrase, ie. a contiguous number of words. * Wrapper for vector of words @@ -174,8 +174,8 @@ public: void InitStartEndWord(); //! create new phrase class that is a substring of this phrase - Phrase GetSubString(const WordsRange &wordsRange) const; - Phrase GetSubString(const WordsRange &wordsRange, FactorType factorType) const; + Phrase GetSubString(const Range &range) const; + Phrase GetSubString(const Range &range, FactorType factorType) const; //! return a string rep of the phrase. Each factor is separated by the factor delimiter as specified in StaticData class std::string GetStringRep(const std::vector<FactorType> factorsToPrint) const; |