You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Create parallel Regular expression for two replacement rules
2. like: regex p -> "pl" ,, "p2" -> "p4" ;
my question is there any tool or library to visualize the compiled regular
expression as FST network plotted visually.
Thanks
Original issue reported on code.google.com by [email protected] on 16 Jan 2013 at 11:23
The text was updated successfully, but these errors were encountered:
If you're running Linux or OSX, the "view" command should display the compiled
FST visually. OSX may require installation of GraphViz
(http://www.graphviz.org/Download_macos.php). Windows is not supported for
visualization.
I already installed Graphviz on my Linux RHEL 5.x and after that when i created
simple foma RE lik regex abc;
then type "view" but nothing happen only the prompt move to new line.
so how can i access the visual fst? is it saved on hard disk as .png file or it
should display instantly after entr view command?
Finally i found the .png stored under /tmp/ folder also the dot script file
another method i made also:
from foma type: foma[]: print dot > filename.txt
this command will genrate the dot script for drawing the fst
then exit from foma
and type following command from linux terminal:
# dot -Tpng -o outgraph.png filename.txt
thanks
Original issue reported on code.google.com by
[email protected]
on 16 Jan 2013 at 11:23The text was updated successfully, but these errors were encountered: