# interpunkce from rules import Rules punctuation = Rules( '(COMMA) → (word=[-,–])', # povinná čárka '(OPT_COMMA) → (word=[-,–])', # nepovinná čárka (v optional_punctuation) '(OPT_COMMA) → ε', '(OPT_FULLSTOP) → (word="[.?!:]")', '(OPT_FULLSTOP) → (k=I x="\.")', '(OPT_FULLSTOP) → ε', ) rules = punctuation