• Docs
  • Community
  • Use Cases
  • Downloads
  • v.1.0.0
  • GitHub
  1. Home
  2. Docs

Docs

  • Introduction
  • Overview
  • Installation
  • First Example
  • Developer Guide
  • Key Concepts
  • Intent Matching
  • Short-Term Memory
  • Examples
  • Calculator
  • Time
  • Light Switch
  • Light Switch FR
  • Light Switch RU
  • Pizzeria

Maven/Sbt

The easiest way to start using NLPCraft is to add SBT dependency to your project:

SBT Maven
                    libraryDependencies += "org.apache.nlpcraft" % "nlpcraft" % "1.0.0"
                    
                    <dependency>
                        <groupId>org.apache.nlpcraft</groupId>
                        <artifactId>nlpcraft</artifactId>
                        <version>1.0.0</version>
                    </dependency>
                    

NOTE: 1.0.0 is the latest version.

Installation From Source Code

To built and install NLPCraft from the source code:

  • If you downloaded binary ZIP archive - verify it and unzip it.
  • If you cloned GitHub repository or downloaded source archive compile it via:
    • sbt: $ sbt clean package
    • maven: $ mvn -B clean package -P stanford-core,examples

Minimal Java and Scala versions

Starting with version 1.0.0 NLPCraft requires JDK 11+ and Scala 3.2.2.

Create New Project

You can create new Scala projects in many ways - we recommend SBT to accomplish this task. Make sure that build.sbt file has the following content:

            ThisBuild / version := "0.1.0-SNAPSHOT"
            ThisBuild / scalaVersion := "3.2.2"
            lazy val root = (project in file("."))
              .settings(
                name := "Your project",
                version := "1.0.0",
                libraryDependencies += "org.apache.nlpcraft" % "nlpcraft" % "1.0.0",
                libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.15" % "test"
              )
        

NOTE: make sure to use the latest versions of Scala and ScalaTest.

Check out First Example for a quick deep dive.

  • On This Page
  • Maven/Sbt
  • From Source Code
  • New Project
  • Quick Links
  • Examples
  • Scaladoc
  • Download
  • Installation
  • Support
  • JIRA
  • Dev List
  • Stack Overflow
  • GitHub
  • Gitter
  • Twitter
Copyright © 2023 Apache Software Foundation asf Events • Privacy • News • Docs release: 1.0.0 Gitter Built in: