Skip to content

Commit 653f717

Browse files
authored
Merge pull request #13 from Yogayu/master
Fix the ROUGE_path in the README
2 parents 70c5a65 + 7dd19d9 commit 653f717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The only things you need to evaluate ROUGE score is to specify the paths of ROUG
2424
```
2525
from pythonrouge.pythonrouge import Pythonrouge
2626
27-
ROUGE = sys.argv[1] #ROUGE-1.5.5.pl
27+
ROUGE_path = sys.argv[1] #ROUGE-1.5.5.pl
2828
data_path = sys.argv[2] #data folder in RELEASE-1.5.5
2929
3030
# initialize setting of ROUGE, eval ROUGE-1, 2, SU4, L
@@ -72,7 +72,7 @@ After putting system/reference files as above, you can evaluate ROUGE metrics as
7272
```
7373
from pythonrouge.pythonrouge import Pythonrouge
7474
75-
ROUGE = sys.argv[1] #ROUGE-1.5.5.pl
75+
ROUGE_path = sys.argv[1] #ROUGE-1.5.5.pl
7676
data_path = sys.argv[2] #data folder in RELEASE-1.5.5
7777
7878
# initialize setting of ROUGE, eval ROUGE-1~4, SU4

0 commit comments

Comments
 (0)