wordnet.bunch

0.1.15 • Public • Published

wordnet.bunch

NPM

Defines set of ids in WordNet book.

const Bunch = require('wordnet.bunch');
// Bunch(<book>, [iterable])
// -> Bunch {<book>, [iterable]...}

// Get names.
// -> Set {<name>...}
name([target])

// Get lex types.
// -> Set {<lex type>...}
lexType([target])

// Get lex id.
// -> Set {<lex id>...}
lexId([target])

// Get lex numbers.
// -> Set {<lex number>...}
lexNumber([target])

// Get part of speech numbers.
// -> Set {<pos number>...}
posNumber([target])

// Get part of speech symbols.
// -> Set {<pos symbol>...}
posSymbol([target])

// Get part of speech names.
// -> Set {<pos name>...}
posName([target])

// Get lex file numbers.
// -> Set {<lex file number>...}
lexFileNumber([target])

// Get lex file names.
// -> Set {<lex file name>...}
lexFileName([target])

// Get lex file contents.
// -> Set {<lex file content>...}
lexFileContent([target])

// Check if all ids are lemma (word).
// -> true | false
isLemma([target])

// Check if all ids are synset (synonym set).
// -> true | false
isSynset([target])

// Get synsets.
// -> Bunch {<id>...}
synset([target])

// Get lemmas.
// -> Bunch {<id>...}
lemmas([target])

// Get pointers.
// -> Bunch {<id>...}
pointers([kbegin=0], [kend=32], [direct=false], [target])

// Get pointer tree.
// -> Bunch {<id>...}
pointerTree([kbegin=0], [kend=32], [direct=false], [target])

// Get frames.
// -> Set {<frame number>...}
frames([direct=false], [target])

// Get frames text.
// -> Set {<frame text>...}
framesText([direct=false], [target])

// Get glosses.
// -> Set {<gloss>...}
gloss([target])

// Get definitions.
// -> Set {<definition>...}
definition([target])

// Get examples.
// -> Set {<example>...}
examples([target])

// Get descriptions.
// -> Set {<description>...}
description([h.lexfn=false], [h.lexid=false], [h.defn=false], [h.ex=false], [target])

// Get synonyms.
// -> Bunch {<id>...}
synonyms([target])

// Get similar to pointers.
// -> Bunch {<id>...}
similarTo([target])

// Get verb group pointers.
// -> Bunch {<id>...}
verbGroup([target])

// Get also see pointers.
// -> Bunch {<id>...}
alsoSee([target])

// Get antonym pointers.
// -> Bunch {<id>...}
antonyms([target])

// Get pertainym pointers.
// -> Bunch {<id>...}
pertainyms([target])

// Get attribute pointers.
// -> Bunch {<id>...}
attributes([target])

// Get cause pointers.
// -> Bunch {<id>...}
causes([target])

// Get entailment pointers.
// -> Bunch {<id>...}
entailments([target])

// Get derivationally related form pointers.
// -> Bunch {<id>...}
derivationallyRelatedForms([target])

// Get participle of verb pointers.
// -> Bunch {<id>...}
participlesOfVerb([target])

// Get hypernym pointers.
// -> Bunch {<id>...}
hypernyms([target])

// Get hypernym tree pointers.
// -> Bunch {<id>...}
hypernymTree([target])

// Get class hypernym pointers.
// -> Bunch {<id>...}
classHypernyms([target])

// Get class hypernym tree pointers.
// -> Bunch {<id>...}
classHypernymTree([target])

// Get instance hypernym pointers.
// -> Bunch {<id>...}
instanceHypernyms([target])

// Get instance hypernym tree pointers.
// -> Bunch {<id>...}
instanceHypernymTree([target])

// Get hyponym pointers.
// -> Bunch {<id>...}
hyponyms([target])

// Get hyponym tree pointers.
// -> Bunch {<id>...}
hyponymTree([target])

// Get class hyponym pointers.
// -> Bunch {<id>...}
classHyponyms([target])

// Get class hyponym tree pointers.
// -> Bunch {<id>...}
classHyponymTree([target])

// Get instance hyponym pointers.
// -> Bunch {<id>...}
instanceHyponyms([target])

// Get instance hyponym tree pointers.
// -> Bunch {<id>...}
instanceHyponymTree([target])

// Get holonym pointers.
// -> Bunch {<id>...}
holonyms([target])

// Get member holonym pointers.
// -> Bunch {<id>...}
memberHolonyms([target])

// Get substance holonym pointers.
// -> Bunch {<id>...}
substanceHolonyms([target])

// Get part holonym pointers.
// -> Bunch {<id>...}
partHolonyms([target])

// Get meronym pointers.
// -> Bunch {<id>...}
meronyms([target])

// Get member meronym pointers.
// -> Bunch {<id>...}
memberMeronyms([target])

// Get substance meronym pointers.
// -> Bunch {<id>...}
substanceMeronyms([target])

// Get part meronym pointers.
// -> Bunch {<id>...}
partMeronyms([target])

// Get domain pointers.
// -> Bunch {<id>...}
domain([target])

// Get topic domain pointers.
// -> Bunch {<id>...}
topicDomain([target])

// Get region domain pointers.
// -> Bunch {<id>...}
regionDomain([target])

// Get usage domain pointers.
// -> Bunch {<id>...}
usageDomain([target])

// Get domain member pointers.
// -> Bunch {<id>...}
domainMembers([target])

// Get topic domain member pointers.
// -> Bunch {<id>...}
topicDomainMembers([target])

// Get region domain member pointers.
// -> Bunch {<id>...}
regionDomainMembers([target])

// Get usage domain member pointers.
// -> Bunch {<id>...}
usageDomainMembers([target])

Readme

Keywords

Package Sidebar

Install

npm i wordnet.bunch

Weekly Downloads

1

Version

0.1.15

License

MIT

Unpacked Size

13.6 kB

Total Files

3

Last publish

Collaborators

  • wolfram77