Skip to content

Bug: The different punctuation at the end of a sentense lead analysis results wrong. #7777

@qingyun1988

Description

@qingyun1988

How to reproduce the behaviour

There is a sentence "Whose bike is broken?". However, the analysis result is wrong.
If I added a Chinese question mark "?" to the end of the sentence, the analysis result would be correct!
By multiple tests, I found that If I added different punctuation to the end of the sentence the analysis results would be different.
These different punctuations are "?", "?", "." and none.
The details are in the attached files. Please have a look at it.
How can I resolve the bug? thank you!

2

Your Environment

  • Operating System: windows 10
  • Python Version Used: v3.7.8
  • spaCy Version Used: v3.0 and the model version is en_core_web_trf 3.0
  • Environment Information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions