Skip to main content

A Tree-sitter grammar for RTTM files

Project description

Tree Sitter RTTM

LICENSE Tree-sitter ABI Contributor Covenant CI

A Tree-sitter grammar for the RTTM (Rich Transcription Time Marked) format.

This parser provides a complete and robust grammar for the standard 10-column RTTM specification, used widely in audio processing, ASR, and speaker diarization tasks.

Features

  • Robust Grammar: (grammar.js) Parses all standard RTTM 10-column entries.
  • Highlighting: (queries/highlights.scm) Provides highlighting queries for editors like Neovim and Helix.
  • Test Corpus: (corpus/) Includes a rich test suite to ensure correctness.

DEMO


RTTM Format Guide

This parser adheres to the 10-field RTTM specification. For a complete, human-readable breakdown of the format, its fields, and common "dialects" (like SPEAKER vs LEXEME), please see the guide.

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

tree_sitter_rttm-0.1.0.tar.gz (14.7 kB view details)

Uploaded Source

Built Distributions

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

tree_sitter_rttm-0.1.0-cp310-abi3-win_arm64.whl (11.9 kB view details)

Uploaded CPython 3.10+Windows ARM64

tree_sitter_rttm-0.1.0-cp310-abi3-win_amd64.whl (13.0 kB view details)

Uploaded CPython 3.10+Windows x86-64

tree_sitter_rttm-0.1.0-cp310-abi3-musllinux_1_2_x86_64.whl (18.8 kB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

tree_sitter_rttm-0.1.0-cp310-abi3-musllinux_1_2_aarch64.whl (19.9 kB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

tree_sitter_rttm-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (20.6 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

tree_sitter_rttm-0.1.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (18.9 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

tree_sitter_rttm-0.1.0-cp310-abi3-macosx_11_0_arm64.whl (10.8 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

tree_sitter_rttm-0.1.0-cp310-abi3-macosx_10_9_x86_64.whl (10.4 kB view details)

Uploaded CPython 3.10+macOS 10.9+ x86-64

File details

Details for the file tree_sitter_rttm-0.1.0.tar.gz.

File metadata

  • Download URL: tree_sitter_rttm-0.1.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tree_sitter_rttm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d1af9fc01d099457b974af500b8dcb2fea0963f3c2a9440e1fe5f021bc6748f7
MD5 accacfcd9e9891e62daf55948c0e3856
BLAKE2b-256 7dc78e85172d8908897510425b557dca1573278d3555fd3626d7f201aaf2154e

See more details on using hashes here.

File details

Details for the file tree_sitter_rttm-0.1.0-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_rttm-0.1.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 12ea64f6508d8e2716add9423e389323c86e1d6b5939670bcac3097a55d2b9d3
MD5 b229c20f8b2d8d9a96a3e7961f3eaab9
BLAKE2b-256 81dc84346ff3b3a9d475a78f5b41ad2729445339df0a8c474021c65cf3e8eb49

See more details on using hashes here.

File details

Details for the file tree_sitter_rttm-0.1.0-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter_rttm-0.1.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e233378216a7ad867ee4409b142a2c35dcf8582c8f4ef2c9c0a1fc436ca923cf
MD5 da2524feb9e7f7c45cfa2a36e2662120
BLAKE2b-256 d1bad112182e543b3a8add67b5ea2011caf1fffba27249e4c3889aa38cc08a6a

See more details on using hashes here.

File details

Details for the file tree_sitter_rttm-0.1.0-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_rttm-0.1.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a2d8f8b2a19d7524464fff3a04045d30559a71358c6ba7d5d2e9217b0625ec78
MD5 9db117cddc3d603c8fcea82de016d1b1
BLAKE2b-256 567e65fd8bf4f8a6987b6b2a317177660adf3d7f94ca2be4b3251d9b6d415e45

See more details on using hashes here.

File details

Details for the file tree_sitter_rttm-0.1.0-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter_rttm-0.1.0-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 105f424da21ebeee05e77f3bc1eb37791ec294b03cbc737eee8f2b30f77c25c0
MD5 62c3bbfbf8731a27b8f27f891f2fc4dd
BLAKE2b-256 2cfddbac574f7dd6ec9364cbea4b6b919c41d4614cd5fe4883b6145ab7b6564a

See more details on using hashes here.

File details

Details for the file tree_sitter_rttm-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter_rttm-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f95b8f1957efc40366bcdf8f197b71c5656dd8778f8bc674f6d84e5d0b9daad9
MD5 47f44c7733d77cc6770cf50915f157e9
BLAKE2b-256 10703a10c21497de7288ca2abb49f197daa237064aa4b8161c57490491ead9c8

See more details on using hashes here.

File details

Details for the file tree_sitter_rttm-0.1.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_rttm-0.1.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 d143297d89d5a00791c5af493e6de32fa8536fba4959b4c6d1fad79537edd530
MD5 639740d21ad64081d6145bb172077dd3
BLAKE2b-256 3c93189562602a9807081cb18277acfa275e0f6b516df079223ef095c41ea33d

See more details on using hashes here.

File details

Details for the file tree_sitter_rttm-0.1.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_rttm-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 90f2caf17f261b8d67d5008f935c5b68b18dff1efbab302fb9296604a8a60cd0
MD5 d00a2ad16eed6bcef126a272b5c3f4b1
BLAKE2b-256 4d6332c80e7c93b044bacb6902543542752053b2d6839a464af4449921604ba1

See more details on using hashes here.

File details

Details for the file tree_sitter_rttm-0.1.0-cp310-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_rttm-0.1.0-cp310-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3fb102891c0db864dcb5128740121e4753fb540cd9a195eb665eeb543f4193d1
MD5 6dcb1c8d152f077c2601b4ec8a4d0995
BLAKE2b-256 f3ef0fa2491f6880f9168373ce81cacd6ad48b615fa1aec5db53a1ab0f79bb8f

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