summaryrefslogtreecommitdiff
path: root/utils/tdict.cc
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2014-02-09 20:50:41 -0500
committerChris Dyer <redpony@gmail.com>2014-02-09 20:50:41 -0500
commit9b83a2e82aba73b5ff0e848182a8726481a10485 (patch)
tree81e7ade548bdffaa8534705c2d34beb8c752dc24 /utils/tdict.cc
parent702591b3296af472cc5c7c4720f1c21b2a6e34b1 (diff)
adaptive hope-fear learner
Diffstat (limited to 'utils/tdict.cc')
-rw-r--r--utils/tdict.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/tdict.cc b/utils/tdict.cc
index fd2b76cb..c99f1697 100644
--- a/utils/tdict.cc
+++ b/utils/tdict.cc
@@ -70,7 +70,7 @@ struct add_wordids {
}
-void TD::ConvertSentence(std::string const& s, std::vector<WordID>* ids) {
+void TD::ConvertSentence(std::string const& s, std::vector<WordID>* ids, unsigned start) {
ids->clear();
- VisitTokens(s,add_wordids(ids));
+ VisitTokens(s,add_wordids(ids),start);
}