Offline English practice app
Version 0.4.1. Author: Tôn Thất Bảo Toàn.
An offline English practice app that runs on the CPU and listens on 127.0.0.1 only. It scores pronunciation, speaks a model voice, transcribes what you say, and checks grammar. Conversation practice is done with Grok Bot; this app has no chat box.
This repository holds the installable packages, checksums, and licence texts. After you unpack a package, see INSTALL.md in the archive (a copy is also in this repository) for the full install steps.
Supported systems
| Package | System |
|---|---|
TiengAnhApp-0.4.1-linux-x86_64.tar.gz |
Linux x86_64 |
TiengAnhApp-0.4.1-windows-x86_64.zip |
Windows 10/11, 64-bit x64 |
TiengAnhApp-0.4.1-macos-arm64.tar.gz |
macOS 14 or later, Apple silicon (arm64) only |
There is no Intel macOS package. onnxruntime 1.32.0 has no Intel macOS build.
Requirements
- Disk: 8 GB free at install time (the installer checks this). After a Linux 0.4.1 install the folder measured 3 185 688 660 bytes (2.967 GiB; 3 222 595 322 bytes on disk), about 3.0 GiB.
- Memory: 8 GB of RAM is recommended. Peak use during the Linux 0.4.1 self-test was about 2.4 GB (2 384 MB).
- CPU: a 64-bit CPU is enough; the app does not need a GPU.
- Microphone: needed to practise speaking and to use speech-to-text.
- Windows only: the Microsoft Visual C++ 2015–2022 Redistributable (x64). Most PCs already have it; if it is missing, the installer stops and points to Microsoft's download.
Check the download (SHA-256)
Compare the file you downloaded with this table (the same values are in SHA256SUMS):
| File | Size | SHA-256 |
|---|---|---|
TiengAnhApp-0.4.1-linux-x86_64.tar.gz |
1 699 509 414 bytes (1.583 GiB) | bd70d7814ff8c6d162f5d599ca745fe97b07af909e5f0928eba9be2f5299c4bb |
TiengAnhApp-0.4.1-windows-x86_64.zip |
2 157 076 033 bytes (2.009 GiB) | bf90bed5da6774b1c5ab010819b46a74e939027998a20d99fea7bf3f036f1b0c |
TiengAnhApp-0.4.1-macos-arm64.tar.gz |
1 442 839 701 bytes (1.344 GiB) | 4a3b65a4e8f7d45f6cb232073e6949c74a25a0cb7942da7d6a4d554ab18b4d2f |
How to check on each system (run the command in the folder that holds the file):
- Linux:
sha256sum TiengAnhApp-0.4.1-linux-x86_64.tar.gz - macOS:
shasum -a 256 TiengAnhApp-0.4.1-macos-arm64.tar.gz - Windows (PowerShell):
Get-FileHash TiengAnhApp-0.4.1-windows-x86_64.zip -Algorithm SHA256
The hash must match the table exactly. Do not install a file that does not match.
These packages are not signed
The packages and the programs inside them are not digitally signed.
Linux: after you have checked the SHA-256, unpack and run
install.shas a normal user. No code signature is provided.Windows: the
.zipandinstall.cmdare not Authenticode-signed, so Windows may warn. Right-click the.zip→ Properties → tick Unblock → OK. Extract the archive, then double-clickinstall.cmd. If SmartScreen says “Windows protected your PC”, choose More info → Run anyway. Run the installer and laterrun.cmdas a normal (not elevated) user. Do not use “Run as administrator”.macOS: the app is not signed by Apple, so macOS will warn. In Terminal, after you have checked the SHA-256:
tar -xzf ~/Downloads/TiengAnhApp-0.4.1-macos-arm64.tar.gz -C ~/Downloads xattr -dr com.apple.quarantine ~/Downloads/TiengAnhApp-0.4.1-macos-arm64 sh ~/Downloads/TiengAnhApp-0.4.1-macos-arm64/install.shThe
xattrline removes the “downloaded from the internet” flag from this folder only, so the bundled programs may run. Do this only for a package whose SHA-256 you have already checked. If you double-clickinstall.commandorrun.commandand macOS says it cannot be opened, Control-click the file, choose Open, then Open again; or allow it under System Settings → Privacy & Security → “Open Anyway”.
Install and uninstall
Full steps are in INSTALL.md. In short, after the SHA-256 check and the unsigned-app steps above:
- Linux:
tar -xzf TiengAnhApp-0.4.1-linux-x86_64.tar.gzthensh TiengAnhApp-0.4.1-linux-x86_64/install.sh(or--dir /path/to/folder). Start:~/TiengAnhApp/run.sh. Stop: Ctrl+C. Uninstall:~/TiengAnhApp/uninstall.sh. - Windows: extract the zip and run
install.cmd. Another folder:.\install.cmd -Dir D:\TiengAnhApp. Start: double-clickrun.cmdin the installed folder, as a normal user. Stop: close that window. Uninstall: double-clickuninstall.cmdin the installed folder. - macOS (Apple silicon): use the Terminal commands in the previous section (or
install.sh --dir …). Start:~/TiengAnhApp/run.command. Uninstall:~/TiengAnhApp/uninstall.command.
The installer checks every file against SHA256SUMS, puts everything in one folder (by default TiengAnhApp in your home folder; on Windows %LOCALAPPDATA%\TiengAnhApp), runs a short self-test, and prints a report. Nothing is installed anywhere else.
Privacy
The app is meant to stay on your computer:
- It works offline. It does not send your speech, text, or scores anywhere.
- The web page and helpers listen on
127.0.0.1only, not on the local network or the internet. - There is no telemetry and no automatic update.
- Audio is processed in memory and is not kept. The self-test records a short sample, scores it, then deletes it.
- There is no in-app download button for a chat model.
Interface language
The interface currently offers English and Vietnamese only. If another locale file is added, that language appears in the list, but its UI strings fall back to English until they are translated.
Limitations
- The pronunciation score is a practice signal only, for your own reference. It has not been calibrated on real learners' voices. No accuracy is claimed, and it is not a certificate or an official assessment.
- Explanations (grammar and pronunciation) are filled from fixed templates using LanguageTool matches and the scorer's results. They are not written by an AI model.
- First-language hints are optional; only a Vietnamese profile exists so far.
Offline chat (not in this package)
Qwen and llama.cpp are not included in the 0.4.1 packages. The app has no conversation feature. If you want to practise conversation offline, ask TeachEnglishBot to install Qwen as an optional extra. Qwen is not as capable as Grok Bot and does not score or correct your English.
Licence
This project's own code is Apache License 2.0 (see LICENSE). Third-party components keep their own licences; see NOTICE and licenses/LICENSES-TABLE.md.
Please note in particular:
- espeak-ng 1.52.0 is GPL-3.0-or-later. It is used only as a separate program (a subprocess). The app's own process never loads that library. The GPL-3 text is in
licenses/GPL-3.0.txtandlicenses/espeak-ng-GPL-3.0.txt. Source for espeak-ng is shipped in each package. - Kokoro-82M (Apache-2.0, via
onnx-community/Kokoro-82M-v1.0-ONNX) is included. Training data named on the Kokoro model card, and credited here, includes Koniwa tnc (CC BY 3.0) and SIWIS (CC BY 4.0). Those corpora are not redistributed in this package. - num2words 0.5.6 is LGPL-2.1 (
licenses/num2words-LGPL-2.1.txt). - The Windows package also contains, unchanged inside official upstream wheels so that each wheel's SHA-256 still matches PyPI: Intel OpenMP (
libiomp5md.dll), an NVIDIA cuDNN loader (cudnn64_9.dll, not used; this app runs on CPU), and a renamed copy of Microsoft'smsvcp140.dllin the numpy wheel. The bundled Python runtime likewise redistributesvcruntime140.dllandvcruntime140_1.dll. These files are not under an OSI open-source licence; they stay under their vendors' terms.
The pronunciation model file is an ONNX conversion (fp32, no weight changes) of facebook/wav2vec2-lv-60-espeak-cv-ft at revision ae45363bf3413b374fecd9dc8bc1df0e24c3b7f4 (Apache-2.0).
Whisper base.en carries three licence statements (OpenAI repository: MIT; Hugging Face card openai/whisper-base.en: Apache-2.0; Systran/faster-whisper-base.en card: MIT). All three are kept in NOTICE.
Model tree for Huiginn/teachenglishbot-offline
Base model
facebook/wav2vec2-lv-60-espeak-cv-ft