1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| package com.smartor.service;
|
| import com.alibaba.nls.client.protocol.asr.SpeechRecognizerListener;
|
| /**
| * 宣教分类Service接口
| *
| * @author smartor
| * @date 2023-03-04
| */
| public interface PersonVoiceService {
| /**
| * 一句话识别
| */
| public String speechtotext(String filePath);
|
|
| /**
| * 一句话识别
| */
| public String texttospeech(String textspeech, String filePath);
|
| public Boolean explainHTML();
| }
|
|