Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ALASTR – Aggregate Linguistic Analysis of Speech Transcripts for Research

Status: Active development (early-stage, version 0.0.1a1).
Stability: APIs, module layout, and CLI interfaces are subject to change.
Audience: Researchers and clinicians working with clinical aphasiology and SLP discourse data.

ALASTR is a Python toolkit for scalable, scriptable analysis of clinical speech and language transcripts, with an emphasis on aphasia-focused workflows. It is designed to complement existing CHAT/CLAN-based pipelines by adding reproducible batch processing, richer linguistic feature extraction, and integration with downstream statistical analyses.

While ALASTR draws on concepts and components piloted in earlier prototypes (e.g., CLATR), it is being developed as the lab-facing, aphasiology-specialized system, with a clearer focus on clinical narratives, paraphasias, disfluencies, and other discourse-level phenomena relevant to treatment and outcomes research.


Core Aims

  • Scalability: Process many transcripts in batch (across participants, timepoints, or conditions) with consistent configuration and logging.
  • Clinical relevance: Target metrics and summaries that are meaningful for aphasiology and speech–language pathology.
  • Interoperability with CHAT/CLAN: Leverage automation to populate tiers (e.g.,morphology) in CHAT-formatted (.cha) transcripts, enabling semi-automated workflows.
  • Integration with other tools: Provide hooks for metrics and outputs from systems such as RASCAL (monologic discourse analysis) and DIAAD (dialogue analysis).

High-Level Functionality (Planned / Emerging)

  • Transcript ingestion and organization

    • Read, validate, and organize transcripts (e.g., by group, site, timepoint).
    • Support CHAT-formatted transcripts, with planned adapters for other formats.
  • Linguistic feature extraction

    • Token-level and utterance-level features using spaCy and related NLP libraries.
    • Tier-aware processing (e.g., mapping CHAT tiers into structured tables).
    • Preliminary support for paraphasia and disfluency-related annotations.
  • Batch summarization and export

    • Participant-level and group-level summary tables (e.g., lexical, syntactic, discourse measures).
    • Integration points for CoreLex counts (via RASCAL) and other domain metrics.
    • Consistent output schemas suitable for downstream statistics in R, Python, or other tools.

Installation (Early Preview)

From Github:

git clone https://github.com/nmccloskey/ALASTR.git
cd ALASTR
pip install -e .

From PyPI:

pip install alastr

You may wish to create and activate a dedicated virtual environment or conda environment before installing.


Usage (Very Early Sketch)

CLI and API interfaces are still evolving. A minimal example of the intended usage pattern might eventually look like:

alastr run \
  --config path/to/config.yaml \
  --input-transcripts path/to/cha/files \
  --output-dir path/to/output

or, in Python:

from alastr.pipeline import run_pipeline

run_pipeline(
    config_path="path/to/config.yaml",
    input_root="path/to/cha/files",
    output_root="path/to/output",
)

Exact function names and options are likely to change as the design stabilizes.


Project Status and Roadmap

ALASTR is under active development and not yet recommended for routine clinical or research deployment. Near-term goals include:

  • Stabilizing the package layout and configuration system.
  • Implementing an end-to-end demo pipeline on a small aphasia dataset.
  • Adding basic tests and continuous integration.
  • Documenting example workflows and key metrics for clinical researchers.

Citation and Contributions

A formal citation will be provided once an ALASTR methods paper is available. Until then, if you use concepts or code from this repository in academic work, please:

  • Cite the GitHub repository URL, and
  • Acknowledge ALASTR as an early-stage tool under development.

Issues, suggestions, and (well-scoped) pull requests are welcome, with the understanding that the codebase is still evolving.

Metadata

Release files for alastr 0.0.1a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alastr 0.0.1a1
File Size Uploaded Provenance Actions
alastr-0.0.1a1.tar.gz 64.1 kB Without provenance Details for alastr-0.0.1a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for alastr 0.0.1a1
File Interpreter ABI Platform Actions
alastr-0.0.1a1-py3-none-any.whl Python 3 none any Details for alastr-0.0.1a1-py3-none-any.whl

Total release size: 138.9 kB

Release files / alastr-0.0.1a1.tar.gz

Download URL alastr-0.0.1a1.tar.gz
Size 64.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ff88a22c035c9f3910a3bc47cf0c7dc400406c5db0d9c13c699669b9c7a4dc29
BLAKE2b-256 checksum
How to use checksums
c807baa68f0ae8d1761a1529192d8366e60d83bdd213b8a34d4a2fb472d116dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release files / alastr-0.0.1a1-py3-none-any.whl

Download URL alastr-0.0.1a1-py3-none-any.whl
Size 74.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cca723ed2cd0b977fcac4a9d2ae5dc41bc4dd7242e010bcef1880601bb52f978
BLAKE2b-256 checksum
How to use checksums
b564acc4c5d67cc0068797d1252e0622c1022fd303d73a234abff92abc35a33d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Security for alastr 0.0.1a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page