6#include <inflection/lang/features/fwd.hpp>
7#include <inflection/lang/features/LanguageGrammarFeatures_Feature.hpp>
8#include <inflection/lang/features/LanguageGrammarFeatures_GrammarCategory.hpp>
9#include <inflection/lang/features/LanguageGrammarFeatures_GrammarFeatures.hpp>
10#include <inflection/util/ULocale.hpp>
11#include <inflection/Object.hpp>
33 const Grammar& grammar;
34 const Features& features;
55 static void addCategory(std::map<std::u16string, LanguageGrammarFeatures_GrammarCategory>* categories,
const Category& category);
60 std::map<std::u16string, ::inflection::lang::features::LanguageGrammarFeatures_GrammarCategory>
getCategories()
const;
68 std::set<::inflection::lang::features::LanguageGrammarFeatures_GrammarFeatures>
getFeatures()
const;
71 explicit LanguageGrammarFeatures(const ::inflection::util::ULocale& language,
const Grammar& grammar,
const Features& features);
Inflection's root object.
A single feature value with a set of constraints for when the value is valid.
A container of grammemes of a specific grammatical category.
A named feature with a possible set of feature values.
This class provides information about semantic features and grammatical categories used for the class...
int32_t getCategoriesCount() const
~LanguageGrammarFeatures() override
::inflection::util::ULocale getLanguage() const
::inflection::lang::features::LanguageGrammarFeatures getLanguageGrammarFeatures(const ::inflection::util::ULocale &locale)
int32_t getFeaturesCount() const
std::map< std::u16string, ::inflection::lang::features::LanguageGrammarFeatures_GrammarCategory > getCategories() const
std::set<::inflection::lang::features::LanguageGrammarFeatures_GrammarFeatures > getFeatures() const
static std::set<::inflection::util::ULocale > getKnownLanguages()
An object that represents a specific geographical, political, or cultural region.
The C++ namespace for Inflection.