- Required installation Packages:
- rouge1.5.5:https://pan.baidu.com/s/1b7-lyn1lzkc8f51yxxnk9w
- Strawberry perl:http://strawberryperl.com/
- Install Strawberry Perl.
- In the installation of Strawberry Perl, run component Cpan Client, enter install XML::D om
- After extracting the downloaded rouge1.5.5, add "path\to\release-1.5.5" and "path\to\release-1.5.5\data" to the environment variable.
- Run rouge1.5.5.pl under the Rouge path , the results are as follows
- Modify runrouge-test.pl To change the $rouge variable by: /rouge-1.5.5.pl modified to rouge-1.5.5.pl. run runrouge-test.plwith the following results:
The above results have resulted in the installation success. Results can be viewed in sample-output
Encounter the Pit!!
1. Run runrouge-test.pl times wrong "can t spawn cmd.exe ...", workaround, view environment variables, I was the environment variable lack of%systemroot%\system32, add in Can
2. run The runrouge-test.pl times wrong "... is not an internal or external command, or a program that can be run ", Workaround: ① modify runrouge-test.pl, $rouge variable by: /rouge-1.5.5.pl modified to rouge-1.5.5.pl② add "path\to\release-1.5.5" and "path\to\release-1.5.5\data" to the environment variable.
Basic installation of Rouge Text Evaluation tool under Windows