Describe the bug
When "Locate Pattern" is invoked on a main graph that recognizes the empty word, the path that recognizes the empty word does find tokens.
What steps will reproduce the problem?
- Open and preprocess a corpus
- Invoke "Locate Pattern" with the query as Regular expression
What is the expected output?
Either the system should reject the query because it recognizes the empty word, or the system should not return any tokens, because doesn't match any token
What do you see instead?
The system issues 2 warnings in red characters to warn that the main graph recognizes the empty word, but it reports a number of matches equal to the number of tokens in the corpus.
More info
- Unitex/GramLab IDE version: 3.2.130
- UnitexToolLogger version: 3.2.131
Describe the bug
When "Locate Pattern" is invoked on a main graph that recognizes the empty word, the path that recognizes the empty word does find tokens.
What steps will reproduce the problem?
What is the expected output?
Either the system should reject the query because it recognizes the empty word, or the system should not return any tokens, because doesn't match any token
What do you see instead?
The system issues 2 warnings in red characters to warn that the main graph recognizes the empty word, but it reports a number of matches equal to the number of tokens in the corpus.
More info