Nighttime Possum Meandering

    @extra-wordnet.english/verbs

    1.0.5 • Public • Published

    Verb data of English WordNet as Map.

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

    const VERBS = require('@extra-wordnet.english/verbs');
    // Map {synset_offset => {lex_filenum, ss_type, w_cnt, words, p_cnt, pointers, f_cnt, frames, gloss}}
    // {words: {word, lex_id}}
    // {pointers: {pointer_symbol, synset_offset, pos, source, target}}
    // {frames: {f_num, w_num}}
     
    VERBS.get(1740);
    // { lex_filenum: 29,
    //   ss_type: 'v',
    //   w_cnt: 4,
    //   words:
    //    [ { word: 'breathe', lex_id: 0 },
    //      { word: 'take_a_breath', lex_id: 0 },
    //      { word: 'respire', lex_id: 0 },
    //      { word: 'suspire', lex_id: 3 } ],
    //   p_cnt: 21,
    //   pointers:
    //    [ { pointer_symbol: '*',
    //        synset_offset: 5041,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '*',
    //        synset_offset: 4227,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '+',
    //        synset_offset: 3121972,
    //        pos: 'a',
    //        source: 3,
    //        target: 1 },
    //      { pointer_symbol: '+',
    //        synset_offset: 832852,
    //        pos: 'n',
    //        source: 3,
    //        target: 3 },
    //      { pointer_symbol: '+',
    //        synset_offset: 4087945,
    //        pos: 'n',
    //        source: 3,
    //        target: 1 },
    //      { pointer_symbol: '+',
    //        synset_offset: 4257960,
    //        pos: 'n',
    //        source: 1,
    //        target: 5 },
    //      { pointer_symbol: '+',
    //        synset_offset: 832852,
    //        pos: 'n',
    //        source: 1,
    //        target: 1 },
    //      { pointer_symbol: '^',
    //        synset_offset: 4227,
    //        pos: 'v',
    //        source: 1,
    //        target: 3 },
    //      { pointer_symbol: '^',
    //        synset_offset: 5041,
    //        pos: 'v',
    //        source: 1,
    //        target: 3 },
    //      { pointer_symbol: '$',
    //        synset_offset: 2325,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '$',
    //        synset_offset: 2573,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '~',
    //        synset_offset: 2573,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '~',
    //        synset_offset: 2724,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '~',
    //        synset_offset: 2942,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '~',
    //        synset_offset: 3826,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '~',
    //        synset_offset: 4032,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '~',
    //        synset_offset: 4227,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '~',
    //        synset_offset: 5041,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '~',
    //        synset_offset: 6697,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '~',
    //        synset_offset: 7328,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '~',
    //        synset_offset: 17024,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 } ],
    //   f_cnt: 2,
    //   frames: [ { f_num: 2, w_num: 0 }, { f_num: 8, w_num: 0 } ],
    //   gloss: 'draw air into,  and expel out of,  the lungs; "I can breathe better when the air is clean"; "The patient is respiring"' }
     
    VERBS.get(2325);
    // { lex_filenum: 29,
    //   ss_type: 'v',
    //   w_cnt: 1,
    //   words: [ { word: 'respire', lex_id: 1 } ],
    //   p_cnt: 5,
    //   pointers:
    //    [ { pointer_symbol: '$',
    //        synset_offset: 1740,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '@',
    //        synset_offset: 2112831,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '+',
    //        synset_offset: 3121972,
    //        pos: 'a',
    //        source: 1,
    //        target: 1 },
    //      { pointer_symbol: '+',
    //        synset_offset: 832852,
    //        pos: 'n',
    //        source: 1,
    //        target: 3 },
    //      { pointer_symbol: '+',
    //        synset_offset: 832472,
    //        pos: 'n',
    //        source: 1,
    //        target: 1 } ],
    //   f_cnt: 1,
    //   frames: [ { f_num: 2, w_num: 0 } ],
    //   gloss: 'undergo the biomedical and metabolic processes of respiration by taking up oxygen and producing carbon monoxide' }
     
    VERBS.get(2778268);
    // { lex_filenum: 43,
    //   ss_type: 'v',
    //   w_cnt: 1,
    //   words: [ { word: 'deflagrate', lex_id: 0 } ],
    //   p_cnt: 2,
    //   pointers:
    //    [ { pointer_symbol: '@',
    //        synset_offset: 2768426,
    //        pos: 'v',
    //        source: 0,
    //        target: 0 },
    //      { pointer_symbol: '+',
    //        synset_offset: 13471590,
    //        pos: 'n',
    //        source: 1,
    //        target: 1 } ],
    //   f_cnt: 2,
    //   frames: [ { f_num: 8, w_num: 0 }, { f_num: 11, w_num: 0 } ],
    //   gloss: 'cause to burn rapidly and with great intensity; "care must be exercised when this substance is to be deflagrated"' }

    references

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

    Install

    npm i @extra-wordnet.english/verbs

    DownloadsWeekly Downloads

    31

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    8.69 MB

    Total Files

    3

    Last publish

    Collaborators

    • avatar