Skip to content

Creating multi language support using registry, analyzer and provider #1060

Answered by omri374
magedhelmy1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, looks good to me in terms of the setup, however it is probably better to load the AnalyzerEngine only once as this code would instantiate the spacy models on every call, which is likely going to be slow.

Thanks for sharing your code for language detection! this is very useful.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@magedhelmy1
Comment options

Answer selected by magedhelmy1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants