1.0.5 • Published 4 years ago

@extra-wordnet.english/adverbs.nogloss.min v1.0.5

Weekly downloads
30
License
MIT
Repository
github
Last release
4 years ago

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

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

This is browserified, minified version of @extra-wordnet.english/adverbs.nogloss. It is exported as global variable wordnet_english_adverbs. CDN: unpkg, jsDelivr.

const ADVERBS = require('@extra-wordnet.english/adverbs.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}}

ADVERBS.get(1740);
// { lex_filenum: 2,
//   ss_type: 'r',
//   w_cnt: 2,
//   words:
//    [ { word: 'a_cappella', lex_id: 0 },
//      { word: 'a_capella', lex_id: 0 } ],
//   p_cnt: 2,
//   pointers:
//    [ { pointer_symbol: '\\',
//        synset_offset: 2260096,
//        pos: 'a',
//        source: 2,
//        target: 2 },
//      { pointer_symbol: '\\',
//        synset_offset: 2260096,
//        pos: 'a',
//        source: 1,
//        target: 1 } ] }

ADVERBS.get(1885);
// { lex_filenum: 2,
//   ss_type: 'r',
//   w_cnt: 3,
//   words:
//    [ { word: 'AD', lex_id: 0 },
//      { word: 'A.D.', lex_id: 0 },
//      { word: 'anno_Domini', lex_id: 0 } ],
//   p_cnt: 0,
//   pointers: [] }

ADVERBS.get(520033);
// { lex_filenum: 2,
//   ss_type: 'r',
//   w_cnt: 1,
//   words: [ { word: 'voluminously', lex_id: 0 } ],
//   p_cnt: 4,
//   pointers:
//    [ { pointer_symbol: '+',
//        synset_offset: 14877,
//        pos: 'a',
//        source: 1,
//        target: 2 },
//      { pointer_symbol: '+',
//        synset_offset: 1393834,
//        pos: 'a',
//        source: 1,
//        target: 1 },
//      { pointer_symbol: '\\',
//        synset_offset: 14877,
//        pos: 'a',
//        source: 1,
//        target: 2 },
//      { pointer_symbol: '\\',
//        synset_offset: 1393834,
//        pos: 'a',
//        source: 1,
//        target: 1 } ] }

references

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

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.55

4 years ago

0.0.54

4 years ago

0.0.52

4 years ago

0.0.53

4 years ago

0.0.51

4 years ago

0.0.47

4 years ago

0.0.50

4 years ago

0.0.48

4 years ago

0.0.49

4 years ago

0.0.45

4 years ago

0.0.46

4 years ago

0.0.43

4 years ago

0.0.44

4 years ago

0.0.42

4 years ago

0.0.41

4 years ago

0.0.40

4 years ago

0.0.39

4 years ago

0.0.38

4 years ago

0.0.35

4 years ago

0.0.36

4 years ago

0.0.37

4 years ago

0.0.34

4 years ago

0.0.33

4 years ago