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 word approximation to pythainlp.soundex.sound #809

Merged
merged 3 commits into from
Jul 1, 2023

Conversation

wannaphong
Copy link
Member

@wannaphong wannaphong commented Jun 21, 2023

Add word approximation to PyThaiNLP #808

  • pythainlp.soundex.sound.word_approximation: Thai Word Approximation
from pythainlp.soundex.sound import word_approximation

word_approximation("รถ", ["รด", "รส", "รม", "น้ำ"])
# output : [0.0, 0.0, 3.875, 8.375]

@wannaphong wannaphong linked an issue Jun 21, 2023 that may be closed by this pull request
@wannaphong wannaphong added the enhancement enhance functionalities label Jun 21, 2023
@coveralls
Copy link

coveralls commented Jun 21, 2023

Coverage Status

coverage: 91.589% (+35.1%) from 56.461% when pulling 2313cb0 on add-word_approximation into 61c6b8e on dev.

@sonarcloud
Copy link

sonarcloud bot commented Jun 23, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@wannaphong wannaphong marked this pull request as ready for review June 23, 2023 08:11
@wannaphong wannaphong added this to the 4.1 milestone Jul 1, 2023
@wannaphong wannaphong merged commit ee3beda into dev Jul 1, 2023
15 of 19 checks passed
@wannaphong wannaphong deleted the add-word_approximation branch July 19, 2023 16:54
@wannaphong wannaphong mentioned this pull request Jul 23, 2023
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.

Add word approximation to PyThaiNLP
2 participants