Add copyright to notebook and remove custom preprocessing arguments from compute_rouge_python.
"cell_type": "markdown",
"metadata": {},
"source": [
+ "Copyright (c) Microsoft Corporation. \n",
+ "Licensed under the MIT License. \n",
+ "\n",
"# Summarization Evaluation\n",
"This notebook explains the metrics commonly used to evaluate text summarization results and how to use the evaluation utilities provided in the repo. "
]
"\n",
"**Utilities for computing ROUGE**\n",
"* `compute_rouge_perl`: The [pyrouge](https://github.com/bheinzerling/pyrouge) package based on the ROUGE package written in perl is the most popular package for computing ROUGE scores. We provide the `compute_rouge_perl` function based on pyrouge. This function supports English only. \n",
- "* `compute_rouge_python`: The [py-rouge](https://pypi.org/project/py-rouge/) package is a Python implementation of the ROUGE metric which produces almost the same results as the perl implemenation. Since it's easier to install than pyrouge and can be extended to other languages, we provide the `compute_rouge_python` function based on py-rouge. Currently, English and Hindi are supported. For other languages with space as word separators, provide language specific `sentence_split_func`, `word_tokenize_func`, `remove_char_pattern=None`, `stemming_func` (optional), `word_split_func` (if words are not space separated). "
+ "* `compute_rouge_python`: The [py-rouge](https://pypi.org/project/py-rouge/) package is a Python implementation of the ROUGE metric which produces almost the same results as the perl implemenation. Since it's easier to install than pyrouge and can be extended to other languages, we provide the `compute_rouge_python` function based on py-rouge. Currently, English and Hindi are supported. Supports for other languages will be added on an as-needed basis."
]
},
{
