Changes between Version 7 and Version 8 of private/AdvancedNlpCourse/RelationExtraction


Ignore:
Timestamp:
Nov 13, 2017, 10:46:21 AM (4 years ago)
Author:
xrambous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • private/AdvancedNlpCourse/RelationExtraction

    v7 v8  
    2222 * Download [[htdocs:bigdata/ia161-hyper.zip|prepared scripts and data]]
    2323 * Unzip, `cd ia161-hyper` and run {{{./hyper.py}}}
     24 * If you have trouble with encoding, use {{{PYTHONIOENCODING=UTF-8 ./hyper.py}}}
    2425 * The script reads file {{{vstup.txt}}} (each line is word|definition) and outputs hypernym for each word.
    2526 * Default approach is naive: ''first noun in definition is hypernym''