From 36decd84818ce213d2a5b675600b76366c95348e Mon Sep 17 00:00:00 2001 From: "James J. Womack" Date: Tue, 29 Oct 2024 14:30:09 -0700 Subject: [PATCH] Update README.md (refarences) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fd9ff4b..47b1cf0 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ print(result) # } ``` where `calc_codebleu` takes the following arguments: -- `refarences` (`list[str]` or `list[list[str]]`): reference code +- `references` (`list[str]` or `list[list[str]]`): reference code - `predictions` (`list[str]`) predicted code - `lang` (`str`): code language, see `codebleu.AVAILABLE_LANGS` for available languages (python, c_sharp c, cpp, javascript, java, php, go and ruby at the moment) - `weights` (`tuple[float,float,float,float]`): weights of the `ngram_match`, `weighted_ngram_match`, `syntax_match`, and `dataflow_match` respectively, defaults to `(0.25, 0.25, 0.25, 0.25)` @@ -148,4 +148,4 @@ Official [CodeBLEU paper](https://arxiv.org/abs/2009.10297) can be cited as foll archivePrefix={arXiv}, primaryClass={cs.SE} } -``` \ No newline at end of file +```