Inflection
Morphology Inflection
Loading...
Searching...
No Matches
Public Attributes | List of all members
IDDisplayValue_Constraint Struct Reference

#include <DisplayValue.h>

Public Attributes

const char16_t * name
 
const char16_t * value
 

Detailed Description

A constraint. The valid values for the key and value are typically valid for only specific languages.

Definition at line 14 of file DisplayValue.h.

Member Data Documentation

◆ name

const char16_t* IDDisplayValue_Constraint::name

The semantic feature name. This should be a valid name from inflection::lang::features::LanguageGrammarFeatures_GrammarCategory or inflection::lang::features::LanguageGrammarFeatures_GrammarFeatures. In all languages, there is also a special key for the speak part of a SpeakableString named "speak". When that is provided, the associated value will be returned as a part of the SpeakableString. This string must be null-terminated.

Definition at line 24 of file DisplayValue.h.

◆ value

const char16_t* IDDisplayValue_Constraint::value

The semantic feature name. This should be a valid value from inflection::lang::features::LanguageGrammarFeatures_GrammarCategory or inflection::lang::features::LanguageGrammarFeatures_GrammarFeatures. Some constraints are bounded, and some are unbounded. Typically, grammar categories are bounded. The grammar features may or may not be bounded. This string must be null-terminated.

Definition at line 33 of file DisplayValue.h.


The documentation for this struct was generated from the following file: