nlpir-team / elasticsearch-analysis-ictclas Goto Github PK
View Code? Open in Web Editor NEWElasticsearch analysis plugin of ICTCLAS
License: MIT License
Elasticsearch analysis plugin of ICTCLAS
License: MIT License
现在, 在init阶段获取的错误都是 other thread is under initialization
localhost:9200/_analyze
{
"analyzer": "ictclas_index",
"text": [
"1c77c1a0-3dc8-4802-aa86-d1aa4cd8210d",
"815ecec9-b6dd-4eec-b0c5-e3a58b7c4495"
]
}
Got:
{
"tokens": [
{
"token": "1c77c1a0",
"start_offset": 0,
"end_offset": 8,
"type": "x",
"position": 0
},
{
"token": "-",
"start_offset": 8,
"end_offset": 9,
"type": "wp",
"position": 1
},
{
"token": "3dc8",
"start_offset": 9,
"end_offset": 13,
"type": "x",
"position": 2
},
{
"token": "-",
"start_offset": 13,
"end_offset": 14,
"type": "wp",
"position": 3
},
{
"token": "4802-",
"start_offset": 14,
"end_offset": 19,
"type": "m",
"position": 4
},
{
"token": "4802",
"start_offset": 14,
"end_offset": 18,
"type": "",
"position": 5
},
{
"token": "-",
"start_offset": 18,
"end_offset": 19,
"type": "",
"position": 6
},
{
"token": "aa86",
"start_offset": 19,
"end_offset": 23,
"type": "x",
"position": 7
},
{
"token": "-",
"start_offset": 23,
"end_offset": 24,
"type": "wp",
"position": 8
},
{
"token": "d1aa4cd8210d",
"start_offset": 24,
"end_offset": 36,
"type": "x",
"position": 9
},
{
"token": "815ecec9",
"start_offset": 1,
"end_offset": 9,
"type": "n",
"position": 10
},
{
"token": "-",
"start_offset": 9,
"end_offset": 10,
"type": "wp",
"position": 11
},
{
"token": "b6dd",
"start_offset": 10,
"end_offset": 14,
"type": "x",
"position": 12
},
{
"token": "-",
"start_offset": 14,
"end_offset": 15,
"type": "wp",
"position": 13
},
{
"token": "4eec",
"start_offset": 15,
"end_offset": 19,
"type": "x",
"position": 14
},
{
"token": "-",
"start_offset": 19,
"end_offset": 20,
"type": "wp",
"position": 15
},
{
"token": "b0c5",
"start_offset": 20,
"end_offset": 24,
"type": "x",
"position": 16
},
{
"token": "-",
"start_offset": 24,
"end_offset": 25,
"type": "wp",
"position": 17
},
{
"token": "e3a58b7c4495",
"start_offset": 25,
"end_offset": 37,
"type": "x",
"position": 18
}
]
}
815ecec9
got wrong:
startOffset must be non-negative, and endOffset must be >= startOffset, and offsets must not go backwards startOffset=1,endOffset=9,lastStartOffset=24 for field
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.