Difference between revisions of "Kate"

From Robert-Depot
Jump to: navigation, search
(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 with word in text:
+
*find statements containing term(s) in text:
python find_statements.py ~/script/script.txt ~/script/script_decomposed/script_paint_paint.txt pain paint painting draw drawing hurt hurting wound injury
+
**<code>python find_statements.py ~/script/script.txt ~/script/script_decomposed/script_paint_paint.txt pain paint</code>
find statements related to word
+
*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 09: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