Open
Description
Hello,
I noticed a potential bug in src/cc/mallet/pipe/SelectiveSGML2TokenSequence.java
On lines 92 and 93 of the file, we have:
nextTag = m.group(0);
nextTag = sgml.substring(1, sgml.length()-1);
I don't have domain knowledge about this algorithm, but it looks suspicious. I believe that either one of the nexTag is incorrect (maybe it should be nextStart?) or if it's not a bug, line 92 is dead code and should be removed to avoid confusion.
Metadata
Assignees
Labels
No labels