 (def source-format-fn (-> ((-> models source-language)) deref :morph))
 
 ;; function to generate expression in target langage
-(def target-generate-fn (-> ((-> models :la)) deref :generate-fn))
+(def generate (-> ((-> models :la)) deref :generate-fn))
 
 (def target-format-fn (-> ((-> models :la)) deref :morph))
 

         (fo (generate
              {:root "ardēre"
               :synsem {:sem {:subj {:pred :voi}
                              :tense :present}}}
              model)))))

(deftest generate-imperfect
  (is (= "ardebam"

   [babel.engine :as engine]
   [babel.english :as source]
   [babel.latin.morphology :refer [analyze conjugate]]
   [babel.latin :as target :refer [fo read-one]]
   [clojure.repl :refer [doc]]
   [clojure.test :refer [deftest is]]
   [clojure.tools.logging :as log]
