An open API service indexing awesome lists of open source software.

https://github.com/apache/incubator-nlpcraft-java-client

Native Java Client for Apache NLPCraft.
https://github.com/apache/incubator-nlpcraft-java-client

apache java nlp

Last synced: 12 months ago
JSON representation

Native Java Client for Apache NLPCraft.

Awesome Lists containing this project

README

          



[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/apache/opennlp/master/LICENSE)
[![build](https://github.com/apache/incubator-nlpcraft-java-client/workflows/build/badge.svg)](https://github.com/apache/incubator-nlpcraft-java-client/actions)
[![Documentation Status](https://img.shields.io/:docs-latest-green.svg)](https://nlpcraft.apache.org/docs.html)
[![Gitter](https://badges.gitter.im/apache-nlpcraft/community.svg)](https://gitter.im/apache-nlpcraft/community)

## What is Apache NLPCraft?
[Apache NLPCraft](https://nlpcraft.apache.org/) is an open source library for adding a natural language interface to any applications.
Based on semantic modelling it allows rapid implementation and requires no model training or pre-existing text corpora.

## Java Client
Native Java client provide easy-to-use Java-based API that wraps standard NLPCraft [REST APIs](https://nlpcraft.apache.org/using-rest.html).
It can be used by any JVM language that provides Java interop such as Scala, Groovy, or Kotlin.

For any questions, feedback or suggestions:

* Latest [Javadoc](https://nlpcraft.apache.org/apis/java-client/latest/index.html) and [REST APIs](https://nlpcraft.apache.org/using-rest.html)
* Maven/Grape/Gradle/SBT [instructions](https://nlpcraft.apache.org/download.html#java-client)
* Post a question at [Stack Overflow](https://stackoverflow.com/questions/ask) using nlpcraft tag
* Access [GitHub](https://github.com/apache/incubator-nlpcraft-java-client) mirror repository.
* Join on [dev@nlpcarft.apache.org](mailto:dev@nlpcarft.apache.org)

## Other Projects
- [Apache NLPCraft](https://github.com/apache/incubator-nlpcraft) - Main NLPCraft project.

## Usage
From any JVM-based application code:
```java
// Get client instance with all defaults.
NCClient cli = new NCClientBuilder().build();

// Perform any necessary calls...
NCResult res = cli.askSync("my.model.id", "Hey, isn't NLPCraft cool?");

// Close client & sign out at the end.
cli.close();
```

### Copyright
Copyright (C) 2020 Apache Software Foundation