<commit_before>(ns babel.francais.lexicon
  (:require
   [babel.lexiconfn :refer (unify)]
   [babel.francais.pos :refer :all]))

(def lexicon-source 
  {
   "abandoner" {:synsem {:cat :verb
                         :sem {:pred :abandon}}}

   "accepter" {:synsem {:cat :verb
                        :sem {:pred :accept}}}

   "accompagner" {:synsem {:cat :verb
                           :sem {:pred :accompany}}}

   "anoncier" {:synsem {:cat :verb
                        :sem {:pred :announce}}}

   "appeler" {:synsem {:cat :verb
                       :sem {:pred :call}}}

   "apporter" [{:synsem {:cat :verb
                         :sem {:pred :take}}}
               {:synsem {:cat :verb
                         :sem {:pred :carry}}}]

   ;;  CONJUGATES LIKE TENIR
   "apprendre" {:synsem {:cat :verb
                         :sem {:pred :imparare}}}
                       
    "attendre" {:synsem {:cat :verb
                         :sem {:pred :wait}}}    
                       
    "assurer" {:synsem {:cat :verb
                         :sem {:pred :assure}}}    
                       
    "augmenter" {:synsem {:cat :verb
                         :sem {:pred :increase}}}                   
                       
   "avoir"
   {:synsem {:essere false
             :sem {:pred :avere}
             :cat :verb}
    :français {:infinitive "avoir"
               :futuro-stem "aur"
               :drop-e true
               :present {:1sing "ai"
                         :2sing "as"
                         :3sing "a"
                         :1plur "avons"
                         :2plur "avez"
                         :3plur "ont"}}}
   
    "boire" {:synsem {:boot-stem1 "boiv"
                        :boot-stem2 "buv"}
    :français {:passato "bu"}                  
             :synsem {:cat :verb
                      :sem {:pred :drink}}}                  
                      
   "changer" {:synsem {:cat :verb
                         :sem {:pred :change}}}                   
    
    "chanter" {:synsem {:cat :verb
                         :sem {:pred :sing}}}
    
                      
   "commencer" {:synsem {:cat :verb
                         :sem {:pred :begin}}}
     
     "ecouter" {:synsem {:cat :verb
                         :sem {:pred :listen}}}                  
     
     "marchcer" {:synsem {:cat :verb
                         :sem {:pred :walk}}}
                       
     "effacer" {:synsem {:cat :verb
                         :sem {:pred :erase}}}                  
   "elle"
   [{:synsem {:cat :noun
             :pronoun true
             :case :nom
             :agr {:person :3rd
                   :number :sing
                   :gender :fem}
              :sem {:human true
                    :pred :lei}<commit_msg>added comprendre<commit_after>(ns babel.francais.lexicon
  (:require
   [babel.lexiconfn :refer (unify)]
   [babel.francais.pos :refer :all]))

(def lexicon-source 
  {
   "abandoner" {:synsem {:cat :verb
                         :sem {:pred :abandon}}}

   "accepter" {:synsem {:cat :verb
                        :sem {:pred :accept}}}

   "accompagner" {:synsem {:cat :verb
                           :sem {:pred :accompany}}}

   "anoncier" {:synsem {:cat :verb
                        :sem {:pred :announce}}}

   "appeler" {:synsem {:cat :verb
                       :sem {:pred :call}}}

   "apporter" [{:synsem {:cat :verb
                         :sem {:pred :take}}}
               {:synsem {:cat :verb
                         :sem {:pred :carry}}}]

   ;;  CONJUGATES LIKE TENIR
   "apprendre" {:synsem {:cat :verb
                         :sem {:pred :imparare}}}
                       
    "attendre" {:synsem {:cat :verb
                         :sem {:pred :wait}}}    
                       
    "assurer" {:synsem {:cat :verb
                         :sem {:pred :assure}}}    
                       
    "augmenter" {:synsem {:cat :verb
                         :sem {:pred :increase}}}                   
                       
   "avoir"
   {:synsem {:essere false
             :sem {:pred :avere}
             :cat :verb}
    :français {:infinitive "avoir"
               :futuro-stem "aur"
               :drop-e true
               :present {:1sing "ai"
                         :2sing "as"
                         :3sing "a"
                         :1plur "avons"
                         :2plur "avez"
                         :3plur "ont"}}}
   
    "boire" {:synsem {:boot-stem1 "boiv"
                        :boot-stem2 "buv"}
    :français {:passato "bu"}                  
             :synsem {:cat :verb
                      :sem {:pred :drink}}}                  
                      
   "changer" {:synsem {:cat :verb
                         :sem {:pred :change}}}                   
    
    "chanter" {:synsem {:cat :verb
                         :sem {:pred :sing}}}
    
                      
   "commencer" {:synsem {:cat :verb
                         :sem {:pred :begin}}}
    
    "comprendre" {:synsem {:cat :verb
                         :sem {:pred :understand}}}
     
     "ecouter" {:synsem {:cat :verb
                         :sem {:pred :listen}}}                  
     
     "marchcer" {:synsem {:cat :verb
                         :sem {:pred :walk}}}
                       
     "effacer" {:synsem {:cat :verb
                         :sem {:pred :erase}}}                  
   "elle"
   [{:synsem {:cat :noun
             :pronoun true
             :case :nom
             :agr {:person :3rd
                   :number :sing
                   :gender :fem}
              :sem {:human true
                    :pred :lei}
{'fraction_non_alphanumeric': 0.13269975360788455, 'fraction_numerical': 0.0031678986272439284, 'mean_word_length': 0.9643968199101279, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '338319', 'n_tokens_mistral': 1756, 'n_tokens_neox': 1519, 'n_words': 399}