Skip to content

Update scope by bidirectional modifier (Semantic bug) #15

@Martijn-Sturm

Description

@Martijn-Sturm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions