diff options
author | Kenneth Heafield <kheafiel@cluster10.lti.ece.cmu.local> | 2011-03-09 13:40:23 -0500 |
---|---|---|
committer | Kenneth Heafield <kheafiel@cluster10.lti.ece.cmu.local> | 2011-03-09 13:40:23 -0500 |
commit | 75310799a6ee82b742ba69abab951a74fd0d19fc (patch) | |
tree | 7be29bf130d75b478ef1f2449ca67a7eddfe0781 /klm/lm/virtual_interface.cc | |
parent | b2a018f6a5fc34dc799aa41a05a16eb79aa95de1 (diff) |
kenlm sync
Diffstat (limited to 'klm/lm/virtual_interface.cc')
-rw-r--r-- | klm/lm/virtual_interface.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/klm/lm/virtual_interface.cc b/klm/lm/virtual_interface.cc index c5a64972..17a74c3c 100644 --- a/klm/lm/virtual_interface.cc +++ b/klm/lm/virtual_interface.cc @@ -11,8 +11,6 @@ void Vocabulary::SetSpecial(WordIndex begin_sentence, WordIndex end_sentence, Wo begin_sentence_ = begin_sentence; end_sentence_ = end_sentence; not_found_ = not_found; - if (begin_sentence_ == not_found_) throw SpecialWordMissingException("<s>"); - if (end_sentence_ == not_found_) throw SpecialWordMissingException("</s>"); } Model::~Model() {} |