Method | Description | |
---|---|---|
AddInvariantWord ( string word ) : void |
Adds a word which is considered invariant such as equipment or species.
|
|
AddRule ( string searchPattern, string replacementPattern ) : void |
Adds (or replaces) the rule.
|
|
ToPlural ( string word ) : string |
Returns the plural version of the specified singular word or the specified word if there is no plural version.
|
public AddInvariantWord ( string word ) : void | ||
word | string | The invariant word. |
return | void |
public AddRule ( string searchPattern, string replacementPattern ) : void | ||
searchPattern | string | The pattern to match upon. |
replacementPattern | string | The replacement pattern. |
return | void |
public ToPlural ( string word ) : string | ||
word | string | The word to be pluralized. |
return | string |