Changes between Version 7 and Version 8 of private/NlpInPracticeCourse/RelationExtraction
- Timestamp:
- Nov 13, 2017, 10:46:21 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
private/NlpInPracticeCourse/RelationExtraction
v7 v8 22 22 * Download [[htdocs:bigdata/ia161-hyper.zip|prepared scripts and data]] 23 23 * Unzip, `cd ia161-hyper` and run {{{./hyper.py}}} 24 * If you have trouble with encoding, use {{{PYTHONIOENCODING=UTF-8 ./hyper.py}}} 24 25 * The script reads file {{{vstup.txt}}} (each line is word|definition) and outputs hypernym for each word. 25 26 * Default approach is naive: ''first noun in definition is hypernym''