11.5. twol.metric module

metric.py

Produces a weighted finite-state transducer (WFST) out of the alphabet definition as interpreted by alphabet.py. The WFST is the used by the aligner.py program.

Copyright 2020, Kimmo Koskenniemi

This is free software according to GNU GPL 3 license.

twol.metric.alignment_fst()[source]
twol.metric.main()[source]