September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -0,0 +1,11 @@
|
|||
parseRuleSet( // rule set in a list
|
||||
T("# Slightly modified from the rules on Wikipedia",
|
||||
"A -> apple", "B -> bag", "S -> .shop", "T -> the",
|
||||
"the shop -> my brother", "a never used -> .terminating rule")) :
|
||||
markov("I bought a B of As from T S.",_).println();
|
||||
|
||||
parseRuleSet("# BNF Syntax testing rules", "A -> apple",
|
||||
"WWWW -> with", "Bgage -> ->.*", "B -> bag", "->.* -> money",
|
||||
"W -> WW", "S -> .shop", "T -> the",
|
||||
"the shop -> my brother", "a never used -> .terminating rule") :
|
||||
markov("I bought a B of As W my Bgage from T S.",_).println();
|
||||
Loading…
Add table
Add a link
Reference in a new issue