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

Update scope by bidirectional modifier (Semantic bug) #15

Open
Martijn-Sturm opened this issue Feb 3, 2020 · 0 comments
Open

Update scope by bidirectional modifier (Semantic bug) #15

Martijn-Sturm opened this issue Feb 3, 2020 · 0 comments

Comments

@Martijn-Sturm
Copy link

There is a bug in the following file: #https://github.com/chapmanbe/pyConTextNLP/blob/master/pyConTextNLP/tagObject.py
In the limitScope() function

In short: if self has rule 'bidirectional' and is downstream in the sentence compared to object, the scope of self won't be adjusted as it should be.

This should be done by the code from lines 98-101. However, this code is not executed since the if statement preceding (lines 94-97) is executed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant