VerbOcean extractor
(→VerbOcean format) |
|||
Line 3: | Line 3: | ||
== VerbOcean format == | == VerbOcean format == | ||
− | VerbOcean file format is a text 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: | + | 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 | pursue [happens-before] abandon :: 11.262514 | ||
Line 9: | Line 9: | ||
abandon [happens-before] renew :: 10.151251 | abandon [happens-before] renew :: 10.151251 | ||
abandon [opposite-of] renew :: 9.658213 | abandon [opposite-of] renew :: 9.658213 | ||
+ | |||
+ | The file may also contain comments. Comment lines start with '''#''' character. | ||
== Using VerbOcean extractor == | == Using VerbOcean extractor == |
Revision as of 16:57, 30 April 2008
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.
- Select Tools > Tool Manage
- Select Extract in Tool type
- Click button New
- Locate VerbOcean Extractor (org.wandora.application.tools.extractors.VerbOceanExtractor)
- Click button OK. Tool creation dialog closes.
- 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.