   (:require
     [hxgm30.httpd.kit.response :as response]
     [hxgm30.language.app.handler.util :as util]
-    [hxgm30.language.gen.corpus :as corpus]
+    [hxgm30.language.components.lang :as lang]
     [taoensso.timbre :as log]))
 
 (defn read-lang-stats

          gen-type (util/get-gen-type request)]
      (log/debug "Got language:" lang)
      (response/json request
                     (corpus/undump gen-type lang)))))

(defn read-name-stats
  [component]

          name-type (util/get-name-type request)
          gen-type (util/get-gen-type request)]
      (response/json request
                     (lang/name-stats component race name-type gen-type)))))
