Skip to content
Snippets Groups Projects
Commit 6d1447fc authored by dominik's avatar dominik
Browse files

Merge branch 'master' of nlp.pwr.wroc.pl:corpus2

parents 562c442e 78507da5
Branches
No related merge requests found
......@@ -35,8 +35,7 @@ boost::shared_ptr<Corpus> DocumentCorpusReader::read(const std::string& corpus_f
continue;
}
else if (splitted_line.size() == 1) {
// maybe exception?
continue;
throw Corpus2Error("DocumentReader requires both paths to relations and annotations");
}
ann_path = splitted_line[0];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment