Semicolon doesn't split tokens #9196
-
When I tokenize the following sentence:
but This is my code:
I have tried Info about spaCy
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is happening because the semicolon is not in the list of infixes because normally something like "hot;dog" is a typo, not valid text. You can get what you want by adding the semicolon to the list of infixes.
You can see an overview of this in the docs here. |
Beta Was this translation helpful? Give feedback.
This is happening because the semicolon is not in the list of infixes because normally something like "hot;dog" is a typo, not valid text. You can get what you want by adding the semicolon to the list of infixes.
You can see an overview of this in …