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.
- Host: GitHub
- URL: https://github.com/apache/incubator-nlpcraft-java-client
- Owner: apache
- License: apache-2.0
- Created: 2020-02-28T09:38:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-05T18:40:52.000Z (almost 4 years ago)
- Last Synced: 2025-07-08T02:05:53.396Z (12 months ago)
- Topics: apache, java, nlp
- Language: Java
- Homepage: https://nlpcraft.apache.org/
- Size: 288 KB
- Stars: 8
- Watchers: 7
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://raw.githubusercontent.com/apache/opennlp/master/LICENSE)
[](https://github.com/apache/incubator-nlpcraft-java-client/actions)
[](https://nlpcraft.apache.org/docs.html)
[](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
