9#ifndef KIOSDecodingGraph_h
10#define KIOSDecodingGraph_h
17typedef NS_ENUM(NSInteger, KIOSSpeakingTask) {
19 KIOSSpeakingTaskDefault,
21 KIOSSpeakingTaskOralReading,
87+ (BOOL)createDecodingGraphFromPhrases:(nonnull NSArray *)phrases
89 usingAlternativePronunciations:(nullable NSArray<
KIOSWordPronunciation *> *) alternativePronunciations
90 andTask:(KIOSSpeakingTask) task
91 andSaveWithName:(nonnull NSString *)decodingGraphName;
125+ (BOOL)createDecodingGraphFromPhrases:(nonnull NSArray *)phrases
127 usingAlternativePronunciations:(nullable NSArray<
KIOSWordPronunciation *> *) alternativePronunciations
128 andTask:(KIOSSpeakingTask) task
129 withSpokenNoiseProbability:(
float) spokenNoiseProbability
130 andSaveWithName:(nonnull NSString *)decodingGraphName;
179+ (BOOL)createContextualDecodingGraphFromPhrases:(nonnull NSArray<NSArray *> *) contextualPhrases
181 usingAlternativePronunciations:(nullable NSArray<
KIOSWordPronunciation *> *) alternativePronunciations
182 andTask:(KIOSSpeakingTask) task
183 andSaveWithName:(nonnull NSString *)decodingGraphName;
234+ (BOOL)createContextualDecodingGraphFromPhrases:(nonnull NSArray<NSArray *> *) contextualPhrases
236 usingAlternativePronunciations:(nullable NSArray<
KIOSWordPronunciation *> *) alternativePronunciations
237 andTask:(KIOSSpeakingTask) task
238 withSpokenNoiseProbability:(
float)spokenNoiseProbability
239 andSaveWithName:(nonnull NSString *)decodingGraphName;
267+ (BOOL)createDecodingGraphFromPhrases:(nonnull NSArray *)phrases
268 withTriggerPhrase:(nonnull NSString *)triggerPhrase
270 andSaveWithName:(nonnull NSString *)decodingGraphName;
287+ (BOOL)decodingGraphWithNameExists:(nonnull NSString *)decodingGraphName
299+ (BOOL)decodingGraphAtPathExists:(nonnull NSString *)absolutePathToDecodingGraphDirectory;
310+ (BOOL)decodingGraphExistsAtPath:(nonnull NSString *)absolutePathToDecodingGraphDirectory
311__deprecated_msg("Please use decodingGraphAtPathExists method");
323+ (nullable NSDate *)decodingGraphCreationDate:(nonnull NSString *)decodingGraphName
335+ (nullable NSURL *)getDecodingGraphDirURL:(nonnull NSString *)decodingGraphName
341+ (BOOL)createDecodingGraphFromSentences:(nonnull NSArray *)sentences
343 andSaveWithName:(nonnull NSString *)decodingGraphName
344__deprecated_msg("Please use createDecodingGraphFromPhrases methods");
347+ (BOOL)createContextualDecodingGraphFromSentences:(nonnull NSArray<NSArray *> *) contextualSentences
349 usingAlternativePronunciations:(nullable NSArray<
KIOSWordPronunciation *> *) alternativePronunciations
350 andTask:(KIOSSpeakingTask) task
351 andSaveWithName:(nonnull NSString *)decodingGraphName
352__deprecated_msg("Please use createContextualDecodingGraphFromPhrases methods");
355+ (BOOL)createDecodingGraphFromSentences:(nonnull NSArray *)sentences
356 withTriggerPhrase:(nonnull NSString *)triggerPhrase
358 andSaveWithName:(nonnull NSString *)decodingGraphName
359__deprecated_msg("Please use createDecodingGraphFromPhrases: withTriggerPhrase method");
362+ (BOOL)createDecodingGraphFromSentences:(nonnull NSArray *)sentences
364 usingAlternativePronunciations:(nullable NSArray<
KIOSWordPronunciation *> *) alternativePronunciations
365 andTask:(KIOSSpeakingTask) task
366 andSaveWithName:(nonnull NSString *)decodingGraphName
367__deprecated_msg("Please use createDecodingGraphFromPhrases methods");
Definition KIOSDecodingGraph.h:57
Definition KIOSRecognizer.h:347
Definition KIOSWordPronunciation.h:26