article.js 843 B

12345678910111213141516171819202122232425262728
  1. import { http } from '@/utils/http';
  2. import store from '@/store';
  3. import { app } from '@/store/mutation-types';
  4. //分句
  5. export function segSentences(data) {
  6. return http.post(`/OtherSysTool/GCLSHMToolsServer/api/nlp/chinese/text2Sentences`, data)
  7. }
  8. //批量分词
  9. export function BatchSegContent(data) {
  10. return http.post( `/OtherSysTool/GCLSHMToolsServer/api/nlp/chinese/text2word`, data)
  11. }
  12. //音频预处理
  13. export function prepareTranscribe(data) {
  14. return http.post( `/OtherSysTool/GCLSHMToolsServer/api/xunfei/speech/prepareTranscribe`,data)
  15. }
  16. //音频识别结果获取
  17. export function getWordTime(data) {
  18. return http.post(`/OtherSysTool/GCLSHMToolsServer/api/xunfei/speech/getResult`,data)
  19. }
  20. // 文本分析
  21. export function analysSubmit(data) {
  22. return http.post(`/OtherSysTool/TeachingServer/TextAnalyser/Analyse`,data)
  23. }