Skip to content

Latest commit

 

History

History
 
 

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

wav2letter python bindings

wav2letter binding supports ASG criterion (CUDA and CPU backends), featurization of raw audio (MFCC, MFSC, etc.) and beam-search decoder. Check the main installation docs for build instructions.

After wav2letter package is installed, please, have a look at the examples examples/ how to use classes and methods of wav2letter from python. To run examples use the following commands:

  • for ASG criterion using CUDA backend python examples/criterion_example.py
  • for ASG criterion using CPU backend python examples/criterion_example.py --cpu
  • lexicon beam-search decoder with KenLM word-level language model python examples/decoder_example.py ../../src/decoder/test
  • featurization python examples/feature_example.py ../../src/feature/test/data

Details on the usage of python bindings