1.0.5 • Published 6 years ago

@extra-wordnet.english/nouns v1.0.5

Weekly downloads
40
License
MIT
Repository
github
Last release
6 years ago

Noun data of English WordNet as Map.

Formats: default, min, nogloss, nogloss.min. This is part of package extra-wordnet.english.

const NOUNS = require('@extra-wordnet.english/nouns');
// Map {synset_offset => {lex_filenum, ss_type, w_cnt, words, p_cnt, pointers, gloss}}
// {words: {word, lex_id}}
// {pointers: {pointer_symbol, synset_offset, pos, source, target}}

NOUNS.get(1740);
// { lex_filenum: 3,
// ss_type: 'n',
// w_cnt: 1,
// words: [ { word: 'entity', lex_id: 0 } ],
// p_cnt: 3,
// pointers:
//   [ { pointer_symbol: '~',
//       synset_offset: 1930,
//       pos: 'n',
//       source: 0,
//       target: 0 },
//     { pointer_symbol: '~',
//       synset_offset: 2137,
//       pos: 'n',
//       source: 0,
//       target: 0 },
//     { pointer_symbol: '~',
//       synset_offset: 4431553,
//       pos: 'n',
//       source: 0,
//       target: 0 } ],
// gloss: 'that which is perceived or known or inferred to have its own distinct existence (living or nonliving)' }

NOUNS.get(1930);
// { lex_filenum: 3,
// ss_type: 'n',
// w_cnt: 1,
// words: [ { word: 'physical_entity', lex_id: 0 } ],
// p_cnt: 7,
// pointers:
//   [ { pointer_symbol: '@',
//       synset_offset: 1740,
//       pos: 'n',
//       source: 0,
//       target: 0 },
//     { pointer_symbol: '~',
//       synset_offset: 2452,
//       pos: 'n',
//       source: 0,
//       target: 0 },
//     { pointer_symbol: '~',
//       synset_offset: 2684,
//       pos: 'n',
//       source: 0,
//       target: 0 },
//     { pointer_symbol: '~',
//       synset_offset: 7347,
//       pos: 'n',
//       source: 0,
//       target: 0 },
//     { pointer_symbol: '~',
//       synset_offset: 21007,
//       pos: 'n',
//       source: 0,
//       target: 0 },
//     { pointer_symbol: '~',
//       synset_offset: 29976,
//       pos: 'n',
//       source: 0,
//       target: 0 },
//     { pointer_symbol: '~',
//       synset_offset: 14604577,
//       pos: 'n',
//       source: 0,
//       target: 0 } ],
// gloss: 'an entity that has physical existence' }

NOUNS.get(15325294);
// { lex_filenum: 28,
// ss_type: 'n',
// w_cnt: 5,
// words:
//   [ { word: '9/11', lex_id: 0 },
//     { word: '9-11', lex_id: 0 },
//     { word: 'September_11', lex_id: 0 },
//     { word: 'Sept._11', lex_id: 0 },
//     { word: 'Sep_11', lex_id: 0 } ],
// p_cnt: 3,
// pointers:
//   [ { pointer_symbol: '#p',
//       synset_offset: 15237535,
//       pos: 'n',
//       source: 0,
//       target: 0 },
//     { pointer_symbol: '@i',
//       synset_offset: 1249244,
//       pos: 'n',
//       source: 0,
//       target: 0 },
//     { pointer_symbol: ';c',
//       synset_offset: 761047,
//       pos: 'n',
//       source: 0,
//       target: 0 } ],
// gloss: 'the day in 2001 when Arab suicide bombers hijacked United States airliners and used them as bombs' }

references

  • Princeton University "About WordNet." WordNet. Princeton University. 2010.
1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.52

6 years ago

0.0.53

6 years ago

0.0.54

6 years ago

0.0.55

6 years ago

0.0.51

6 years ago

0.0.50

6 years ago

0.0.47

6 years ago

0.0.48

6 years ago

0.0.49

6 years ago

0.0.46

6 years ago

0.0.44

6 years ago

0.0.45

6 years ago

0.0.43

6 years ago

0.0.40

6 years ago

0.0.41

6 years ago

0.0.42

6 years ago

0.0.39

6 years ago

0.0.38

6 years ago

0.0.37

6 years ago

0.0.35

6 years ago

0.0.36

6 years ago

0.0.34

6 years ago

0.0.33

6 years ago

0.0.30

6 years ago

0.0.31

6 years ago

0.0.24

6 years ago

0.0.28

6 years ago

0.0.23

6 years ago

0.0.20

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.5

6 years ago