Struct wordnet::Sense
[−]
[src]
pub struct Sense<'db> { pub part_of_speech: PartOfSpeech, pub gloss: String, pub synonyms: Vec<SenseRef>, pub pointers: Vec<PointerRef<'db>>, }
Senses are different definitions or etymologies for a word.
The senses are also arranged by part of speech. For example, "bank" has many senses, one is a verb that means "to count on something", another is a noun that refers to the financial institution.
A list of these can be accessed by senses()
Fields
part_of_speech: PartOfSpeech
The part of speech that this sense has
gloss: String
A short dictionary-like text written in prose that describes the word
synonyms: Vec<SenseRef>
Ways to write this sense, one of which is
probably the word you passed to Database::senses()
pointers: Vec<PointerRef<'db>>
Words that are somehow related to this sense.