├── LICENSE ├── README.md ├── code ├── evaluation_common.py ├── features.py ├── knowledge_resource.py ├── lstm_common.py ├── model_RL.py ├── train_RL.py ├── utils_common.py └── utils_tree.py ├── corpus ├── create_resource_from_corpus.sh ├── create_resource_from_corpus_1.py ├── create_resource_from_corpus_2.py ├── create_resource_from_corpus_3.py └── parse_wikipedia.py └── datasets ├── SemEval-2016 ├── candidates_taxi │ ├── all_freq_twodatasets.pkl │ ├── environment_eurovoc_en.taxo.candidate_w_freq.pkl │ ├── science_en.taxo.candidate_w_freq.pkl │ ├── science_eurovoc_en.taxo.candidate_w_freq.pkl │ └── science_wordnet_en.taxo.candidate_w_freq.pkl ├── original │ ├── environment_eurovoc_en.taxo │ ├── science_en.taxo │ ├── science_eurovoc_en.taxo │ └── science_wordnet_en.taxo └── relations.txt └── wn-bo ├── dev_wnbo_hyper.tsv ├── relations.txt ├── test_wnbo_hyper.tsv ├── train_wnbo_hyper.tsv ├── wn-bo-trees-4-11-50-dev114-lower.ptb ├── wn-bo-trees-4-11-50-test114-lower.ptb └── wn-bo-trees-4-11-50-train533-lower.ptb /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/README.md -------------------------------------------------------------------------------- /code/evaluation_common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/code/evaluation_common.py -------------------------------------------------------------------------------- /code/features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/code/features.py -------------------------------------------------------------------------------- /code/knowledge_resource.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/code/knowledge_resource.py -------------------------------------------------------------------------------- /code/lstm_common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/code/lstm_common.py -------------------------------------------------------------------------------- /code/model_RL.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/code/model_RL.py -------------------------------------------------------------------------------- /code/train_RL.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/code/train_RL.py -------------------------------------------------------------------------------- /code/utils_common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/code/utils_common.py -------------------------------------------------------------------------------- /code/utils_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/code/utils_tree.py -------------------------------------------------------------------------------- /corpus/create_resource_from_corpus.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/corpus/create_resource_from_corpus.sh -------------------------------------------------------------------------------- /corpus/create_resource_from_corpus_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/corpus/create_resource_from_corpus_1.py -------------------------------------------------------------------------------- /corpus/create_resource_from_corpus_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/corpus/create_resource_from_corpus_2.py -------------------------------------------------------------------------------- /corpus/create_resource_from_corpus_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/corpus/create_resource_from_corpus_3.py -------------------------------------------------------------------------------- /corpus/parse_wikipedia.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/corpus/parse_wikipedia.py -------------------------------------------------------------------------------- /datasets/SemEval-2016/candidates_taxi/all_freq_twodatasets.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/SemEval-2016/candidates_taxi/all_freq_twodatasets.pkl -------------------------------------------------------------------------------- /datasets/SemEval-2016/candidates_taxi/environment_eurovoc_en.taxo.candidate_w_freq.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/SemEval-2016/candidates_taxi/environment_eurovoc_en.taxo.candidate_w_freq.pkl -------------------------------------------------------------------------------- /datasets/SemEval-2016/candidates_taxi/science_en.taxo.candidate_w_freq.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/SemEval-2016/candidates_taxi/science_en.taxo.candidate_w_freq.pkl -------------------------------------------------------------------------------- /datasets/SemEval-2016/candidates_taxi/science_eurovoc_en.taxo.candidate_w_freq.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/SemEval-2016/candidates_taxi/science_eurovoc_en.taxo.candidate_w_freq.pkl -------------------------------------------------------------------------------- /datasets/SemEval-2016/candidates_taxi/science_wordnet_en.taxo.candidate_w_freq.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/SemEval-2016/candidates_taxi/science_wordnet_en.taxo.candidate_w_freq.pkl -------------------------------------------------------------------------------- /datasets/SemEval-2016/original/environment_eurovoc_en.taxo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/SemEval-2016/original/environment_eurovoc_en.taxo -------------------------------------------------------------------------------- /datasets/SemEval-2016/original/science_en.taxo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/SemEval-2016/original/science_en.taxo -------------------------------------------------------------------------------- /datasets/SemEval-2016/original/science_eurovoc_en.taxo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/SemEval-2016/original/science_eurovoc_en.taxo -------------------------------------------------------------------------------- /datasets/SemEval-2016/original/science_wordnet_en.taxo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/SemEval-2016/original/science_wordnet_en.taxo -------------------------------------------------------------------------------- /datasets/SemEval-2016/relations.txt: -------------------------------------------------------------------------------- 1 | hyper 2 | random 3 | -------------------------------------------------------------------------------- /datasets/wn-bo/dev_wnbo_hyper.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/wn-bo/dev_wnbo_hyper.tsv -------------------------------------------------------------------------------- /datasets/wn-bo/relations.txt: -------------------------------------------------------------------------------- 1 | hyper 2 | random 3 | -------------------------------------------------------------------------------- /datasets/wn-bo/test_wnbo_hyper.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/wn-bo/test_wnbo_hyper.tsv -------------------------------------------------------------------------------- /datasets/wn-bo/train_wnbo_hyper.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/wn-bo/train_wnbo_hyper.tsv -------------------------------------------------------------------------------- /datasets/wn-bo/wn-bo-trees-4-11-50-dev114-lower.ptb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/wn-bo/wn-bo-trees-4-11-50-dev114-lower.ptb -------------------------------------------------------------------------------- /datasets/wn-bo/wn-bo-trees-4-11-50-test114-lower.ptb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/wn-bo/wn-bo-trees-4-11-50-test114-lower.ptb -------------------------------------------------------------------------------- /datasets/wn-bo/wn-bo-trees-4-11-50-train533-lower.ptb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morningmoni/TaxoRL/HEAD/datasets/wn-bo/wn-bo-trees-4-11-50-train533-lower.ptb --------------------------------------------------------------------------------