Skip to content

notani/convert_babelnet_indices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Convert BabelNet indices into JSON format

Dependencies

Run

Download and extract BabelNet indices into ./BabelNet-CCBYSA-4.0.1. The 3rd party CC-BY-SA resources can be downloaded from the official website.

mkdir out
python extract_entries.py BabelNet-CCBYSA-4.0.1/dict_CC_BY_SA_30/ -o out/dict_CC_BY_SA_30.json -v
python extract_entries.py BabelNet-CCBYSA-4.0.1/dict_CC_BY_SA_40/ -o out/dict_CC_BY_SA_40.json -v
python extract_entries.py BabelNet-CCBYSA-4.0.1/dict_CC_BY_NC_SA_30/ -o out/dict_CC_BY_NC_SA_30.json -v

Note that the output files are huge (40G+).

About

Convert BabelNet indices into JSON format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages