MCPcopy
hub / github.com/omkarcloud/botasaurus / pluralize

Function pluralize

botasaurus/cache.py:131–132  ·  view source on GitHub ↗
(word, n)

Source from the content-addressed store, hash-verified

129 return normalized_string in affirmative_values
130
131def pluralize(word, n):
132 return word if n <= 1 else word + 's'
133def is_negative(input_string):
134 # List of negative representations
135 negative_values = {"false", "no", "n", "0", "nah", "nope", "never", "negative", "f"}

Callers 3

_delete_items_by_filterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected