Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 554 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 554 Bytes

keyword_synonoyms

This library uses the keyword2svec API (code here) to fetch synonmys for a specified set of keywords

Usage

keywords.py takes the input file (in JSON format; see input.json for example), output file, and the desired number of synonyms for each keyword as command line arguments

python keywords.py input.json output.json 5

This will produce a json file named output.json containing 5 synonyms for each keyword