reckart / tt4j

TreeTagger for Java
http://reckart.github.io/tt4j/
Apache License 2.0
16 stars 7 forks source link

fix the problem when sgml option is not present #25

Closed simonmeoni closed 8 years ago

simonmeoni commented 8 years ago

When I said on the issue #24, when the option sgml is not present, the program falls into an infinite loop. In order to solve, I change two conditions into TreeTaggerWrapper.java, even if treetagger tags the two TAG that we send, conditions pass and the result is the same.

simonmeoni commented 8 years ago

I check the assert test with the previous version of the TreeTaggerWrapper.java and the same test not passed

reckart commented 8 years ago

Closing this request as a different solution will be implemented that does not change current behavior when "-sgml" is present.