Skip to content

rank and soundex handles empty or None case #151

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 9 commits into from
Nov 6, 2018
Merged

rank and soundex handles empty or None case #151

merged 9 commits into from
Nov 6, 2018

Conversation

bact
Copy link
Member

@bact bact commented Nov 6, 2018

  • handle empty or None cases in rank and soundex functions
  • add more test cases
  • remove if __name__ == "__main__"

bact added 4 commits November 5, 2018 20:22
…t of functions are exactly the same as nltk.wordnet, user can call nltk.wordnet by themselves.
- add more test cases
- revert wordnet.py removal
@bact bact requested a review from wannaphong November 6, 2018 07:58
@bact bact self-assigned this Nov 6, 2018
@coveralls
Copy link

coveralls commented Nov 6, 2018

Coverage Status

Coverage increased (+2.2%) to 69.726% when pulling 3ed552e on bact:dev into 4c68a09 on PyThaiNLP:dev.

@bact bact changed the title rank() handles empty list or None case rank and soundex handles empty or None case Nov 6, 2018
@bact bact merged commit 580ea00 into PyThaiNLP:dev Nov 6, 2018
@wannaphong wannaphong mentioned this pull request Nov 6, 2018
@wannaphong wannaphong added this to the 1.8 milestone Nov 10, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants