diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-10-26 20:58:16 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-10-26 20:58:16 +0300 |
commit | 8e1f21d38e22301c4cd2123f9780967a62dfdfee (patch) | |
tree | d2b8ce6a059cc093e0caf28b6bd96a749285408d /moses/Phrase.h | |
parent | 624c6c73426f5c79e8406e7cb6c253c9017b947a (diff) | |
parent | 6a37dfd2ce279e8493e151b505215eb9f21865f9 (diff) |
Merge branch 'master' of https://github.com/moses-smt/mosesdecoder
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 9edcc8444..f9fee0148 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 @@ -187,8 +187,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; |