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

Drop dependency on AnyAscii for Lao transliteration #11

Merged
merged 1 commit into from
Sep 23, 2023
Merged

Drop dependency on AnyAscii for Lao transliteration #11

merged 1 commit into from
Sep 23, 2023

Conversation

BLKSerene
Copy link
Contributor

@BLKSerene BLKSerene commented Sep 22, 2023

This PR gets rid of the dependency on AnyAscii for the default engine of Lao transliteration. It also fixes ModuleNotFoundError on import laonlp when AnyAscii is not installed (import laonlp automatically imports everything from laonlp.transliterate).

The engine name is unchanged as the mapping table for Lao transliteration is simply copied from AnyAscii.

Copy link
Owner

@wannaphong wannaphong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 💯

@wannaphong wannaphong merged commit 7c4ec8f into wannaphong:master Sep 23, 2023
4 checks passed
@BLKSerene
Copy link
Contributor Author

BLKSerene commented Sep 23, 2023

@wannaphong Please kindly release v1.1.2 to fix dependency issues for users.

wannaphong added a commit that referenced this pull request Sep 23, 2023
- Drop dependency on AnyAscii for Lao transliteration #11
-  Preserve terminal punctuation marks during sentence tokenization #12
-  Fix most flake8 warnings #13

Thank you @BLKSerene !
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.

2 participants