private void makeNewTerm() { Term term = new Term(sb.toString(), offe, tempNature.natureStr, 1); term.selfScore = score; term.setNature(tempNature); if (sb.length() > 3) { term.setSubTerm(TermUtil.getSubTerm(from, to)); } TermUtil.termLink(from, term); TermUtil.termLink(term, to); TermUtil.insertTerm(terms, term); TermUtil.parseNature(term); }
public void recognition() { List<Term> termList = recogntion_(); for (Term term2 : termList) { TermUtil.insertTerm(terms, term2); } }