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.2.tar.gz (47.6 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.2-py3-none-any.whl (54.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: asaca-0.1.2.tar.gz
  • Upload date:
  • Size: 47.6 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.2.tar.gz
Algorithm Hash digest
SHA256 2931b0351bcdebe37a95910aceb3d59f19d3eeba9f17ea2dfe2540c12aef9d9a
MD5 9186fc4d42db03ee683b1c2ce451ec3b
BLAKE2b-256 f7ba074d1a6fbd5942b6ab2a5afcac5744385a09bdc48923fa87d01d5486b0a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asaca-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 54.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b605dca5954aeed25caf8bb6c163421d8e55201544da1f14122e172159477d67
MD5 679ce64cb2e5d47dbb9ad0c68eabd497
BLAKE2b-256 7d9163e9994e0dff2e99c56ac8e97b78b17f8c88df278be336cac09c2b8b7016

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