githubharald/CTCWordBeamSearch

Connectionist Temporal Classification (CTC) decoder with dictionary and language model.

54
/ 100
Established

Implements beam search decoding constrained by a dictionary and optional word-level n-gram language model with add-k smoothing, enabling recognition of both dictionary words and arbitrary non-word characters (numbers, punctuation). Accepts raw RNN output (T×B×C+1 tensors) and supports four scoring modes trading accuracy for speed, from dictionary-only O(1) lookups to full n-gram forecasting. Distributed as a Python package with a C++ backend and integrates directly with neural network frameworks via numpy arrays.

577 stars.

No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 9 / 25
Community 25 / 25

How are scores calculated?

Stars

577

Forks

159

Language

C++

License

MIT

Last pushed

Jan 31, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/githubharald/CTCWordBeamSearch"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.