-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BLEU variable references: fix for empty hypotheses (#134)
* Allow variable number of references for BLEU via API This allows BLEU to use a variable number of references (different number of references for each sentence). If a sentence has fewer than the maximum number of references, None is used to fill remaining reference streams. * add more tests * Updated credits Co-authored-by: Ozan Caglayan <ozancag@gmail.com> Co-authored-by: Matt Post <post@cs.jhu.edu>
- Loading branch information
1 parent
a5e1137
commit 7bd5d88
Showing
4 changed files
with
46 additions
and
15 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
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