Crates.io | lindera-server |
lib.rs | lindera-server |
version | 0.12.0 |
source | src |
created_at | 2022-03-18 07:10:40.637301 |
updated_at | 2022-03-18 07:10:40.637301 |
description | Lindera server. |
homepage | https://github.com/lindera-morphology/lindera-server |
repository | https://github.com/lindera-morphology/lindera-server |
max_upload_size | |
id | 552563 |
size | 72,160 |
A Japanese Morphological Analysis Server.
% cargo run -- -H 0.0.0.0 -p=3333 -t ipadic
% curl -XPOST -H 'Content-type: text/plain' http://localhost:3333/tokenize --data-binary 'すもももももももものうち' | jq .
[
{
"detail": [
"名詞",
"一般",
"*",
"*",
"*",
"*",
"すもも",
"スモモ",
"スモモ"
],
"text": "すもも"
},
{
"detail": [
"助詞",
"係助詞",
"*",
"*",
"*",
"*",
"も",
"モ",
"モ"
],
"text": "も"
},
{
"detail": [
"名詞",
"一般",
"*",
"*",
"*",
"*",
"もも",
"モモ",
"モモ"
],
"text": "もも"
},
{
"detail": [
"助詞",
"係助詞",
"*",
"*",
"*",
"*",
"も",
"モ",
"モ"
],
"text": "も"
},
{
"detail": [
"名詞",
"一般",
"*",
"*",
"*",
"*",
"もも",
"モモ",
"モモ"
],
"text": "もも"
},
{
"detail": [
"助詞",
"連体化",
"*",
"*",
"*",
"*",
"の",
"ノ",
"ノ"
],
"text": "の"
},
{
"detail": [
"名詞",
"非自立",
"副詞可能",
"*",
"*",
"*",
"うち",
"ウチ",
"ウチ"
],
"text": "うち"
}
]