Difference between revisions of "Kate"
From Robert-Depot
(Created page with " =nltk tools= find statements with word in text: python find_statements.py ~/script/script.txt ~/script/script_decomposed/script_paint_paint.txt pain paint painting draw drawing...") |
(→nltk tools) |
||
| Line 2: | Line 2: | ||
=nltk tools= | =nltk tools= | ||
| − | find statements | + | *find statements containing term(s) in text: |
| − | python find_statements.py ~/script/script.txt ~/script/script_decomposed/script_paint_paint.txt pain paint | + | **<code>python find_statements.py ~/script/script.txt ~/script/script_decomposed/script_paint_paint.txt pain paint</code> |
| − | find statements related to | + | *find statements containing word(s) related to term(s) in text: |
| + | **<code>python find_related_statements.py ~/script/script.txt ~/script/script_decomposed/script_related_pain_painting.txt pain painting</code> | ||
| + | **with path_similarity < threshold | ||
Revision as of 08:02, 4 April 2013
nltk tools
- find statements containing term(s) in text:
python find_statements.py ~/script/script.txt ~/script/script_decomposed/script_paint_paint.txt pain paint
- find statements containing word(s) related to term(s) in text:
python find_related_statements.py ~/script/script.txt ~/script/script_decomposed/script_related_pain_painting.txt pain painting- with path_similarity < threshold