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

Unicode Left/Right/Single Quotes treated as sentences sometimes #704

Closed
lexwraith opened this issue Dec 23, 2016 · 2 comments
Closed

Unicode Left/Right/Single Quotes treated as sentences sometimes #704

lexwraith opened this issue Dec 23, 2016 · 2 comments
Labels
lang / en English language data and models

Comments

@lexwraith
Copy link

lexwraith commented Dec 23, 2016

a = nlp(u'“Atticus said to Jem one day, “I’d rather you shot at tin cans in the backyard, but I know you’ll go after birds. Shoot all the blue jays you want, if you can hit ‘em, but remember it’s a sin to kill a mockingbird.”')

for sent in a.sents:
    print(sent)
“
Atticus said to Jem one day, “
I’d rather you shot at tin cans in the backyard, but I know you’ll go after birds.
Shoot all the blue jays you want, if you can hit ‘
em, but remember it’s a sin to kill a mockingbird.”

Your Environment

  • Operating System: - Ubuntu 16.04
  • Python Version Used: 2.7.12
  • spaCy Version Used: 1.4.0
  • Environment Information:
@honnibal
Copy link
Member

Not great! I'll look into this when I'm redoing the parser experiments, thanks.

@ines ines added the 🌙 nightly Discussion and contributions related to nightly builds label Dec 23, 2016
@ines ines added the lang / en English language data and models label Jan 8, 2017
@ines ines added this to the Debug parser transition system milestone Feb 18, 2017
@ines ines closed this as completed in f57c616 Mar 18, 2017
@ines ines removed the 🌙 nightly Discussion and contributions related to nightly builds label May 7, 2017
@lock
Copy link

lock bot commented May 8, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lang / en English language data and models
Projects
None yet
Development

No branches or pull requests

3 participants