-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented BLEU score, wrote unit tests and documentation for it. (#…
…1006) * Implemented BLEU score, wrote unit tests and documentation for it. * modified bleu.py to use nltk.translate.bleu_score and rewrote unit tests * fix: implemented requested code review changes in bleu.py * fix: split BLEU into SentenceBLEU and CorpusBLEU * fix: gave nltk_bleu_score.SmoothingFunction quotes so that it passes e2e tests --------- Co-authored-by: Aliaksandr Kuzmik <[email protected]>
- Loading branch information
1 parent
5268758
commit e835dfd
Showing
6 changed files
with
508 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.