Liking cljdoc? Tell your friends :D

stemmers.core


*excluded-words*clj

source

*max-word-length*clj

source

*min-word-length*clj

source

default-stemmerclj

source

excluded-word?clj

(excluded-word? word)

true if word matches our exclusion criteria.

`true` if `word` matches our exclusion criteria.
sourceraw docstring

expand-hyphenated-wordsclj

(expand-hyphenated-words word-seq)

Expand any hyphenated words in seq into [hyphenated-word hyphenated word].

Expand any hyphenated words in seq into `[hyphenated-word hyphenated word]`.
sourceraw docstring

remove-excluded-wordsclj

(remove-excluded-words word-seq)

Remove short and blacklisted words (see *excluded-words*).

Remove short and blacklisted words (see `*excluded-words*`).
sourceraw docstring

stemsclj

(stems phrase)
(stems phrase stemmer-func)

Stem all words in a phrase or sentence, with reference to *max- and *min-word-length* and *excluded-words*.

Stem all words in a phrase or sentence, with reference to `*max-` and `*min-word-length*` and `*excluded-words*`.
sourceraw docstring

tokeniseclj

(tokenise txt)

Tokenise a phrase, respecting exclusion criteria. e.g.:

=> (tokenise "searching a set of words") ("searching" "set" "words")

Tokenise a phrase, respecting exclusion criteria. e.g.:

=> (tokenise "searching a set of words")
("searching" "set" "words")
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close