EnglishWordFormsProvider
Contents
[
Hide
]
Inheritance: java.lang.Object
All Implemented Interfaces: com.groupdocs.search.dictionaries.IWordFormsProvider
public class EnglishWordFormsProvider implements IWordFormsProvider
Represents an English word forms provider.
Learn more
Constructors
| Constructor | Description |
|---|---|
| EnglishWordFormsProvider() | Initializes a new instance of the EnglishWordFormsProvider class. |
Methods
| Method | Description |
|---|---|
| getWordForms(String word) | Gets the word forms for the specified word. |
EnglishWordFormsProvider()
public EnglishWordFormsProvider()
Initializes a new instance of the EnglishWordFormsProvider class.
getWordForms(String word)
public final String[] getWordForms(String word)
Gets the word forms for the specified word. The resulting array does not contain the original word.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| word | java.lang.String | The word to suggest the word forms. |
Returns: java.lang.String[] - The word forms for the specified word or empty array if the IWordFormsProvider does not provide word forms for the specified word.