VerbOcean extractor

From WandoraWiki
Revision as of 16:59, 30 April 2008 by Akivela (Talk | contribs)

Jump to: navigation, search

VerbOcean is a semantic network of verbs created by Timothy Chklovski and Patrick Pantel. VerbOcean extractor reads simple text files of VerbOcean file format and converts the file content to a Topic Map. Wandora does not include any VerbOcean file and you must download such file from http://demo.patrickpantel.com/Content/verbocean/ or generate your own VerbOcean file.

VerbOcean 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 to place the extractor into the menu before usage.

  1. Select Tools > Tool Manager
  2. Select Extract in Tool type
  3. Click button New
  4. Locate VerbOcean Extractor (org.wandora.application.tools.extractors.VerbOceanExtractor)
  5. Click button OK. Tool creation dialog closes.
  6. Click button OK. Tool manager dialog closes.

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