Skip to content

Tokenizer: English: non-breaking exclamations #1251

@kwhumphreys

Description

@kwhumphreys
>>> import en_core_web_sm
>>> nlp = en_core_web_sm.load()
>>> doc = nlp('Difference!.')
>>> for tok in doc: print(tok)
... 
Difference!.
>>> doc = nlp('Candidate!Welcome!')
>>> for tok in doc: print(tok)
... 
Candidate!Welcome
!

Your Environment

  • Operating System:
  • Python Version Used: 3.5.2
  • spaCy Version Used: 1.9.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