diff --git a/README.md b/README.md index 0791923d..cc9dcc35 100644 --- a/README.md +++ b/README.md @@ -177,15 +177,15 @@ core.logic has Prolog-type DCG syntax for parsing: ```clj (def-->e verb [v] - ([[:v 'eats]] [eats])) + ([[:v 'eats]] '[eats])) (def-->e noun [n] - ([[:n 'bat]] [bat]) - ([[:n 'cat]] [cat])) + ([[:n 'bat]] '[bat]) + ([[:n 'cat]] '[cat])) (def-->e det [d] - ([[:d 'the]] [the]) - ([[:d 'a]] [a])) + ([[:d 'the]] '[the]) + ([[:d 'a]] '[a])) (def-->e noun-phrase [n] ([[:np ?d ?n]] (det ?d) (noun ?n))) @@ -199,9 +199,6 @@ core.logic has Prolog-type DCG syntax for parsing: (run* [parse-tree] (sentence parse-tree '[the bat eats a cat] [])) -(run* [parse-tree] - (sentence parse-tree '[the bat eats a cat] [])) - ;; ([:s [:np [:d the] [:n bat]] [:vp [:v eats] [:np [:d a] [:n cat]]]]) ```