The following tables list the members exposed by EnglishGrammarRules.
Name | Description | |
---|---|---|
![]() ![]() | Instance | Used to get or set the instance used to process the grammar rules. Typically used to extend the class to handle complex rules (such as better pluralization) without affecting the callers of the methods. |
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from object) |
![]() ![]() | GetArticle | Returns the proper article for a subject. e.g. "a" or "an". |
![]() | GetHashCode | (Inherited from object) |
![]() | GetType | (Inherited from object) |
![]() ![]() | MakePossessive | Returns the possessive of a subject. |
![]() ![]() | Pluralize | Returns the plural of a subject. Handles most cases of subjects ending in "s", "y", "ex", and "ix". |
![]() ![]() | Singularize | Returns the singular of a subject. Handles cases ending in "ss", "s", "ies" |
![]() | ToString | (Inherited from object) |
Name | Description | |
---|---|---|
![]() | Finalize | (Inherited from object) |
![]() | GetArticleImpl | Returns the proper article for a subject. e.g. "a" or "an". |
![]() | MakePossessiveImpl | Returns the possessive of a subject. |
![]() | MemberwiseClone | (Inherited from object) |
![]() | PluralizeImpl | Returns the plural of a subject. Handles most cases of subjects ending in "s", "y", "ex", and "ix". |
![]() ![]() | ReplaceSuffix | Helper method. Truncates n characters off the end of pValue and appends pSuffix. |
![]() | SingularizeImpl | Returns the singular of a subject. Handles cases ending in "ss", "s", "ies" |
![]() ![]() | StartsWithChar | Helper method. Returns true if the token starts with any of the characters in pChars. |