Clj-duckling 0.8.1

A Clojure library that parses text into structured data.

Installation

To install, add the following dependency to your project or build file:

[dpom/clj-duckling "0.8.1"]

Namespaces

clj-duckling.core

The main unit, contains global tests and examples of library use

clj-duckling.corpus.edn

The edn corpus

Public variables and functions:

clj-duckling.dims.core

Public variables and functions:

    clj-duckling.dims.distance

    Public variables and functions:

      clj-duckling.dims.duration

      Public variables and functions:

        clj-duckling.dims.money

        Public variables and functions:

          clj-duckling.dims.number

          Public variables and functions:

            clj-duckling.dims.quantity

            Public variables and functions:

              clj-duckling.dims.temperature

              Public variables and functions:

                clj-duckling.dims.time

                Public variables and functions:

                clj-duckling.dims.time.pred

                clj-duckling.dims.time.prod

                clj-duckling.dims.volume

                Public variables and functions:

                  clj-duckling.engine.core

                  Engine common protocol and specs

                  Public variables and functions:

                  clj-duckling.engine.edn

                  The edn format rules engine

                  Public variables and functions:

                  clj-duckling.ml.naivebayes

                  clj-duckling.model.classifier

                  The classifier model

                  Public variables and functions:

                  clj-duckling.spec

                  Project spec definitions

                  Public variables and functions:

                  clj-duckling.system

                  Integrant system specific functions

                  Public variables and functions:

                  clj-duckling.tool.duckling

                  The duckling tool

                  Public variables and functions:

                  clj-duckling.util.analyze

                  clj-duckling.util.core

                  clj-duckling.util.corpus

                  Checker functions used in corpus files. They return *nil* when OK, or [expected actual] when not OK

                  clj-duckling.util.engine

                  This component parses a phrase and extracts information based on rules.
                  The two main phases are matching and production.
                  1. rules are transformed into objets via rules macro
                  2. rules are (recursively) matched based on theirs pattern vectors.
                  3. tokens containing final info are produced using their production rules

                  clj-duckling.util.helpers

                  This namespace contains the common helpers used in rules

                  Public variables and functions:

                  clj-duckling.util.learn

                  clj-duckling.util.time

                  dev

                  Public variables and functions:

                  user

                  Public variables and functions: