Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2013-04-25 22:42:30 +0400
committerKenneth Heafield <github@kheafield.com>2013-04-25 22:42:30 +0400
commitf1d366381033c0caae18f8d15305ded38734bdbf (patch)
tree22b0cbd3acc337a995701629bf9facbe179f5618 /moses/Word.h
parent8a1e944bb428a0af9f6c82c26e5633361ce4052c (diff)
Back FactorCollection with a memory pool. Less memory for large vocabularies.
Diffstat (limited to 'moses/Word.h')
-rw-r--r--moses/Word.h2
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