PluralizationService.IsPlural(String) Method

Definition

Determines whether the specified word is plural.

public:
 abstract bool IsPlural(System::String ^ word);
public abstract bool IsPlural (string word);
abstract member IsPlural : string -> bool
Public MustOverride Function IsPlural (word As String) As Boolean

Parameters

word
String

The value to be analyzed.

Returns

true if the word is plural; otherwise, false.

Remarks

The PluralizationService class applies English rules for constructing plural and singular forms of words. To extend the service to other languages, use the PluralizationService on the EntityModelSchemaGenerator class.

Both the IsPlural and IsSingular methods can return true for the same word. For example, both methods will return true for the word "fish".

Applies to