Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locate pattern recognizes tokens when invoked with the <E> query #111

Open
eric-laporte opened this issue Jan 19, 2021 · 0 comments
Open

Comments

@eric-laporte
Copy link
Member

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?

  1. Open and preprocess a corpus
  2. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants