//
//  SLNuiSpeechRecognizer.h
//  SLAiELTS
//
//  Created by Gusont on 2023/3/6.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^SLSpeechRecognizerResultBlock)(NSString *text ,NSString *voicePath);

@interface SLNuiSpeechRecognizer : NSObject

@property (nonatomic, copy)SLSpeechRecognizerResultBlock recognizerResultBlock;

- (void)startSpeechRecognizer;

- (void)stopSpeechRecognizer:(BOOL)isSaveVoice;

@end

NS_ASSUME_NONNULL_END
