199aba3

Pinchord · pinchord.git · Tickets · Changelog

Branches > build-process > 199aba3 > files / setup.cfg

Remove redundant branch in Javelin dictionary generation

Grahp, 2026-09-05

Commit: 199aba303471ddff18eb105730ee885b962037e3
Parent: a725ca6

1 changed file:

src/org/pinchord/generate.clj modified (view file)

@@ -55,16 +55,12 @@      :starters [{:stroke "#+" :definition "{^}{-|}" :mask "#+"}                 {:stroke "" :definition "{}" :mask ""}]      :letters (->> (reduce (fn [acc [bank entries]]-                             (if-let [bank-keys (bank-keys bank)]-                               (into acc (mapv (fn [[stroke translation]]-                                                 {:stroke stroke :data translation :order (bank->priority bank)-                                                  :avoidMask (str (when (= bank :finals)-                                                                    "-")-                                                                  (mask stroke bank-keys))})-                                               entries))-                               (into acc (mapv (fn [[stroke translation]]-                                                 {:stroke stroke :data translation :order (bank->priority bank)})-                                               entries))))+                             (into acc (mapv (fn [[stroke translation]]+                                               {:stroke stroke :data translation :order (bank->priority bank)+                                                :avoidMask (str (when (= bank :finals)+                                                                  "-")+                                                                (mask stroke (bank-keys bank)))})+                                             entries)))                            #{} bank-chords)                    (sort-by (comp - count :stroke)))}))