How can I add a custom list of words to the tokenizer? #12007
Unanswered
bpersevere
asked this question in
Help: Coding & Implementations
Replies: 1 comment 5 replies
-
If you have a list of phrases that you'd like to be single tokens, what I'd recommend you do is use the EntityRuler to mark your phrases as entities, and then use |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm a novice at NLP and spaCy. I have some user-defined words, most of which are biological names, such as Polygonum cuspidatum, or similar terms composed of two or three words. There are about 2000 or 3000 user-defined words. How can I add these custom words in the form of a custom dictionary so that Tokenizer can recognize these multi-word words as a single token, rather than split them into multiple words.
I use spaCy v3.4.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions