diff options
author | Kenneth Heafield <github@kheafield.com> | 2013-04-25 22:42:30 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2013-04-25 22:42:30 +0400 |
commit | f1d366381033c0caae18f8d15305ded38734bdbf (patch) | |
tree | 22b0cbd3acc337a995701629bf9facbe179f5618 /moses/Word.h | |
parent | 8a1e944bb428a0af9f6c82c26e5633361ce4052c (diff) |
Back FactorCollection with a memory pool. Less memory for large vocabularies.
Diffstat (limited to 'moses/Word.h')
-rw-r--r-- | moses/Word.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Word.h b/moses/Word.h index 70875d75c..d650fb67e 100644 --- a/moses/Word.h +++ b/moses/Word.h @@ -102,7 +102,7 @@ public: * these debugging functions. */ std::string GetString(const std::vector<FactorType> factorType,bool endWithBlank) const; - std::string GetString(FactorType factorType) const; + StringPiece GetString(FactorType factorType) const; TO_STRING(); //! transitive comparison of Word objects |