Skip to content

Commit

Permalink
Merge pull request NLPchina#446 from d4ksn/master
Browse files Browse the repository at this point in the history
修复 pos increment 问题
  • Loading branch information
xuming authored May 8, 2017
2 parents 8cd2d3d + 9d730f6 commit 5b826ef
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public final boolean incrementToken() throws IOException {
return false;
}

position = 0;
if (obj instanceof Term) {
clearAttributes();
Term term = (Term) obj;
Expand Down Expand Up @@ -127,4 +128,4 @@ private void parse() throws IOException {
result = new LinkedList<Object>(parse.getTerms());
}

}
}

0 comments on commit 5b826ef

Please sign in to comment.