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.1.tar.gz (47.5 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.1-py3-none-any.whl (54.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: asaca-0.1.1.tar.gz
  • Upload date:
  • Size: 47.5 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.1.tar.gz
Algorithm Hash digest
SHA256 65d124f451e64d1e56b8c423bdf3ab9ebfe5375c17fce7f1162bbd18fc84598b
MD5 cc3b2ef58dfde836c097f7272d2a43c4
BLAKE2b-256 29fee9557bc902668028a6854097d4398582017671b0062e6423c8ab29ac3e6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asaca-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 54.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1542b1713b4e4fb1250fba4d003f6a79b6b31c08592192579894d36250b46493
MD5 9d0b52052fe02914ac181219b7c6989a
BLAKE2b-256 e2f8afdf4e70792944796f6b71da210e8be1990f605da2b7396d1405f4bfca54

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