gpt4 book ai didi

stanford-nlp - 初始堆错误太小 - stanford parser

转载 作者:行者123 更新时间:2023-12-04 05:13:35 25 4
gpt4 key购买 nike

我正在尝试使用斯坦福依赖解析器。我尝试从 Windows 上的命令行运行解析器以使用以下命令提取依赖项:

java -mx100m -cp "stanford-parser.jar" edu.stanford.nlp.trees.EnglishGrammaticalStructure -sentFile english-onesent.txt -collapsedTree -CCprocessed -parserFile englishPCFG.ser.gz

我收到以下错误:
Error occurred during initialization of VM  
Too small initial heap

我将内存大小更改为 -mx1024、-mx2048 以及 -mx4096。它没有改变任何东西,错误仍然存​​在。

我错过了什么?

最佳答案

关于stanford-nlp - 初始堆错误太小 - stanford parser,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32686243/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com