| 12345678910111213141516171819202122232425262728293031 |
- import { http } from '@/utils/http';
- // 分句
- export function segSentences(data) {
- return http.post(`/OtherSysTool/GCLSHMToolsServer/api/nlp/chinese/text2Sentences`, data);
- }
- // 批量分词
- export function BatchSegContent(data) {
- return http.post(`/OtherSysTool/GCLSHMToolsServer/api/nlp/chinese/text2word`, data);
- }
- // 音频预处理
- export function prepareTranscribe(data) {
- return http.post(`/OtherSysTool/GCLSHMToolsServer/api/xunfei/speech/prepareTranscribe`, data);
- }
- // 音频识别结果获取
- export function getWordTime(data) {
- return http.post(`/OtherSysTool/GCLSHMToolsServer/api/xunfei/speech/getResult`, data);
- }
- // 文本分析
- export function analysSubmit(data) {
- return http.post(`/OtherSysTool/TeachingServer/TextAnalyser/Analyse`, data);
- }
- // 音频转为base64流
- export function fileToBase64Text(data) {
- return http.post(`/FileServer/SI?MethodName=file_store_manager-GetFileByteBase64Text`, data, {}, true);
- }
|