Skip to content

Instantly share code, notes, and snippets.

@tbpalsulich
Created May 15, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbpalsulich/bd1e1119923b3e1e8007 to your computer and use it in GitHub Desktop.
Save tbpalsulich/bd1e1119923b3e1e8007 to your computer and use it in GitHub Desktop.
Function to draw OpenFST transducers
function draw {fstdraw --isymbols=ascii.syms --osymbols=ascii.syms $1.fst | dot -Tpng -Eheadport=e -Etailport=w > $1.png}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment