diff options
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() {} |