started analyze_terms.clj, separated from craft_unify.clj