(parse-weights parser text-objs)
Use parser to parse a sequence of text description objects {:text text :location location}. Returns a weights map with the weights set to the number of times that path in the grammar was followed/used across all the texts from text-objs.
Use parser to parse a sequence of text description objects {:text text :location location}. Returns a weights map with the weights set to the number of times that path in the grammar was followed/used across all the texts from text-objs.
(parse-weights-from-files parser files)
Wrapper around parse-weights that marshals the text objects from a list of file paths.
Wrapper around parse-weights that marshals the text objects from a list of file paths.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close