NTSpeechGrammar Class Reference

Inherits from NSObject
Declared in NTSpeechGrammar.h
NTSpeechGrammar.m

Other Methods

  name

@property (nonatomic, strong) NSString *name

  version

@property (nonatomic, strong) NSString *version

  language

@property (nonatomic, strong) NSString *language

  rules

@property (nonatomic, strong, readonly) NSArray *rules

  rootRule

@property (nonatomic, strong) NTSpeechGrammarRule *rootRule

– initWithRootRule:

- (instancetype)initWithRootRule:(NTSpeechGrammarRule *)rule

– addRule:

- (void)addRule:(NTSpeechGrammarRule *)rule

– removeRule:

- (void)removeRule:(NTSpeechGrammarRule *)rule

– removeAllRules

- (void)removeAllRules

– containsRuleWithName:

- (BOOL)containsRuleWithName:(NSString *)name

+ grammarWithName:

+ (NTSpeechGrammar *)grammarWithName:(NSString *)name

+ grammarWithRootRule:

+ (NTSpeechGrammar *)grammarWithRootRule:(NTSpeechGrammarRule *)rule

Other Methods

– init

- (instancetype)init

Extension Methods

  rulesInternal

@property (nonatomic, strong) NSMutableArray *rulesInternal