From f5845ba075589a67a5f9bb6320ed591bae6c8b38 Mon Sep 17 00:00:00 2001 From: David Nolen Date: Mon, 13 Jun 2011 22:12:43 -0400 Subject: [PATCH] * README.md: update readme to reflect last change --- README.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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]]]]) ```