IR2Vec
|
Functions | |
getEntityDict (config) | |
getRelationDict (config) | |
create_write_str (a, b, c) | |
createTrain2ID (entityDict, relationDict, config) | |
Variables | |
parser = argparse.ArgumentParser() | |
dest | |
metavar | |
help | |
required | |
default | |
config = parser.parse_args() | |
preprocessed_dir | |
int | i = 0 |
tempDir | |
ed = getEntityDict(config) | |
rd = getRelationDict(config) | |
This script generates entity2id.txt, train2id.txt and relation2id.txt