编辑 python 配置文件以包含 Grobid 路径

Edit python configuration file to contain Grobid path

我已经按照所有段落从 github 安装了 Robot-reviewer。我在它询问的最后一段中

"Edit the robotreviewer/config.py file to contain the path to the directory where you have installed Grobid. (RobotReviewer will start it automatically in a subprocess). Note that this should be the path to the entire (parent) Grobid directory, not the bin subfolder."

不幸的是,我没有找到任何教程来执行此操作,而且我对 python 并不实用。我怎样才能做到这一点?

此回购的 github link 是 https://github.com/ijmarshall/robotreviewer3

这只是 README.md 中的错字。

config.py是加载配置的模块,实际配置在config.json文件中。

因此,config.json 实际上是您需要进行更改的地方。

(但是,其他 Python 项目有时确实会使用 Python 文件进行配置,因此您不能一概而论说永远不要碰它们。)