Merge remote branch 'origin/master' into production
merge with latest production fixes
TODO: fix this wholly unnecessary merge.
re-add congomongo to :use - it is needed after all.
Merge remote-tracking branch 'origin/production' into production
rearranged code between lexicon.clj and lexiconfn.clj to make lexicon easier to edit by humans.
add comments
fix namespace in usage of common-noun (it's in lexfn now)
-move commented-out part of lexicon.clj
-add new sentence-modifier "tre giorni fa (three days ago)"
alphabetize "ieri (yesterday)"
add "stamattina (this morning)"
remove :def restriction on "casa", assuming it was only there for debug purposes.
pass comp-spec as parameter to head-by-comps rather than computing each time, since it depends only on the first parameter head which is invariant with respect to the other params.
optimize lazy-head-filter: pass (unify sem-impl parent's head) to (lazy-head-filter) rather than passing sem-impl and parent's head separately.
reduce number of calls to unify/fail?, since it's an expensive function.
"venire per.. (to come to ..)" takes a deliberate action (e.g. "he came to work" but not "he came to lose his bag")
"perdere (to lose)" is not deliberate - you don't intend to lose things.
working on caching serialized forms for faster copying
cache serialization of phrasal rules for speed
(fail? X) tests if X==:fail first, since this is (or should be) a common outcome of failed unification.