A program for exploring vocabulary files on the REPL. Hopefully providing enough useful procedures.
Run with GNU Guile to use. Use the provided =Makefile=: make
(define myvoc (vocabulary-filter voc §not-learned (make-relevance-filter 3 >=))) (percentage (stat-learned voc))
(vector-map (λ (ind elem) (alist-refs elem '("translation-data" "native"))) (vocabulary-words (vocabulary-filter (? voc "hsk3") §not-learned)))
Search results can be searched again:
(? (? voc "hsk3") "grammar")
;; or shorter
(?? voc "hsk3" "grammar")
(vocabulary-filter (? voc "hsk3") §not-learned)
Search results can be trained:
(train (?? voc "hsk3" "grammar"))