This is a simple Japanese morphological analysis API server on Docker.
- Docker
- docker-compose
Run API server:
$ docker-compose up
GET /parse
with q
param
$ curl -s -S --get --data-urlencode 'q=きゃりーぱみゅぱみゅ' http://localhost:8080/parse | jq .
{
"result": [
{
"features": [
"名詞",
"固有名詞",
"人名",
"一般",
"*",
"*",
"きゃりーぱみゅぱみゅ",
"キャリーパミュパミュ",
"キャリーパミュパミュ"
],
"surface": "きゃりーぱみゅぱみゅ"
}
]
}
Clone repository:
$ git clone https://github.com/PiroHiroPiro/docker_template_morphological_analysis_api.git
$ cd docker_template_morphological_analysis_api
Build image:
$ docker-compose build
This software is released under the MIT License, see LICENSE.