2016-03-18 08:44:05 +02:00
2016-03-18 08:44:05 +02:00
2016-03-17 18:27:57 +02:00

WordNet in JSON Format

Such fun!

This dataset is based on: Princeton University "About WordNet." WordNet. Princeton University. 2010. http://wordnet.princeton.edu

Please cite them if you use this dataset.

Download

Here.

File Structure

This is a serialized WordNet struct.

WordNet

The main object in the file.

  • Synset (map to Synset) from synset ID to synset object.
  • Lemma (map to string array) from pos.lemma to synset IDs that contain it.
  • Exception (map to string array) from exceptional word to its forms.
  • Example (map to string) from example ID sentence template.

Synset

A set of synonymous words.

  • Pos (string) part of speech - a, n, r, s, v.
  • Word (string array) words in this synset
  • Pointer (Pointer array) pointers to other synsets.
  • Frame (Frame array) sentence frames for verbs.
  • Gloss (string) lexical definition.
  • Example (Example array) usage examples for words in this synset. Verbs only.

Pointer

Denotes a semantic relation between one synset/word to another.

  • Symbol (string) relation between the 2 words. Target is <symbol> to source. See their meanings here.
  • Synset (string) target synset ID.
  • Source (int) index of word in source synset, -1 for entire synset.
  • Target (int) index of word in target synset, -1 for entire synset.

Frame

Links a synset word to a generic phrase that illustrates how to use it. Applies to verbs only.

  • WordNumber (int) index of word in the containing synset, -1 for entire synset.
  • FrameNumber (int) frame number on the WordNet site.

Example

Links a synset word to an example sentence. Applies to verbs only.

  • WordNumber (int) index of word in the containing synset, -1 for entire synset.
  • TemplateNumber (int) tumber of template in the WordNet.Example field.

Go API

If you are working with Go, I encourage you to skip this JSON file and work directly with the Go API.

S
Description
WordNet in JSON format.
Readme MIT
59 KiB
0 Stars 1 Watchers 0 Forks
Languages
Go 100%