亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

使用客戶端 Java 重現 BioGrakn 文本挖掘示例時出現 OutOfMemoryError

使用客戶端 Java 重現 BioGrakn 文本挖掘示例時出現 OutOfMemoryError

慕萊塢森 2023-04-13 14:07:25
我正在嘗試從白皮書“文本挖掘知識圖”中復制 BioGrakn 示例,目的是稍后從我的(非生物醫學)文檔集合中構建文本挖掘知識圖。因此,我從biograkn 存儲庫中的文本挖掘用例的類和數據中構建了一個 Maven 項目。我的 pom.xml 看起來像這樣:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">  <modelVersion>4.0.0</modelVersion>  <groupId>TextMining-BioGrakn</groupId>  <artifactId>TextMining-BioGrakn</artifactId>  <version>0.0.1-SNAPSHOT</version>  <name>TextMining-BioGrakn</name>  <repositories>    <repository>        <id>repo.grakn.ai</id>        <url>https://repo.grakn.ai/repository/maven/</url>    </repository></repositories>    <dependencies>        <dependency>        <groupId>io.grakn.client</groupId>        <artifactId>api</artifactId>        <version>1.5.2</version>    </dependency>    <dependency>        <groupId>io.grakn.core</groupId>        <artifactId>concept</artifactId>        <version>1.5.3</version>    </dependency>    <dependency>        <groupId>io.graql</groupId>        <artifactId>lang</artifactId>        <version>1.0.1</version>    </dependency>        <dependency>            <groupId>edu.stanford.nlp</groupId>            <artifactId>stanford-corenlp</artifactId>            <version>3.9.2</version>        </dependency>        <dependency>            <groupId>edu.stanford.nlp</groupId>            <artifactId>stanford-corenlp</artifactId>            <version>3.9.2</version>            <classifier>models</classifier>        </dependency>    </dependencies></project>  遷移模式、插入已發布的文章和訓練模型非常有效,但后來我得到了一個java.lang.OutOfMemoryError: GC overhead limit exceeded,它被拋入mineText()CoreNLP 類的方法中。Migrator 類中的主要方法如下所示:public class Migrator {    public static void main(String[] args) {        GraknClient graknClient = new GraknClient("localhost:48555");        GraknClient.Session session = graknClient.session("text_mining");您知道什么可能導致此錯誤嗎?我在這里錯過了一些基本的東西嗎?非常感謝任何幫助。
查看完整描述

目前暫無任何回答

  • 0 回答
  • 0 關注
  • 109 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號