ASACA – Automatic Speech Analysis for Cognitive Assessments
ASACA is an end-to-end toolkit that transforms raw speech into multimodal biomarkers — lexical, prosodic and pause-based — and returns an interpretable prediction ( HC / MCI / AD ) and low Word error rate transcriptions (WER <0.02)).
✨ Key Features
| Capability | Detail |
|---|---|
| Single-command inference | asaca run audio.wav outputs JSON + PDF report |
| Fine-tuned wav2vec 2.0 ASR | < 2 % WER on in-domain test set |
| Explainability | SHAP plots per classification |
| Rich feature set | word-error rate, syllable rate, pause stats, spectral cues |
| Offline-ready | Model weights stored under Models/ via Git LFS |
| PEP 517/621 packaging | pip install asaca or editable mode |
🚀 Quick start
Install the package from PyPI and run inference on a WAV file:
pip install asaca
asaca-cli gui
Alternatively install in editable mode for development:
git clone https://github.com/RhysonYang-2030/ASACA-Automatic-Speech-Analysis-for-Cognitive-Assessment.git
cd ASACA-Automatic-Speech-Analysis-for-Cognitive-Assessment
pip install -e .[dev]
The CLI outputs recognised text along with a PDF report and JSON file in the specified output directory.
Usage
asaca/
├── src/ # library code
├── tests/ # unit tests
├── docs/ # MkDocs documentation
├── examples/ # example notebooks and data
└── notebooks/ # tutorial notebooks
Run asaca-cli --help to see all commands including feature extraction.
Documentation
Full API reference and user guide live in the docs/ directory and on Read the Docs.
Docker
Build the image and run inference in an isolated environment:
docker build -t asaca .
docker run --rm -v "$PWD:/data" asaca asaca-cli infer /data/audio.wav
The container entrypoint defaults to asaca-cli.
License
Released under the Apache-2.0 license.
Citation
If you use ASACA in your research, please cite the project using the CITATION.cff file.
Contact
Maintainer: Xinbo Yang
Metadata
Release files for ASACA 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| asaca-0.1.3.tar.gz | 48.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asaca-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 102.6 kB
Release files / asaca-0.1.3.tar.gz
| Download URL | asaca-0.1.3.tar.gz |
|---|---|
| Size | 48.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07c3561a80c8a4d18d0a3f0b34fe54db8db1cb842f181abf4d44bb31b3bb9374
|
|
BLAKE2b-256 checksum How to use checksums |
d80ca9361756169568cc1a801c78165de3e01e3bd75a654daf3a17c1d8794e16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / asaca-0.1.3-py3-none-any.whl
| Download URL | asaca-0.1.3-py3-none-any.whl |
|---|---|
| Size | 54.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
44c82ad012a64f8e121b312560edb4f54f0b33af8f0500ecdcd9f46813266f2b
|
|
BLAKE2b-256 checksum How to use checksums |
88d7ba1bcfb4d6dc631d1153310fcfc8715361ab2118f1defeb97799b86aaffe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|