pyrouge: 'pyrouge_set_rouge_path' 不被识别为内部或外部命令 [英] pyrouge: 'pyrouge_set_rouge_path' is not recognized as an internal or external command
问题描述
我有 Windows 7 并使用 Python 2.7.我最近安装了 ROUGE(Recall-Oriented Understudy for Gisting Evaluation)来评估我的摘要.
I have Windows 7 and use Python 2.7. I recently installed ROUGE (Recall-Oriented Understudy for Gisting Evaluation) in order to evaluate summaries that I have.
不幸的是,我的摘要是 .txt 格式,不适用于 ROUGE.因此,我从 pypi 安装了pyrouge.
Unfortunately, my summaries are in .txt format, and wouldn't work with ROUGE. I therefore, installed pyrouge from pypi.
在上面的同一个网站中,他们有安装步骤.我遵循了第一步,即使用 pip install.下一步说:
In the same website above, they have installation steps. I followed the first step, which was to use pip install. The next step says:
"假设使用 ROUGE-1.5.5.安装,用这个命令告诉pyrouge ROUGE路径:
"Assuming a working ROUGE-1.5.5. installation, tell pyrouge the ROUGE path with this command:
pyrouge_set_rouge_path/absolute/path/to/ROUGE-1.5.5/directory"
pyrouge_set_rouge_path /absolute/path/to/ROUGE-1.5.5/directory"
我在命令提示符中尝试该行:
I try that line in the command prompt:
pyrouge_set_rouge_path C: ouge
pyrouge_set_rouge_path C: ouge
但我不断收到此错误:
'pyrouge_set_rouge_path' 不是内部或外部命令,也不是可运行的程序或批处理文件.
'pyrouge_set_rouge_path' is not recognized as an internal or external command, operable program or batch file.
非常感谢您对此事的任何帮助.谢谢
Any help in this matter is greatly appreciated. Thanks
推荐答案
试试这个:
set pyrouge_set_rouge_path=C:
ouge
这篇关于pyrouge: 'pyrouge_set_rouge_path' 不被识别为内部或外部命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!