diff --git a/readme.md b/readme.md index af4aba1..529a254 100644 --- a/readme.md +++ b/readme.md @@ -152,7 +152,7 @@ https://github.com/litongjava/whisper.cpp.android.java.demo/releases/tag/v1.0.0 For **debugging** purposes, you can use the first or second file. However, if you intend to **release** or use it in **other Android projects**, it is recommended that you choose the third stripped file as it will be smaller in size and will not contain unnecessary debugging information. -So, for use in other Android projects, choose the `app\build\intermediates\stripped_native_libs\debug\out\lib\arm64-v8a\libwhisper_v8fp16_va.so` file. If you need to debug in other projects, then consider using the unstripped version. +So, for use in other Android projects, choose the `AndroidWhisperCppLibrary-stripped_native_libs.zip` file. If you need to debug in other projects, then consider using the unstripped version. ### 1.2.2.View Java methods in so files @@ -767,12 +767,12 @@ public class WaveEncoder { } } ``` -### 1.3.6.识别wav文件 +### 1.3.6.transcript wav file #### 1.3.6.1.WhisperService ``` -加载模型 +//load model whisperContext = WhisperContext.createContextFromFile(modelPath); -识别文件 +// transcript transcription = whisperContext.transcribeData(audioData); ``` diff --git a/readme_cn.md b/readme_cn.md index 293de01..7385833 100644 --- a/readme_cn.md +++ b/readme_cn.md @@ -151,7 +151,7 @@ https://github.com/litongjava/whisper.cpp.android.java.demo/releases/tag/v1.0.0 对于 **调试** 目的,您可以使用第一个或第二个文件。但如果您打算 **发布** 或在 **其他 Android 项目中使用**,建议您选择第三个剥离后的文件,因为它的大小会更小,并且不包含不必要的调试信息。 -所以,为了在其他 Android 项目中使用,请选择 `app\build\intermediates\stripped_native_libs\debug\out\lib\arm64-v8a\libwhisper_v8fp16_va.so` 文件。如果您需要在其他项目中进行调试,那么可以考虑使用未剥离的版本。 +所以,为了在其他 Android 项目中使用,请选择 `AndroidWhisperCppLibrary-stripped_native_libs.zip` 文件。如果您需要在其他项目中进行调试,那么可以考虑使用未剥离的版本。 ### 1.2.2.查看so文件中的Java方法