NTSpeechGrammarElement Class Reference
Inherits from | NSObject |
---|---|
Declared in | NTSpeechGrammarElement.h NTSpeechGrammarElement.m |
Other Methods
repeatMode
Defines how often this element can be spoken.
@property (nonatomic) NTSpeechGrammarElementRepeatMode repeatMode
Discussion
Defines how often this element can be spoken.
Declared In
NTSpeechGrammarElement.h
minRepeat
How often this element at least has to be spoken. If minRepeat is set greater than maxRepeat, it will be set equal to maxRepeat.
@property (nonatomic) unsigned int minRepeat
Discussion
How often this element at least has to be spoken. If minRepeat is set greater than maxRepeat, it will be set equal to maxRepeat.
Only used if repeatMode is set to REPEAT_CUSTOM.
Declared In
NTSpeechGrammarElement.h
maxRepeat
How often this element can be spoken in maximum. If maxRepeat is set smaller than minRepeat, it will be set equal to minRepeat.
@property (nonatomic) unsigned int maxRepeat
Discussion
How often this element can be spoken in maximum. If maxRepeat is set smaller than minRepeat, it will be set equal to minRepeat.
Only used if repeatMode is set to REPEAT_CUSTOM.
Declared In
NTSpeechGrammarElement.h
weight
Weight of this element. Only used if this element is an element of an alternative.
@property (nonatomic) float weight
Discussion
Weight of this element. Only used if this element is an element of an alternative.
Declared In
NTSpeechGrammarElement.h
tags
Tags of this element.
@property (nonatomic, strong, readonly) NSArray *tags
Discussion
Tags of this element.
Declared In
NTSpeechGrammarElement.h
– addTag:
Adds a tag.
- (void)addTag:(NSString *)tag
Parameters
tag |
Tag |
---|
Discussion
Adds a tag.
Declared In
NTSpeechGrammarElement.h
– removeTag:
Removes the given tag.
- (void)removeTag:(NSString *)tag
Parameters
tag |
Tag |
---|
Discussion
Removes the given tag.
Declared In
NTSpeechGrammarElement.h