fst_io function

Read and write fst files