Created
January 14, 2016 22:19
-
-
Save vznvzn/620d8262e139aba5f438 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set d=C:\Users\vzn\Downloads\openfstwin-1.2.10\openfstwin-1.2.10\Release | |
del /f/q out1.txt out2.txt | |
for /l %%a in (50,50,10000) do ( | |
echo %%a | |
makefsm2 %%a > fsm.txt | |
%d%\fstcompile fsm.txt fsm.fst | |
%d%\fstinfo fsm.fst | findstr /c:"# of states" >> out1.txt | |
%d%\fstdeterminize fsm.fst fsm1.fst | |
%d%\fstminimize fsm1.fst fsm2.fst | |
%d%\fstinfo fsm2.fst | findstr /c:"# of states" >> out2.txt | |
) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment