Commit graph

5 commits

Author SHA1 Message Date
Simon Brooke 68fafdab99 OK, there's a bug on the analyse side and I think it's in merge-rules. All
the rules that ought to be being generated are being generated, but the rule
tree returned by analyse-tokens is incomplete. I'm not yet certain what is
wrong.
2013-11-08 12:58:46 +00:00
Simon Brooke 08b0514908 And for extra credit, deal with the special case of apostrophes, which
the Java version did not handle!
2013-11-08 11:19:30 +00:00
Simon Brooke 3315eef7b8 Now correctly tokenises all punctuation. 2013-11-08 11:11:30 +00:00
Simon Brooke 5c6a0f0b90 Uhmm... hadn't saved analyse.clj when I did the last commit. D'oh! 2013-11-08 10:58:27 +00:00
Simon Brooke a2958cb851 Right, separated analyse and synthesise stages into their own files, also
utils; and rewritten the analyse stage in more idiomatic clojure.

Analyse mostly working BUT out of stack exception on undermilkwood.txt,
also isn't treating punctuation as tokens.
2013-11-08 10:20:47 +00:00