diff options
author | Matthias Huck <mhuck@inf.ed.ac.uk> | 2015-04-30 21:44:29 +0300 |
---|---|---|
committer | Matthias Huck <mhuck@inf.ed.ac.uk> | 2015-04-30 21:44:29 +0300 |
commit | 34d1d3a9043d0bfa1e32dc0e5fc8b919fadf2bf1 (patch) | |
tree | 3c3aadcd860e6af20280054ae062357843691396 /moses/Util.cpp | |
parent | e98a2fc980b995c4422615f22126816a93326d20 (diff) |
sentence-bleu-nbest
Diffstat (limited to 'moses/Util.cpp')
-rw-r--r-- | moses/Util.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/moses/Util.cpp b/moses/Util.cpp index a8175b58d..fd0538efd 100644 --- a/moses/Util.cpp +++ b/moses/Util.cpp @@ -90,13 +90,6 @@ bool FileExists(const std::string& filePath) return !ifs.fail(); } -const std::string Trim(const std::string& str, const std::string dropChars) -{ - std::string res = str; - res.erase(str.find_last_not_of(dropChars)+1); - return res.erase(0, res.find_first_not_of(dropChars)); -} - void ResetUserTime() { g_timer.start(); |