Skip to main content

Automatic Speech Analysis for Cognitive Assessment

Project description

ASACA – Automatic Speech Analysis for Cognitive Assessments

CI PyPI License Python GUI

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

Pipeline

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asaca-0.1.3.tar.gz (48.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asaca-0.1.3-py3-none-any.whl (54.6 kB view details)

Uploaded Python 3

File details

Details for the file asaca-0.1.3.tar.gz.

File metadata

  • Download URL: asaca-0.1.3.tar.gz
  • Upload date:
  • Size: 48.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for asaca-0.1.3.tar.gz
Algorithm Hash digest
SHA256 07c3561a80c8a4d18d0a3f0b34fe54db8db1cb842f181abf4d44bb31b3bb9374
MD5 0fc6d4d7f8acb67c6e95800e235e7294
BLAKE2b-256 d80ca9361756169568cc1a801c78165de3e01e3bd75a654daf3a17c1d8794e16

See more details on using hashes here.

File details

Details for the file asaca-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: asaca-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 54.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for asaca-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 44c82ad012a64f8e121b312560edb4f54f0b33af8f0500ecdcd9f46813266f2b
MD5 82bf358bbb6c5f665b34393fbea39f32
BLAKE2b-256 88d7ba1bcfb4d6dc631d1153310fcfc8715361ab2118f1defeb97799b86aaffe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page