VerbOcean extractor

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
(Using VerbOcean extractor)
(Using VerbOcean extractor)
Line 14: Line 14:
 
== Using VerbOcean extractor ==
 
== Using VerbOcean extractor ==
  
At the moment VerbOcean extractor is not available at '''File > Extract''' menu but you must use '''Tools > Tool Manager''' to place the extractor into the menu before usage.
+
At the moment VerbOcean extractor is not available at '''File > Extract''' menu but you must use '''Tools > Tool Manager v2''' to place the extractor into the menu before usage.
  
# Select '''Tools > Tool Manager'''
+
# Select '''Tools > Tool Manager v2'''
 
# Select '''Extract''' in Tool type
 
# Select '''Extract''' in Tool type
# Click button '''New'''
+
# Click button '''Add tool'''
# Locate '''VerbOcean Extractor (org.wandora.application.tools.extractors.VerbOceanExtractor)
+
# Locate '''VerbOcean Extractor'''
# Click button '''OK'''. Tool creation dialog closes.
+
# Click button '''Select'''.
# Click button '''OK'''. Tool manager dialog closes.
+
# Click button '''Close'''. Tool manager dialog closes.
  
 
Now the VerbOcean extractor tool is available at '''File > Extract''' menu. You can also use the extractor as a drag'n'drop extractor.
 
Now the VerbOcean extractor tool is available at '''File > Extract''' menu. You can also use the extractor as a drag'n'drop extractor.

Revision as of 09:51, 13 May 2009

VerbOcean is a semantic network of verbs created by Timothy Chklovski and Patrick Pantel at the University of Southern California. VerbOcean extractor reads simple text files of VerbOcean file format and converts the file content to a Topic Map. Wandora does not include VerbOcean files and you must download such file from VerbOcean's home page or generate a VerbOcean file of your own.

VerbOcean file format

VerbOcean file format is a text file format where each line contains a quartet with two verbs and a relation, and a strenght value. Below is a small fragment of VerbOcean file:

 pursue [happens-before] abandon :: 11.262514
 abandon [opposite-of] pursue :: 10.178111
 abandon [happens-before] renew :: 10.151251
 abandon [opposite-of] renew :: 9.658213

The file may also contain comments. Comment lines start with # character.

Using VerbOcean extractor

At the moment VerbOcean extractor is not available at File > Extract menu but you must use Tools > Tool Manager v2 to place the extractor into the menu before usage.

  1. Select Tools > Tool Manager v2
  2. Select Extract in Tool type
  3. Click button Add tool
  4. Locate VerbOcean Extractor
  5. Click button Select.
  6. Click button Close. Tool manager dialog closes.

Now the VerbOcean extractor tool is available at File > Extract menu. You can also use the extractor as a drag'n'drop extractor.

Personal tools