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

Tiếng việt không dấu ? #18

Closed
chuongmep opened this issue Jun 16, 2021 · 2 comments
Closed

Tiếng việt không dấu ? #18

chuongmep opened this issue Jun 16, 2021 · 2 comments

Comments

@chuongmep
Copy link

chuongmep commented Jun 16, 2021

Dear Author ,
Wheather solution suppport vienamese no phonology
I have a isuse in this #32
Chào tác giả ,
Liệu có giải pháp nào cho tiếng việt không giấu không ?
Tôi có một vấn đề cần kéo ở đây #32

@1ec5
Copy link
Owner

1ec5 commented Mar 11, 2022

This project is a spell checker, but a spell checker for Vietnamese without diacritics would be extremely lax. Can you describe your use case? Depending on how you intend to use this functionality, it would be more efficient to use a standard regular expression tool to match against the following regular expression:

([BCDGHKLMNPQRSTVX]|[CKNP]H|G[HI]|NGH?|QU|T[HR])(A[IOUY]?|E[OU]?|I[AU]?|IEU?|O[AEO]?|OAY|U[AIOUY]|YA?)[MNPT]|[C]H?|N[GH]

For something stricter, this JavaScript code from AVIM is very good at distinguishing valid from invalid Vietnamese words based on the base letters.

If you just need a tool to strip diacritics from Vietnamese text that has diacritics, then you can run this Python script on the command line.

@chuongmep
Copy link
Author

thanks for your infomation, I use to add some check spell from resharper plugin, code working perfect.

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