hn18001 / ctcdecode

PyTorch CTC Decoder bindings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ctcdecode

ctcdecode is an implementation of CTC (Connectionist Temporal Classification) beam search decoding for PyTorch. C++ code borrowed liberally from Paddle Paddles' DeepSpeech. It includes swappable scorer support enabling standard beam search, and KenLM-based decoding.

Installation

The library is largely self-contained and requires only PyTorch 1.0. Building the C++ library requires gcc or clang. KenLM language modeling support is also optionally included, and enabled by default.

# get the code
git clone --recursive https://github.com/parlance/ctcdecode.git
cd ctcdecode
pip install .

About

PyTorch CTC Decoder bindings

License:MIT License


Languages

Language:C++ 75.5%Language:Python 21.4%Language:C 3.1%