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 Hebrew support #289

Merged
merged 4 commits into from Oct 28, 2019
Merged

Fix Hebrew support #289

merged 4 commits into from Oct 28, 2019

Conversation

arielallon
Copy link
Contributor

@arielallon arielallon commented Oct 28, 2019

Fixes Hebrew by correcting spelling, gender, conjunction logic, thousands, and adds tests

Changes proposed in this pull request:

  • Correct gender of 1 and 2 (and 11 and 12) to match remainder of numbers
  • Fix spelling of 8 (and 18 and 80)
  • Add cases for thousands 3-9 and support in the logic
  • Fix placement of "and" conjunction to match Academy of Hebrew Language position
  • Adds tests (addresses Increment the test coverage for num2words/lang_HE.py #108)

Status

  • READY
  • HOLD
  • WIP (Work-In-Progress)

How to verify this change

Aside from working knowledge of Hebrew, can run tests.

- Correct gender of 1 and 2 (and 11 and 12) to match remainder of numbers
- Fix spelling of 8 (and 18 and 80)
- Add cases for thousands 3-9 and support in the logic
- Fix placement of "and" conjunction to match Academy of Hebrew Language position
- Add tests
@coveralls
Copy link

coveralls commented Oct 28, 2019

Pull Request Test Coverage Report for Build 778

  • 48 of 49 (97.96%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.8%) to 93.802%

Changes Missing Coverage Covered Lines Changed/Added Lines %
num2words/lang_HE.py 6 7 85.71%
Totals Coverage Status
Change from base Build 765: 0.8%
Covered Lines: 15090
Relevant Lines: 15834

💛 - Coveralls

@coveralls
Copy link

Pull Request Test Coverage Report for Build 777

  • 48 of 49 (97.96%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.8%) to 93.802%

Changes Missing Coverage Covered Lines Changed/Added Lines %
num2words/lang_HE.py 6 7 85.71%
Totals Coverage Status
Change from base Build 765: 0.8%
Covered Lines: 10060
Relevant Lines: 10556

💛 - Coveralls

@erozqba erozqba merged commit c1e3e85 into savoirfairelinux:master Oct 28, 2019
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

Successfully merging this pull request may close these issues.

None yet

3 participants