You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spaCy tokenizer seems not to tokenize correctly tokens separated by slash (/) when some of them end with a digit.
How to reproduce the behaviour
In [57]: import spacy
In [58]: nlp = spacy.load('fr')
In [59]: [t for t in nlp('Learn html5/css3/javascript/jquery')]
Out[59]: [Learn, html5/css3/javascript, /, jquery] # UNEXPECTED
In [60]: [t for t in nlp('Learn html/css/javascript/jquery')]
Out[60]: [Learn, html, /, css, /, javascript, /, jquery] # EXPECTED
spaCy tokenizer seems not to tokenize correctly tokens separated by slash (/) when some of them end with a digit.
How to reproduce the behaviour
Your Environment
Related issue #891
The text was updated successfully, but these errors were encountered: