To execute pyrouge
I should generate wordnet db
file (on windows) by running this command:
cd pyrouge-master\tools\ROUGE-1.5.5\data
perl WordNet-2.0-Exceptions/buildExeptionDB.pl ./WordNet-2.0-Exceptions ./smart_common_words.txt ./WordNet-2.0.exc.db
But I got this error:
Can't locate DB_File.pm in @INC (you may need to install the DB_File module) (@INC contains: C:/Perl64/site/lib C:/Perl64/lib .) at WordNet-2.0-Exceptions/build
ExeptionDB.pl line 2.
BEGIN failed--compilation aborted at WordNet-2.0-Exceptions/buildExeptionDB.pl l
ine 2.
So I tried to install DB_File using CPAN cpan -i DB_File
, but i got this error
version.c:30:16: fatal error: db.h: No such file or directory
compilation terminated.
dmake.exe: Error code 129, while making 'version.o'
PMQS/DB_File-1.841.tar.gz
C:\Perl64\site\bin\dmake.exe -- NOT OK