Documentation
¶
Index ¶
- func AddIrregularRule(single string, plural string)
- func AddPluralRule(pattern string, replacement string)
- func AddSingularRule(pattern string, replacement string)
- func AddUncountableRule(word string)
- func Pluralise(word string) string
- func Singularise(word string) string
- func WithCount(word string, count int) string
- func WithCountInclusive(word string, count int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddIrregularRule ¶
AddIrregularRule adds and irregular word definition
func AddPluralRule ¶
AddPluralRule adds a pluralisation rule to the collection
func AddSingularRule ¶
AddSingularRule adds a singularisation rule to the collection
func AddUncountableRule ¶
func AddUncountableRule(word string)
AddUncountableRule adds an uncountable word rule
func WithCountInclusive ¶
WithCountInclusive pluralises or singularises a word depending on the count supplied, prepending the count to the word
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.