Yabin Li
2023-10-16 c38e4f39f6b52c278294a11c9e06c260ea8e4ecd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# See www.openfst.org for extensive documentation on this weighted
# finite-state transducer library.
 
 
from libc.stdint cimport *
 
 
cdef extern from "<fst/types.h>" nogil:
 
  ctypedef int8_t int8
  ctypedef int16_t int16
  ctypedef int32_t int32
  ctypedef int64_t int64
  ctypedef uint8_t uint8
  ctypedef uint16_t uint16
  ctypedef uint32_t uint32
  ctypedef uint64_t uint64