Created
November 13, 2018 03:55
-
-
Save vznvzn/94b63c91d50a5b072bfcab814566ad7b 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 n=3 | |
set /a n2 = n - 1 | |
call minlen %n% > nul | |
call minlen %n2% > nul | |
set f1=fstlen%n%b.fst | |
set f2=fstlen%n2%b.fst | |
set f3=fstcomp.fst | |
set f4=fsmcomp.fst | |
set fin=%f1% | |
set fpre=pre.fst | |
copy %f1% %fpre% > nul | |
for %%x in (1 2 3 4 5 6) do ( | |
echo --%%x | |
fstcompose %fpre% fsmb.fst %f3% | |
fstproject --project_output=true %f3% %f4% | |
set f5=intersect.fst | |
fstintersect %f4% %fin% %f5% | |
call fstmin %f5% | |
copy %f5% %fpre% > nul | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment