add thrax README

This commit is contained in:
Jakub Pokrywka 2022-01-02 21:42:46 +01:00
parent a87be60cde
commit 02c3feb1de
2 changed files with 11 additions and 2 deletions

View File

@ -354,4 +354,13 @@ xxd -b file
xxd file xxd file
``` ```
termin oddawania zadań - 15. listopada termin oddawania zadań - 15. listopada
## Zajęcia 7
https://www.openfst.org/twiki/bin/view/GRM/Thrax
https://www.cs.jhu.edu/~jason/465/hw-ofst/hw-ofst.pdf
Wszystkie zadania proszę robić na wzór `TaskH00`. Proszę umieszczać gramatykę w pliku `grammar.grm` oraz
opisywać finalną regułę nazwą `FinalRule`.

View File

@ -7,5 +7,5 @@ Bit = Zero | One;
export First = Optimize[Zero Zero* Bit* One One One One?]; export First = Optimize[Zero Zero* Bit* One One One One?];
export Second = Optimize[ (Zero One (One One)*)* | (One (One One)* Zero )* | Zero* | (Zero One (One One)* Zero )* ]; export Second = Optimize[ (Zero One (One One)* )* | (One (One One)* Zero )* | Zero* | (Zero One (One One)* Zero )* ];
export Third = Optimize["a" (("b":"x")+ | ("c"+ : "y") | ("":"fric")) "a"]; export Third = Optimize["a" (("b":"x")+ | ("c"+ : "y") | ("":"fric")) "a"];