adjective_core module

inflex.adjective_core.is_plural(word: str) bool[source]

Detect whether word is in plural form.

Parameters

word (str) – Input word or collocation.

Returns

True if word is deemed plural.

Return type

str

inflex.adjective_core.is_singular(word: str) bool[source]

Detect whether word is in singular form.

Parameters

word (str) – Input word or collocation.

Returns

True if word is deemed singular.

Return type

str

inflex.adjective_core.convert_to_plural(word: str) str[source]

Convert word to plural form.

Parameters

word (str) – Input word or collocation.

Returns

The plural form of word.

Return type

str

inflex.adjective_core.convert_to_singular(word: str) str[source]

Convert word to singular form.

Parameters

word (str) – Input word or collocation.

Returns

The singular form of word.

Return type

str