1.0.5 • Published 5 years ago

@extra-wordnet.english/adjectives.nogloss v1.0.5

Weekly downloads
32
License
MIT
Repository
github
Last release
5 years ago

Adjective data of English WordNet as Map (no gloss).

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

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

ADJECTIVES.get(1740);
// { lex_filenum: 0,
//   ss_type: 'a',
//   w_cnt: 1,
//   words: [ { word: 'able', lex_id: 0 } ],
//   p_cnt: 5,
//   pointers:
//    [ { pointer_symbol: '=',
//        synset_offset: 5207437,
//        pos: 'n',
//        source: 0,
//        target: 0 },
//      { pointer_symbol: '=',
//        synset_offset: 5624029,
//        pos: 'n',
//        source: 0,
//        target: 0 },
//      { pointer_symbol: '+',
//        synset_offset: 5624029,
//        pos: 'n',
//        source: 1,
//        target: 1 },
//      { pointer_symbol: '+',
//        synset_offset: 5207437,
//        pos: 'n',
//        source: 1,
//        target: 1 },
//      { pointer_symbol: '!',
//        synset_offset: 2098,
//        pos: 'a',
//        source: 1,
//        target: 1 } ] }

ADJECTIVES.get(2098);
// { lex_filenum: 0,
//   ss_type: 'a',
//   w_cnt: 1,
//   words: [ { word: 'unable', lex_id: 0 } ],
//   p_cnt: 2,
//   pointers:
//    [ { pointer_symbol: '=',
//        synset_offset: 5207437,
//        pos: 'n',
//        source: 0,
//        target: 0 },
//      { pointer_symbol: '!',
//        synset_offset: 1740,
//        pos: 'a',
//        source: 1,
//        target: 1 } ] }

ADJECTIVES.get(3167317);
// { lex_filenum: 44,
//   ss_type: 'a',
//   w_cnt: 1,
//   words: [ { word: 'unsaponified', lex_id: 0 } ],
//   p_cnt: 2,
//   pointers:
//    [ { pointer_symbol: '!',
//        synset_offset: 3167204,
//        pos: 'a',
//        source: 1,
//        target: 1 },
//      { pointer_symbol: '<',
//        synset_offset: 539651,
//        pos: 'v',
//        source: 1,
//        target: 1 } ] }

references

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

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.55

5 years ago

0.0.54

5 years ago

0.0.53

5 years ago

0.0.52

5 years ago

0.0.51

5 years ago

0.0.50

5 years ago

0.0.48

5 years ago

0.0.49

5 years ago

0.0.45

5 years ago

0.0.46

5 years ago

0.0.47

5 years ago

0.0.44

5 years ago

0.0.43

5 years ago

0.0.41

5 years ago

0.0.42

5 years ago

0.0.40

5 years ago

0.0.37

5 years ago

0.0.38

5 years ago

0.0.39

5 years ago

0.0.35

5 years ago

0.0.36

5 years ago

0.0.34

5 years ago

0.0.33

5 years ago

0.0.31

5 years ago

0.0.30

5 years ago