![]() ![]() ![]() ![]() The return value of a WordNet command is usually a list containing other lists of related words. The noun_absurd_gloss() returns an absurd description for the word: print wordnet. noun_antonym ( "black" )įind out what two words have in common: print wordnet. The noun_antonym() returns the semantic opposite of the word: print wordnet. The noun_meronym() command returns the collection in which the given word can be found: print wordnet. > [ 'central processing unit', 'CPU', 'C.P.U.', 'central processor', The noun_holonym() command returns components of the given word: print wordnet. Notice how returned values become more and more abstract: print wordnet. You can also execute a deep query with noun_hypernyms() and noun_hyponyms(). The noun_hypernym() command returns abstractions of the given word: print wordnet. The noun_hyponym() command returns examples of the given word: print wordnet. The noun_lexname() command returns a categorization for the given word: print wordnet. > a figure that branches from a single root "genealogical tree" > bound together ) "I am reading a good book on economics"Ī word can have multiple senses, for example "tree" can mean a tree in a forest but also a tree diagram, or a person named Sir Herbert Beerbohm Tree. > a written work or composition that has been published (printed on pages The noun_gloss() command returns the dictionary description of a word: print wordnet. WordNet describes semantic relations between synonym sets. You can also put it in ~/Library/Application Support/NodeBox/ so all scripts can find it. Put the wordnet library folder in the same folder as your script so NodeBox can find the library. If you need more linguistical power we recommend trying out that library. This library is part of the NodeBox Linguistics library. Wordnet knows that black is the opposite of white, that birds are animals. WordNet is a dictionary of nouns, verbs, adverbs, adjectives, and their lexical relations: definition, different interpretations, category, and examples. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |