Liking cljdoc? Tell your friends :D

peco.core


alpha-numeric-string?clj

(alpha-numeric-string? s)

Matches a string that is a combination of digits and letters. Useful for matching many part numbers and strings like 3am etc.

Matches a string that is a combination of digits and letters. Useful for matching many part numbers and strings
like 3am etc.
sourceraw docstring

concat-ngramsclj

(concat-ngrams n pred)
(concat-ngrams n pred coll)

Repeatedley takes a sequence of length n from terms and passes it to pred. If pred returns a truthy value, the sequence is concatenated. Useful for normalising n-grams e.g. 'user name' -> 'username'. Returns a transducer if no collection of tokens is supplied.

Repeatedley takes a sequence of length n from terms and passes it to pred. If pred returns a truthy value, the
sequence is concatenated. Useful for normalising n-grams e.g. 'user name' -> 'username'. Returns a transducer if
no collection of tokens is supplied.
sourceraw docstring

concat-singlesclj

(concat-singles)
(concat-singles coll)

Concatenates consecutive single characters. Useful for normalising names etc. For example, after tokenization, [A D B Widgets] | [ADB Widgets] -> [ADB Widgets]. Returns a transducer if no collection of tokens is provided.

Concatenates consecutive single characters. Useful for normalising names etc.
For example, after tokenization, [A D B Widgets] | [ADB Widgets] -> [ADB Widgets].
Returns a transducer if no collection of tokens is provided.
sourceraw docstring

dimension-string?clj

(dimension-string? s)

Matches a string that looks like a dimension e.g. 3cm. The list of unit suffixes can defintely be improved upon.

Matches a string that looks like a dimension e.g. 3cm. The list of unit suffixes can defintely be improved upon.
sourceraw docstring

lancaster-stemclj

(lancaster-stem word)
source

lovins-stemclj

(lovins-stem word)
source

numeric-string?clj

(numeric-string? s)
source

operation-tableclj

source

porter-stemclj

(porter-stem word)
source

slurp-from-classpathclj

(slurp-from-classpath path)

Slurps a file from the classpath. Lifted from https://github.com/krisajenkins/yesql

Slurps a file from the classpath. Lifted from https://github.com/krisajenkins/yesql
sourceraw docstring

slurp-wordsclj

(slurp-words file-path)
(slurp-words file-path tokenizer)
source

token-pipelineclj

(token-pipeline operation-table operations)
source

tokenizeclj

(tokenize text)
source

tokenizerclj

(tokenizer)
(tokenizer operations)
(tokenizer operations & ud-operations)
source

tokenizer-fnclj

(tokenizer-fn operation-table operations)
source

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

× close