std.text.index.stemmer

*excluded-words*

dynamic

*max-word-length*

dynamic

*min-word-length*

dynamic

default-stemmer

excluded-word?

added in 3.0

(excluded-word? word)

checks if word is excluded from indexing

(excluded-word? “and”) => true

expand-hyphenated-words

added in 3.0

(expand-hyphenated-words word-seq)

split hyphenated words

(expand-hyphenated-words “hello-world”) => “hello-world” “hello” “world”

remove-excluded-words

added in 3.0

(remove-excluded-words word-seq)

remove excluded words

stems

added in 3.0

(stems phrase)(stems phrase stemmer-func)

classifies text into word stems

(stems “The lazy brown fox jumped over”) => [“lazi” “brown” “fox” “jump” “over”]

tokenise

added in 3.0

(tokenise txt)

makes tokens from text

(tokenise “The lazy brown fox jumped over”) => [“lazy” “brown” “fox” “jumped” “over”]