This section demonstrates how to convert a transducer from `k2`_ to `OpenFst`_.
A transducer in `k2`_.
The above transducer converted to `OpenFst`_.
Pay attention to the negative
sign for numbers on the arcs.
.. literalinclude:: ./code/convert-transducer.py :language: python :linenos: :caption: Convert a transducer from `k2`_ to `OpenFst`_