0.1.4 • Published 6 years ago

wordnet-adjectivedatamap.nogloss.min v0.1.4

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

wordnet-adjectivedatamap.nogloss.min

NPM

Get adjective data of WordNet as map (without gloss, browserified, minified).

Use wordnet-adjectivedatamap.nogloss, if minification is not needed.

const adjectiveDataMap = require('wordnet-adjectivedatamap.nogloss.min');
// adjectiveDataMap [Map]
// {synset_offset => {lex_filenum(l), ss_type(s), w_cnt, words(w), p_cnt, pointers(p)}}
// {words(w): {word(w), lex_id(l)}}
// {pointers(p): {pointer_symbol(o), synset_offset(y), pos(p), source(s), target(t)}}

adjectiveDataMap.get(1740);
// { l: 0,
//   s: 'a',
//   w: [ { w: 'able', l: 0 } ],
//   p:
//    [ { o: '=', y: 5207437, p: 'n', s: 0, t: 0 },
//      { o: '=', y: 5624029, p: 'n', s: 0, t: 0 },
//      { o: '+', y: 5624029, p: 'n', s: 1, t: 1 },
//      { o: '+', y: 5207437, p: 'n', s: 1, t: 1 },
//      { o: '!', y: 2098, p: 'a', s: 1, t: 1 } ] }
adjectiveDataMap.get(2098);
// { l: 0,
//   s: 'a',
//   w: [ { w: 'unable', l: 0 } ],
//   p:
//    [ { o: '=', y: 5207437, p: 'n', s: 0, t: 0 },
//      { o: '!', y: 1740, p: 'a', s: 1, t: 1 } ] }
adjectiveDataMap.get(3167317);
// { l: 44,
//   s: 'a',
//   w: [ { w: 'unsaponified', l: 0 } ],
//   p:
//    [ { o: '!', y: 3167204, p: 'a', s: 1, t: 1 },
//      { o: '<', y: 539651, p: 'v', s: 1, t: 1 } ] }
0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.0

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago