A Python interface to OpenFst.
Project description
A Python interface for the OpenFst library.
Documentation: http://pyfst.github.io
Source code: https://github.com/vchahun/pyfst
Example usage:
import fst t = fst.Transducer() t.add_arc(0, 1, 'a', 'A', 0.5) t.add_arc(0, 1, 'b', 'B', 1.5) t.add_arc(1, 2, 'c', 'C', 2.5) t[2].final = 3.5 t.shortest_path() # 2 -(a:A/0.5)-> 1 -(c:C/2.5)-> 0/3.5
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
pyfst-0.2.3.tar.gz
(140.3 kB
view details)
File details
Details for the file pyfst-0.2.3.tar.gz.
File metadata
- Download URL: pyfst-0.2.3.tar.gz
- Upload date:
- Size: 140.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1be37b03e878557d1b0814c94413b13e43ac7c7362297fa723e0e9ca9152e69e
|
|
| MD5 |
ace694087b9057416f9be28260d7dcfa
|
|
| BLAKE2b-256 |
84cce1ca1b781738ebeaecd45ab910087d740046168bd6ff407d4424f28d404b
|