Git Product home page Git Product logo

athena-decoder's Introduction

Athena-Decoder

Athena-Decoder is an open-source Automatic Speech Recognition (ASR) decoder tool implemented in python.

Our vision is to offer an universal, standard and user-friendly decoder tool for all kinds of model including but not limited to CTC, Attention-based model and Transformer

Key Features

  • Support frame-synchronous models
  • Support output-label-synchronous models
  • WFST-based decoder introducing word-level information for seq2seq model

Installation

This project has only been tested on Python 3. We recommend creating a virtual environment and installing the python requirements there.

git clone https://github.com/athena-team/athena-decoder.git
pip install -r requirements.txt
python setup.py bdist_wheel sdist
python -m pip install --ignore-installed dist/pydecoders-0.1.0*.whl
source ./tools/env.sh

Example

  1. WFST-based Decoder
# first build WFST graph,optional
# or you can skip this build step and use graph in hkust/graph directly 
python pydecoders/build_graph_main.py
# run decode step
python pydecoders/decode_wfst_main.py
  1. Beam-Search decoder
# run beam search decoder 
python pydecoders/decode_beam_search_main.py
  1. ArgMax decoder
  • modify the max_active parameter to 1 in BeamSearch decoder
  • run BeamSearch decoder

Please reference to build-graph.md and decoders.md in docs directory in detail.

athena-decoder's People

Contributors

godjealous avatar tjadamlee avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.