public class TamilDeclension extends LanguageDeclension
| Modifier and Type | Class and Description |
|---|---|
static class |
TamilDeclension.TamilNoun
Represents a Tamil noun.
|
LanguageDeclension.PluralNounForm, LanguageDeclension.SimpleAdjective, LanguageDeclension.SimpleAdjectiveWithStartsWith, LanguageDeclension.SimpleModifierForm, LanguageDeclension.SimplePluralNoun| Constructor and Description |
|---|
TamilDeclension(HumanLanguage language) |
| Modifier and Type | Method and Description |
|---|---|
protected Adjective |
createAdjective(String name,
LanguageStartsWith startsWith,
LanguagePosition position) |
protected Noun |
createNoun(String name,
String pluralAlias,
Noun.NounType type,
String entityName,
LanguageStartsWith startsWith,
LanguageGender gender,
String access,
boolean isStandardField,
boolean isCopied) |
List<? extends AdjectiveForm> |
getAdjectiveForms() |
List<? extends NounForm> |
getAllNounForms() |
Collection<? extends NounForm> |
getEntityForms()
For entities, we need with-article forms, but validation method
will fix those values automatically.
|
Collection<? extends NounForm> |
getFieldForms() |
Collection<? extends NounForm> |
getOtherForms() |
EnumSet<LanguageCase> |
getRequiredCases() |
EnumSet<LanguageGender> |
getRequiredGenders() |
boolean |
hasArticleInNounForm() |
boolean |
hasGender()
Convenient method to tell that the language has gender.
In English, it is false. |
boolean |
hasStartsWith()
convenient method to tell that the language has to know the noun, which starts with vowel (includes soft-sounds
like Hour).
|
createArticle, createNoun, createNoun, enumMapFilterNulls, enumMapFilterNulls, enumMapFilterNulls, formLowercaseNounForm, getAdjectiveForm, getAdjectiveForm, getAllowedArticleTypes, getAllowedCases, getApproximateAdjectiveForm, getApproximateArticleForm, getApproximateNounForm, getArticleForm, getArticleForm, getArticleForms, getDefaultAdjectivePosition, getDefaultArticle, getDefaultCase, getDefaultGender, getDefaultPossessive, getDefaultStartsWith, getExactNounForm, getLanguage, getNounForm, getNounForm, getNounForm, getRequiredPossessive, getRequiredStartsWith, hasAllowedCases, hasArticle, hasAutoDerivedStartsWith, hasCapitalization, hasPlural, hasPossessive, hasPossessiveInAdjective, hasRequiredCases, hasStartsWithInAdjective, hasSubjectGenderInVerbConjugation, isArticleInNounFormAutoDerived, isInflected, moveNounInflectionToFirstModifier, shouldInferNounDefArticleFromParticle, shouldLowercaseEntityInCompoundNouns, toStringpublic TamilDeclension(HumanLanguage language)
public List<? extends NounForm> getAllNounForms()
getAllNounForms in class LanguageDeclensionpublic Collection<? extends NounForm> getEntityForms()
LanguageDeclensiongetEntityForms in class LanguageDeclensionpublic Collection<? extends NounForm> getFieldForms()
getFieldForms in class LanguageDeclensionpublic Collection<? extends NounForm> getOtherForms()
getOtherForms in class LanguageDeclensionpublic List<? extends AdjectiveForm> getAdjectiveForms()
getAdjectiveForms in class LanguageDeclensionprotected Noun createNoun(String name, String pluralAlias, Noun.NounType type, String entityName, LanguageStartsWith startsWith, LanguageGender gender, String access, boolean isStandardField, boolean isCopied)
createNoun in class LanguageDeclensionentityName - TODOprotected Adjective createAdjective(String name, LanguageStartsWith startsWith, LanguagePosition position)
createAdjective in class LanguageDeclensionname - TODOstartsWith - TODOposition - TODOpublic boolean hasGender()
LanguageDeclension int[] getRequiredGenders.hasGender in class LanguageDeclensionpublic EnumSet<LanguageGender> getRequiredGenders()
getRequiredGenders in class LanguageDeclensionpublic boolean hasStartsWith()
LanguageDeclension Element createStartsWithElement(String, Noun, boolean) too.hasStartsWith in class LanguageDeclensionpublic EnumSet<LanguageCase> getRequiredCases()
getRequiredCases in class LanguageDeclensionpublic boolean hasArticleInNounForm()
hasArticleInNounForm in class LanguageDeclensionCopyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.