I have a converter saved as a DOT file. I see a graphical representation of the graphs using gvedit, but what if I want to convert the DOT file to an executable converter so that I can check the converter and see which lines it accepts and what doesn't.
Most tools I've seen in Openfst, Graphviz, and their Python extensions, DOT files are only used to create a graphical representation, but what if I want to parse the file to get an interactive program where I can check the lines against the converter?
Are there libraries that could accomplish this task, or should I just write it from scratch?
As I said, the DOT file is associated with a converter that I developed that mimics the morphology of the English language. This is a huge file, but just to give you an idea of how it looks like, I am providing a sample. Let's say I want to create a converter that will model the behavior of the English language with respect to nouns and in terms of multiplicity. My vocabulary consists of only three words (book, boy, girl). My converter in this case would look something like this:

which is directly built from this DOT file:
digraph A { rankdir = LR; node [shape=circle,style=filled] 0 node [shape=circle,style=filled] 1 node [shape=circle,style=filled] 2 node [shape=circle,style=filled] 3 node [shape=circle,style=filled] 4 node [shape=circle,style=filled] 5 node [shape=circle,style=filled] 6 node [shape=circle,style=filled] 7 node [shape=circle,style=filled] 8 node [shape=circle,style=filled] 9 node [shape=doublecircle,style=filled] 10 0 -> 4 [label="g "]; 0 -> 1 [label="b "]; 1 -> 2 [label="o "]; 2 -> 7 [label="y "]; 2 -> 3 [label="o "]; 3 -> 7 [label="k "]; 4 -> 5 [label="i "]; 5 -> 6 [label="r "]; 6 -> 7 [label="l "]; 7 -> 9 [label="<+N:s> "]; 7 -> 8 [label="<+N:0> "]; 8 -> 10 [label="<+Sg:0> "]; 9 -> 10 [label="<+Pl:0> "]; }
Testing this word converter now means that if you submit it using book+Pl , it should spit books back and vice versa. I would like to see how you can turn a dot file into a format that will allow such analysis and testing.