Windows下的ROUGE文本測評工具基本安裝

來源:互聯網
上載者:User

標籤:圖片   exe   工具   tps   lin   alt   lan   can   info   

  • 需要的安裝包:
  1. rouge1.5.5:https://pan.baidu.com/s/1B7-LYn1lZKC8f51yXxNK9w
  2. Strawberry Perl :http://strawberryperl.com/
  • 步驟
  1. 安裝 Strawberry Perl。
  2. 在安裝好 Strawberry Perl 中的運行組件CPAN Client,輸入install XML::DOM
  3. 將下載的 rouge1.5.5 解壓後,將“path\to\RELEASE-1.5.5”和“path\to\RELEASE-1.5.5\data”添加到環境變數中。
  4. 在rouge的路徑下運行rouge1.5.5.pl,結果如下
  5. 修改runRouge-test.pl,將$ROUGE 變數由../ROUGE-1.5.5.pl修改為ROUGE-1.5.5.pl。運行runRouge-test.pl,結果如下:

出現以上結果,安裝成功。可在sample-output中查看結果

 

遇到的坑!!

1.運行runRouge-test.pl時報錯“can t spawn cmd.exe......”,解決方案,查看環境變數,我當時的環境變數缺少%SystemRoot%\System32,加進去即可

2.運行runRouge-test.pl時報錯“......不是內部或外部命令,也不是可運行程式”,解決辦法:①修改runRouge-test.pl,將$ROUGE 變數由../ROUGE-1.5.5.pl修改為ROUGE-1.5.5.pl②將“path\to\RELEASE-1.5.5”和“path\to\RELEASE-1.5.5\data”添加到環境變數中。

Windows下的ROUGE文本測評工具基本安裝

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.