AbstractKnowledgeGraph icon indicating copy to clipboard operation
AbstractKnowledgeGraph copied to clipboard

AbstractKnowledgeGraph, a systematic knowledge graph that concentrate on abstract thing including abstract entity and action. 抽象知识图谱,目前规模50万,支持名词性实体、状态性描述、事件性动作进行抽象...

Results 2 AbstractKnowledgeGraph issues
Sort by recently updated
recently updated
newest added

# coding = utf-8 import os import networkx as nx import numpy as np import matplotlib matplotlib.use('TkAgg') import matplotlib.pyplot as plt class ConceptNet: def __init__(self): cur = "/".join(os.path.abspath(__file__).split('/')[:-1]) self.hiearchy_file =...

你好,作者,我最近在学习知识图谱相关的知识,看见你的项目很是受用。 在你实例项目启动阶段,遇到一些问题: 直接启动,会报错gbk无法再对应内存位置读取 UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 14: illegal multibyte sequence 在search_concept.py line 20 line in open(self.hiearchy_file):这个io读取方法中 我按照百度,如果修改为 line in open(self.hiearchy_file,'r',encoding="UTF-8"): 会报 path_dict = i[1]...