use of org.ansj.domain.Result in project ansj_seg by NLPchina.
the class AnsjTokenizer method parse.
private void parse() throws IOException {
Result parse = ta.parse();
if (synonyms != null) {
for (SynonymsRecgnition sr : synonyms) {
parse.recognition(sr);
}
}
result = new LinkedList<Object>(parse.getTerms());
}
Aggregations