-
Notifications
You must be signed in to change notification settings - Fork 287
Manually merge update-royin branch with dev branch to add O-ANG rule #568
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
Conversation
… consonant replacing
Fix misspellings in dictionary (words_th.txt)
Tokenize repeating dots and commas from numbers (fix PyThaiNLP#461)
Refactor Royin Transliterate: Avoid embedded if blocks and simplified consonant replacing operations
Fix misspellings in dictionary (words_th.txt)
|
Hello @veer66! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2021-06-03 08:57:07 UTC |
bact
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One test failed.
FAIL: test_romanize_royin_basic (tests.test_transliterate.TestTransliteratePackage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\projects\pythainlp-9y1ch\tests\test_transliterate.py", line 63, in test_romanize_royin_basic
self.assertEqual(romanize(word, engine="royin"), expect)
AssertionError: 'hyak' != 'yak'
- hyak
? -
+ yak
It is fixed by the latest commit. |
|
The test that failed is from unrelated ConceptNet part, which we will investigate separately from this PR. I think we are good to merge this for now. |
What does this changes
The O-ANG rule was convert into dev branch style.
What was wrong
update-royin and dev are conflicted.
How this fixes it
Write the rule in dev branch style
Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.