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

Lexical masks with one comma and no dot are interpreted without first field #74

Open
eric-laporte opened this issue Feb 1, 2019 · 1 comment

Comments

@eric-laporte
Copy link
Member

eric-laporte commented Feb 1, 2019

The user manual does not document lexical masks like <one,take>, with one comma, no dot and neither field empty. However, the Locate pattern program applies them, ignoring the first field and interpreting the second field as a lemma: for instance, <one,take> is intepreted as < take >. The program does not issue a warning.

What steps will reproduce the problem?

Invoke Locate pattern with <one,take> on the Ivanhoe corpus in English

What is the expected output?

An error message or at least a warning, since this form of lexical mask is not documented.

What do you see instead?

The program finds the same occurrences as with < take >.

More info

  • Unitex/GramLab IDE version: tested with 3.1 and 3.2 alpha
@eric-laporte
Copy link
Member Author

This bug was discovered by Ms. Djamila Hocine

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