Skip to content

Commit 17205ca

Browse files
author
litongjava
committed
modified readme
1 parent e9b9688 commit 17205ca

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ https://github.com/litongjava/whisper.cpp.android.java.demo/releases/tag/v1.0.0
152152

153153
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.
154154

155-
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.
155+
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.
156156

157157

158158
### 1.2.2.View Java methods in so files
@@ -767,12 +767,12 @@ public class WaveEncoder {
767767
}
768768
}
769769
```
770-
### 1.3.6.识别wav文件
770+
### 1.3.6.transcript wav file
771771
#### 1.3.6.1.WhisperService
772772
```
773-
加载模型
773+
//load model
774774
whisperContext = WhisperContext.createContextFromFile(modelPath);
775-
识别文件
775+
// transcript
776776
transcription = whisperContext.transcribeData(audioData);
777777
```
778778

readme_cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ https://github.com/litongjava/whisper.cpp.android.java.demo/releases/tag/v1.0.0
151151

152152
对于 **调试** 目的,您可以使用第一个或第二个文件。但如果您打算 **发布** 或在 **其他 Android 项目中使用**,建议您选择第三个剥离后的文件,因为它的大小会更小,并且不包含不必要的调试信息。
153153

154-
所以,为了在其他 Android 项目中使用,请选择 `app\build\intermediates\stripped_native_libs\debug\out\lib\arm64-v8a\libwhisper_v8fp16_va.so` 文件。如果您需要在其他项目中进行调试,那么可以考虑使用未剥离的版本。
154+
所以,为了在其他 Android 项目中使用,请选择 `AndroidWhisperCppLibrary-stripped_native_libs.zip` 文件。如果您需要在其他项目中进行调试,那么可以考虑使用未剥离的版本。
155155

156156

157157
### 1.2.2.查看so文件中的Java方法

0 commit comments

Comments
 (0)