Method | Description | |
---|---|---|
Plural ( string word ) : string |
单数转复数
|
|
Singular ( string word ) : string |
复数转单数
|
Method | Description | |
---|---|---|
AddIrregularRule ( string singular, string plural ) : void | ||
AddPluralRule ( string rule, string replacement ) : void | ||
AddSingularRule ( string rule, string replacement ) : void | ||
AddUnknownCountRule ( string word ) : void | ||
ApplyRules ( IList |
||
Inflector ( ) : System |
public static Plural ( string word ) : string | ||
word | string | |
return | string |
public static Singular ( string word ) : string | ||
word | string | |
return | string |