Repository navigation
|
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! |
Answered by
owo
Oct 26, 2023
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. |
1 reply
Answer selected by
mustafa0x
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which tokenizer specifically (
simple_word_tokenizeorMorphologicalTokenizer)?Unfortunately,
simple_word_tokenizeshould be simple to implement in JS whileMorphologicalTokenizermight 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.