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

Change in Polish encodings of udhr corpus reader #3038

Conversation

hamiltonianflow
Copy link

Modification in UdhrCorpusReader corpus reader class, which changes the encoding used for Polish language files Polish-Latin2 and Polish_Polski-Latin2 from ISO-8859-2 to cp1250, so that they are properly read.

Fixes #3037

@tomaarsen
Copy link
Member

Thank you for finding this! Your fix is simple and proper too. I've added a simple test in 0526ad5 to verify that this will continue to work in the future (and I bunged up the git history of this PR somewhat... Apologies)

@tomaarsen tomaarsen merged commit 13cea29 into nltk:develop Sep 1, 2022
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

Successfully merging this pull request may close these issues.

Incorrect encoding in UdhrCorpusReader corpus reader
3 participants