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

Cld: File as a parameter #11

Closed
vipulvkp opened this issue Oct 26, 2016 · 2 comments
Closed

Cld: File as a parameter #11

vipulvkp opened this issue Oct 26, 2016 · 2 comments

Comments

@vipulvkp
Copy link

Hello,
I have a text file. Some part of that is in English and some part is in French.
Can I provide a file object as a parameter and can the gem tell me what are the different languages it detected in that file.

@grosser
Copy link
Collaborator

grosser commented Oct 26, 2016

that's not something it supports ...
can you read the file, split it into paragraphs, then check each paragraph ?

@vipulvkp
Copy link
Author

Thank you. Yup.splitting the file and checking for each paragraph will hepl.

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