wordnik-api
Version:
Community API for https://wordnik.com with types
34 lines (32 loc) • 988 B
text/typescript
/**
* Defines parts of speech that the Wordnik API will return.
*/
export enum PartOfSpeech {
noun = "noun",
adjective = "adjective",
verb = "verb",
adverb = "adverb",
interjection = "interjection",
pronoun = "pronoun",
preposition = "preposition",
abbreviation = "abbreviation",
affix = "affix",
article = "article",
auxiliary_verb = "auxiliary-verb",
conjunction = "conjunction",
definite_article = "definite-article",
family_name = "family-name",
given_name = "given-name",
idiom = "idiom",
imperative = "imperative",
noun_plural = "noun-plural",
noun_posessive = "noun-posessive",
past_participle = "past-participle",
phrasal_prefix = "phrasal-prefix",
proper_noun = "proper-noun",
proper_noun_plural = "proper-noun-plural",
proper_noun_posessive = "proper-noun-posessive",
suffix = "suffix",
verb_intransitive = "verb-intransitive",
verb_transitive = "verb-transitive",
}