Inflection
Morphology Inflection
|
This class provides information about semantic features and grammatical categories used for the classes derived from SemanticFeatureConceptBase for various languages. More...
#include <LanguageGrammarFeatures.hpp>
Public Member Functions | |
::inflection::util::ULocale | getLanguage () const |
int32_t | getCategoriesCount () const |
std::map< std::u16string, ::inflection::lang::features::LanguageGrammarFeatures_GrammarCategory > | getCategories () const |
int32_t | getFeaturesCount () const |
std::set<::inflection::lang::features::LanguageGrammarFeatures_GrammarFeatures > | getFeatures () const |
~LanguageGrammarFeatures () override | |
![]() | |
virtual ::std::u16string | toString () const |
virtual | ~Object () |
Static Public Member Functions | |
::inflection::lang::features::LanguageGrammarFeatures | getLanguageGrammarFeatures (const ::inflection::util::ULocale &locale) |
static std::set<::inflection::util::ULocale > | getKnownLanguages () |
Friends | |
class | LanguageGrammarFeatures_GrammarCategory |
class | LanguageGrammarFeatures_Feature |
class | LanguageGrammarFeatures_GrammarFeatures |
This class provides information about semantic features and grammatical categories used for the classes derived from SemanticFeatureConceptBase for various languages.
Definition at line 22 of file LanguageGrammarFeatures.hpp.
|
override |
Destructor
std::map< std::u16string, ::inflection::lang::features::LanguageGrammarFeatures_GrammarCategory > inflection::lang::features::LanguageGrammarFeatures::getCategories | ( | ) | const |
Returns a map of category names to GrammarCategory objects.
int32_t inflection::lang::features::LanguageGrammarFeatures::getCategoriesCount | ( | ) | const |
Returns the total number of categories. This can be helpful if you don't need a copy of all of the categories.
std::set<::inflection::lang::features::LanguageGrammarFeatures_GrammarFeatures > inflection::lang::features::LanguageGrammarFeatures::getFeatures | ( | ) | const |
Returns a map of grammar feature names to GrammarFeatures objects.
int32_t inflection::lang::features::LanguageGrammarFeatures::getFeaturesCount | ( | ) | const |
Returns the total number of features. This can be helpful if you don't need a copy of all of the features.
|
static |
Returns a set of locales that are known for querying LanguageGrammarFeatures.
::inflection::util::ULocale inflection::lang::features::LanguageGrammarFeatures::getLanguage | ( | ) | const |
Returns the resolved language for this object.
|
static |
Return the LanguageGrammarFeatures as specified for the locale.
IllegalArgumentException | is thrown if an unknown locale is requested. |
|
friend |
Definition at line 80 of file LanguageGrammarFeatures.hpp.
|
friend |
Definition at line 79 of file LanguageGrammarFeatures.hpp.
|
friend |
Definition at line 81 of file LanguageGrammarFeatures.hpp.