-
I'm interesting in using the tokenizer in javascript. I plan to tokenize user queries in the browser. How feasible is this? What would the general approach be? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Which tokenizer specifically ( Unfortunately, At the moment, a JS implementation of CAMeL Tools is not something we plan on working on. My suggestion is to use something like Flask to create a web API that you can call in your web app. |
Beta Was this translation helpful? Give feedback.
Which tokenizer specifically (
simple_word_tokenize
orMorphologicalTokenizer
)?Unfortunately,
simple_word_tokenize
should be simple to implement in JS whileMorphologicalTokenizer
might be a lot more difficult depending on the type of disambiguator used.At the moment, a JS implementation of CAMeL Tools is not something we plan on working on.
My suggestion is to use something like Flask to create a web API that you can call in your web app.