diff --git a/wcclparser/main.cpp b/wcclparser/main.cpp index 2f3412a85a7c46de89e11bcb3b6ff51954a5cf8d..cd00f57417d75e599740c1ae907d9655ac2c86c0 100644 --- a/wcclparser/main.cpp +++ b/wcclparser/main.cpp @@ -210,6 +210,7 @@ int main(int argc, char** argv) boost::shared_ptr<Corpus2::Sentence> sentence; if (sentence_load.empty()) { sentence.reset(new Corpus2::Sentence); + sentence->append(new Corpus2::Token("", PwrNlp::Whitespace::ManySpaces)); } else { std::ifstream ifs(sentence_load.c_str()); if (ifs.good()) {