Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to detect the language #82

Open
Gautamshahi opened this issue Jan 27, 2022 · 6 comments
Open

Unable to detect the language #82

Gautamshahi opened this issue Jan 27, 2022 · 6 comments

Comments

@Gautamshahi
Copy link

I am trying to identify the language of the text but the code is not working

Uploading image.png…

@goru001
Copy link
Owner

goru001 commented Jan 29, 2022

Hi @Gautamshahi , thanks for reaching out! Can you please paste the text of error which you might be getting? The image you tried to upload possibly didn't get uploaded and I'm unable to see it.

@ghost
Copy link

ghost commented Feb 1, 2022

Screen Shot 2022-01-31 at 8 15 41 PM

@ghost
Copy link

ghost commented Feb 1, 2022

I was able to get rid of the above error by executing this before setup('hi')
import nest_asyncio
nest_asyncio.apply()

But then it throws up a different error message:
image

these errors might be related. Not sure.

@goru001
Copy link
Owner

goru001 commented Feb 2, 2022

@adi-t-ya You might see these errors in an interactive environment like jupyter notebook, google colab etc - but if you'll wait for sometime (3-4mins) and then use inltk functionality you should be able to do that.

@ghost
Copy link

ghost commented Feb 3, 2022

@goru001: I tried that a few times but it did not work for me. Is there a way to make your model compatible with Google Collab and other similar interactive environment?

@goru001
Copy link
Owner

goru001 commented Feb 3, 2022

Hi @adi-t-ya - Can you checkout my comment here, I've shared a colab notebook which should make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants