Remove unnecessary code

main
Eric Ihli 4 years ago
parent c6881b361d
commit 9d0f411012

@ -1059,11 +1059,8 @@
markov-trie
[eos eos eos]
(fn [children]
(let [banned-ids (->> banned-words
(map database)
(into #{eos bos}))]
(remove
#(banned-ids (.key %)) children))))
(remove
#(#{eos bos} (.key %)) children)))
database
(#(vector (rand-nth (phonetics/get-phones %)) %))
vector))

Loading…
Cancel
Save