Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
oroszgy committed Mar 4, 2017
1 parent 1cb4cb7 commit a703afd
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

The aim of this project to provide a unified access to Hungarian NLP tools. As such it provides wrapper classes and a REST API.
Currently the project integrates:
* [`magyarlanc` 3.0](http://www.inf.u-szeged.hu/rgai/magyarlanc)
* [magyarlanc 3.0](http://www.inf.u-szeged.hu/rgai/magyarlanc)
* [Szeged NER](http://www.inf.u-szeged.hu/rgai/NER)
# Usage

## REST API
## Usage

### Install

Compile: `$ make dependencies install`

Run: `$ make serve`
### REST API

Test: `$ curl -X POST -H "Content-Type: application/json" -d '{
"text": "Szia."
}' "http://localhost:9090/v1/parse"`
Run the server: `$ make serve`

## Programmatically
Make a call: `$ curl -X POST -H "Content-Type: application/json" -d '{"text": "Szia."}' "http://localhost:9090/v1/parse"`

### Programmatically

```java
import hu.nlp.api.HuNlp;
Expand All @@ -30,7 +30,8 @@ List<Sentence> sentences = nlp.parse("Ez itt egy példa. Vajon működik?");
# Changelog

## 0.1
First release containing only magyarlanc.

First experimental release containing magyarlanc and Szeged NER.

# License

Expand Down

0 comments on commit a703afd

Please sign in to comment.