save

fun save(metaOut: DataOutput, out: DataOutput)

Save the FST to DataOutput.

Parameters

metaOut

the DataOutput to write the metadata to

out

the DataOutput to write the FST bytes to


fun save(path: Path)

Writes an automaton to a file.