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

Language support clarification #41

Open
scarroll32 opened this issue Apr 8, 2022 · 1 comment
Open

Language support clarification #41

scarroll32 opened this issue Apr 8, 2022 · 1 comment

Comments

@scarroll32
Copy link

In the README, a number of languages are listed as being supported.

Is this for all functions?

Languages supported:

US English
Catalan
Czech
Danish
Spanish
Estonian
Finnish
French
Hungarian
Indonesian
Icelandic
Italian
Latin
Dutch (Nederlande)
Bokmål (Norwegian)
Polish
Portuguese
Russian
Swedish
@kupolak
Copy link
Owner

kupolak commented Apr 11, 2022

@scarroll32 Hey, good point. Methods like difficult_words or forcast have an optional argument with language change. The default is 'en_us'. I should add language support also for other methods because at the moment most of them support only English.
In general, textstat uses the text-hyphen library for syllabifying words and easy words dictionaries (lib/dictionaries/ folder) so there should be no problem with supporting these languages. At this point, there are only tests for English.

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