pub enum RelatedType {
Show 15 variants
NounModifiedBy,
AdjectiveModifier,
Synonym,
Trigger,
Antonym,
KindOf,
MoreGeneral,
Comprises,
PartOf,
Follower,
Predecessor,
Rhyme,
ApproximateRhyme,
Homophones,
ConsonantMatch,
}
Expand description
This enum represents the different possibilites the “Related” parameter can take. These parameters can be combined in any possible configuration, although very specific queries can limit results. Each option is shortly explained below. For more detailed information for each type visit the Datamuse website
Variants§
NounModifiedBy
This parameter returns nouns that are typically modified by the given adjective
AdjectiveModifier
This parameter returns adjectives that typically modify by the given noun
Synonym
This parameter returns synonyms for the given word
Trigger
This parameter returns associated words for the given word
Antonym
This parameter returns antonyms for the given word
KindOf
This parameter returns the kind of which a more specific word is
MoreGeneral
This parameter returns a more specific kind of the given category word (opposite of KindOf)
Comprises
This parameter returns words that describe things which the given word is comprised of
PartOf
This parameter returns words that describe things which the given word is a part of (opposite of Comprises)
Follower
This parameter returns words that are typically found after the given word
Predecessor
This parameter returns words that are typically found before the given word
Rhyme
This parameter returns words that rhyme with the given word
ApproximateRhyme
This parameter returns words that almost rhyme with the given word
Homophones
This parameter returns words that sound like the given word
ConsonantMatch
This parameter returns words which have matching consonants but differing vowels from the given word
Trait Implementations§
Source§impl Clone for RelatedType
impl Clone for RelatedType
Source§fn clone(&self) -> RelatedType
fn clone(&self) -> RelatedType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more