Skip to content

Span crossing two sentences? #1333

@rizpras

Description

@rizpras

Hello

I got an error saying that the model predicted span that crosses two sentences and to send the example to github. Here is my code (pretty simple):

`import stanza

pipe = stanza.Pipeline("en", processors="tokenize, coref")
out = pipe("""If an electrical machine or equipment generates mechanical vibrations when in service, e.g. because it is out of balance, the vibration amplitude measured on the machine or the equipment on board shall not lie outside area A. For this evaluation, reference is made only to the self-generated vibration components. Area A may only be utilized if the loading of all components, with due allowance for local excess vibration, does not impair reliable long-term operation""")

print(out)`

My guess is on the term "Area A". Is the model currently unable to process coreference that cross two sentence? What can I do about the sentence?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions