1

我曾尝试使用 VOSK,但收到此错误:

ERROR (VoskAPI:Model():model.cc:122) Folder 'fa' does not contain model files. Make sure you specified the model path properly in Model constructor. If you are not sure about relative path, use absolute path specification.
2021-10-24 11:54:00.306 ERROR 17856 --- [nio-8080-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed; nested exception is java.lang.Error: Invalid memory access] with root cause
4

1 回答 1

1

将 Model 文件夹放在 src 文件夹旁边。

于 2022-01-29T18:43:19.117 回答