我正在尝试按照此指令运行嵌入式门
它说:"系统属性gate.home应该设置为门安装目录." (http://gate.ac.uk/wiki/code-repository/)
我该怎么做呢?
此外,当我尝试运行EmbeddedAnnie的示例代码时,我收到以下错误:(我不知道它是否相关).
Initialising GATE...
GATE home system property ("gate.home") not set.
Attempting to guess...
Using "C:\Program Files (x86)\GATE-6.0" as GATE Home.
If this is not correct please set it manually using the -Dgate.home option in yo
ur start-up script
Using C:\Program Files (x86)\GATE-6.0 as GATE home
Using C:\Program Files (x86)\GATE-6.0\plugins as installed plug-ins directory.
Using C:\Program Files (x86)\GATE-6.0\gate.xml as site configuration file.
Using C:\Users\UNST\gate.xml as user configuration file
Using C:\Users\UNST\gate.session as user session file
Exception in thread …Run Code Online (Sandbox Code Playgroud) 我想将Config对象(https://github.com/typesafehub/config)作为序列化字符串(可能是JSON ??)保留,并在需要时将其读回.但是,我没有在支持的Config api文档上找到任何API.对此有任何帮助表示赞赏.
我试过了
config.toString
Run Code Online (Sandbox Code Playgroud)
但结果看起来像
配置(SimpleConfigObject({...}数据))