Liking cljdoc? Tell your friends :D

duckling.corpus


corpusclj

(corpus forms)

Parse corpus

Parse corpus
sourceraw docstring

datetimeclj

(datetime & args)

Creates a datetime checker function to check if the token is valid

Creates a datetime checker function to check if the token is valid
sourceraw docstring

datetime-intervalclj

(datetime-interval from to)

Creates a datetime interval checker function

Creates a datetime interval checker function
sourceraw docstring

distanceclj

(distance value' & [unit' normalized' precision'])

Create a distance condition

Create a distance condition
sourceraw docstring

integerclj

(integer & [min max & predicates])

Return a func (duckling pattern) checking that dim=number and integer=true, optional range (inclusive), and additional preds

Return a func (duckling pattern) checking that dim=number and integer=true,
optional range (inclusive), and additional preds
sourceraw docstring

metricclj

(metric cat val)

Create a metric checker

Create a metric checker
sourceraw docstring

moneyclj

(money value' & [unit' precision'])

Create a amount-of-money condition

Create a amount-of-money condition
sourceraw docstring

numberclj

(number value)

check if the token is a number equal to value. If value is integer, it also checks :integer true

check if the token is a number equal to value.
If value is integer, it also checks :integer true
sourceraw docstring

ordinalclj

(ordinal value)
source

placeclj

(place pnl n)

Create a place checker

Create a place checker
sourceraw docstring

quantityclj

(quantity value unit & [product])

Create a quantity condition

Create a quantity condition
sourceraw docstring

read-corpusclj

(read-corpus new-file)

Read a list of symbol and return a Corpus map {:context {}, :tests []}

Read a list of symbol and return a Corpus map {:context {}, :tests []}
sourceraw docstring

temperatureclj

(temperature value' & [unit' precision'])

Create a temp condition

Create a temp condition
sourceraw docstring

this-nscljmacro

(this-ns)

Total hack to get ns of this file at compile time

Total hack to get ns of this file at compile time
sourceraw docstring

volumeclj

(volume value unit & [normalized])

Create a volume condition

Create a volume condition
sourceraw docstring

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

× close