Number of tokens returned will be likely less than the limit when a stopList is used.
The tool uses int maxPos = documentStart+limit to determine when to stop searching, however this needs to be updated when one of the tokens in the stopList is encountered.
Number of tokens returned will be likely less than the limit when a stopList is used. The tool uses
int maxPos = documentStart+limit
to determine when to stop searching, however this needs to be updated when one of the tokens in the stopList is encountered.