 (ns babel.test.es
   (:refer-clojure :exclude [get-in])
   (:require [babel.directory :refer [models]]
-            [babel.espanol :refer [analyze generate small medium parse]]
+            [babel.espanol :as espanol :refer [analyze generate parse]]
             [babel.espanol.grammar :as grammar]
             [babel.espanol.morphology :refer [fo]]
             [clojure.repl :refer [doc]]

                                             :subj {:pred :I}
                                             :pred :be-called
                                             :obj {:pred :Juan}}}}
                             (small)))]
    (is (or (= result
               "yo me llamo Juan")
            (= result "me llamo Juan")))))

            #?(:cljs [babel.logjs :as log]) 
            [dag_unify.core :refer [get-in]]))

(def small (espanol/small))

(deftest generate-conditional
  (let [result (generate {:synsem {:subcat '()
                                   :sem {:pred :sleep
                                         :subj {:pred :I}
                                         :tense :conditional}}}
                         :model small
                         :truncate-children false)]
    (is (= :1st (get-in result [:comp :synsem :agr :person])))
    (is (= :sing (get-in result [:comp :synsem :agr :number])))
    (is (or (= "yo dormiría" (fo result))
