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

Fix duplicate key in IPA to RTGS phoneme mapping #852

Merged
merged 1 commit into from
Oct 22, 2023
Merged

Fix duplicate key in IPA to RTGS phoneme mapping #852

merged 1 commit into from
Oct 22, 2023

Conversation

BLKSerene
Copy link
Contributor

What does this changes

Following #851, this PR removes the duplicate key in IPA to RTGS phoneme mapping, according to discussions in #846.

What was wrong

Duplicate keys in Python dictionaries are meaningless and only create confusions.

How this fixes it

The first key-value mapping of the duplicate key is commented out.

Fixes #846 along with #851.

Your checklist for this pull request

🚨Please review the guidelines for contributing to this repository.

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

@pep8speaks
Copy link

pep8speaks commented Oct 22, 2023

Hello @BLKSerene! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2023-10-22 13:08:50 UTC

@sonarcloud
Copy link

sonarcloud bot commented Oct 22, 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

Copy link
Member

@bact bact 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.

@bact bact self-assigned this Oct 22, 2023
@bact bact added bug bugs in the library hacktoberfest-accepted hacktoberfest accepted pull requests. labels Oct 22, 2023
@bact bact added this to the 4.1 milestone Oct 22, 2023
@bact bact merged commit 4f5b0cf into PyThaiNLP:dev Oct 22, 2023
7 of 13 checks passed
@bact bact added this to Done in PyThaiNLP Oct 22, 2023
@bact bact mentioned this pull request Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs in the library hacktoberfest-accepted hacktoberfest accepted pull requests.
Projects
PyThaiNLP
  
Done
Development

Successfully merging this pull request may close these issues.

bug: Duplicate key in dictionary
3 participants