JianLoong / word-cloud-generator

D3 Word Cloud Generator
https://jian.sh/word-cloud-generator
MIT License
4 stars 9 forks source link

Detect language of text input #11

Open JianLoong opened 1 year ago

JianLoong commented 1 year ago

It is possible to detect the language of the text area input using libraries like franc.

So, if a user inputs a different language other than English, there should be a notification that the process of stemming or lemmatization could not be performed as the only supported language right now is English.

AnshCharak commented 1 year ago

Hey, this is Ansh Charak, 4th year UG at IIT Bombay. I'd like to work on this, could you assign this to me.

JianLoong commented 1 year ago

Assigned this to you.

raheemalzeeshan commented 1 year ago

Please confirm the problem detect-language

and you want to use this library franc. to detect the language.

If the user is adding content in text input other than English we need to show a message that we are not accepting other languages at this moment. Correct?

JianLoong commented 1 year ago

You can approach this issue anyhow you want as long as it would be working and giving the desired output. So yes.

raheemalzeeshan commented 1 year ago

Okay understood