Skip to content

Conversation

@veer66
Copy link

@veer66 veer66 commented May 21, 2021

What does this changes

_replace_consonants function

What was wrong

It looked complicated.

How this fixes it

Refactoring

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 May 21, 2021

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

Line 177:20: E203 whitespace before ':'

Comment last updated at 2021-05-21 11:12:05 UTC

@coveralls
Copy link

coveralls commented May 21, 2021

Coverage Status

Coverage increased (+0.2%) to 95.973% when pulling 2f3f85a on veer66:dev into 68c3e81 on PyThaiNLP:dev.

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.

Looks good. Thanks for the refactoring!

@bact bact added the refactoring a technical improvement which does not add any new features or change existing features. label May 22, 2021
@bact bact added this to the 2.4 milestone May 22, 2021
@bact bact merged commit e75e2d4 into PyThaiNLP:dev May 22, 2021
@bact bact mentioned this pull request May 22, 2021
2 tasks
@bact
Copy link
Member

bact commented May 22, 2021

@veer66 do you mind to take a look at #553 as well when you have time?

That PR proposes a rule for a syllable starts with "อ"

@veer66
Copy link
Author

veer66 commented May 22, 2021

@veer66 do you mind to take a look at #553 as well when you have time?

That PR proposes a rule for a syllable starts with "อ"

No, I don't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring a technical improvement which does not add any new features or change existing features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants