                                     (= (get-in % [:synsem :pronoun]) true)))
                               v)]
                   (if (not (empty? filtered-v))
-                    [k filtered-v]))))]
+                    [k filtered-v]))))
+        lexicon-for-generation (lexicon-for-generation lexicon)]
     {:name "small"
      :morph-walk-tree (fn [tree]
                         (do

                                             (not (= (get-in % [:synsem :pronoun] false) true)))))
                              v)
                      ;; TODO: remove this removal:
                      ;; don't remove this semantic info.
                      remove-semantic-features
                      (map (fn [lexeme]
                             (remove-matching-keys lexeme

                              v)]
                  (if (not (empty? filtered-v))
                    [k filtered-v]))))
        lexicon-for-generation (lexicon-for-generation lexicon)
        rules (map #(keyword (get-in % [:rule])) grammar)]
    {:name "medium"
     :language "it"
