def __init__(self): self._key = ['subject', 'predicate', 'object'] self._NodeHeader = [ 'label', 'date', 'name', 'newsId', 'number', 'source' ] self._RelHeader = [ 'start', 'type', 'end', 'relation', 'date', 'newsId', 'number', 'source' ] self._path = ApplicationConfig.get_neo4j_svo_output_path()
def __init__(self, folder): self.path = ApplicationConfig.get_neo4j_svo_output_path() + folder self._save() self._merge()