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

Add pythainlp.util.spelling #1060

Merged
merged 3 commits into from
Jan 14, 2025
Merged

Add pythainlp.util.spelling #1060

merged 3 commits into from
Jan 14, 2025

Conversation

wannaphong
Copy link
Member

@wannaphong wannaphong commented Jan 10, 2025

Thai word to spelling (การสะกดคำ)

spelling("เรียน") -> ['รอ', 'เอีย', 'นอ', 'เรียน']

The spelling function is a text processing tool for spelling Thai word.

Your checklist for this pull request

  • Passed code styles and structures
  • Passed code linting checks and unit test

Thai word to spelling

spelling("เรียน") -> ['รอ', 'เอีย', 'นอ', 'เรียน']
@coveralls
Copy link

Coverage Status

coverage: 52.887% (+0.2%) from 52.675%
when pulling f49c480 on add-spelling
into 9a9d11f on dev.

@wannaphong
Copy link
Member Author

การสะกดคำตามหลักภาษาไทย ให้อ่านสะกดจาก "พยัญชนะต้น, สระ, ตัวสะกด และวรรณยุกต์" (แม้หลายคำจะเขียนนำด้วยสระ ก็ให้ขึ้นต้นการสะกดด้วยพยัญชนะต้นเสมอ)

Cr: https://www.facebook.com/manamaneepitichuejai/posts/983630311792758

Copy link

@wannaphong wannaphong added the enhancement enhance functionalities label Jan 13, 2025
@wannaphong wannaphong merged commit ef73fdc into dev Jan 14, 2025
24 of 25 checks passed
@wannaphong wannaphong deleted the add-spelling branch January 14, 2025 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement enhance functionalities
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants