NLPCraft requires no special installation operations. If you downloaded ZIP archive - simply unzip it. If you cloned GitHub repository use
mvn clean package command to build the artifacts.
In the following sections we'll cover how to verify that your installation is valid, how to run data probe and REST server, as well as several odd bits and pieces.
If you obtained ZIP archive of NLPCraft project from places other than this website we highly recommend to verify the integrity and authenticity of that archive by comparing cryptographic signatures. Signatures for all releases are available on the download page.
SHA1 signatures provided only for rare backward compatibility as they are not cryptographically strong and generally not recommended. In most cases you should only trust to
Following instructions assume Mac OS/Linux environment but the verification steps are similar for Windows. Note that you can also verify signatures online at File Hash Online Calculator or Online MD5.Mac OS
# Run these two commands and compare generated hashes: $ openssl dgst -md5 nlpcraft-0.5.1.zip $ cat nlpcraft-0.5.1.zip.md5
# Run these two commands and compare generated hashes: $ openssl dgst -sha256 nlpcraft-0.5.1.zip $ cat nlpcraft-0.5.1.zip.sha256
# Run these two commands and compare generated hashes: $ openssl dgst -sha1 nlpcraft-0.5.1.zip $ cat nlpcraft-0.5.1.zip.sha1
# NOTE: make sure to have GPGTools (gpgtools.org) installed. $ gpg --verify nlpcraft-0.5.1.zip.sig nlpcraft-0.5.1.zip
$ md5sum --check nlpcraft-0.5.1.zip.md5
$ sha256sum --check nlpcraft-0.5.1.zip.sha256
$ sha1sum --check nlpcraft-0.5.1.zip.sha1
$ gpg --verify nlpcraft-0.5.1.zip.sig nlpcraft-0.5.1.zip
NLPCraft required JDK 8 or older (as well as Git 2+ and Maven 3.5+ tools):
Verify that you have correct versions:
$ java -version $ git --version $ mvn --version
By default NLPCraft uses Apache Ignite project as its underlying in-memory distributed storage and cluster computing framework. If running with Apache Ignite 2.7 or earlier on Java 9/10/11 you need to follow these instructions. For Java 8 no additional parameters are required.
NOTE: It is NOT recommended to change the version of Apache Ignite inside NLPCraft project.