简体   繁体   English

句子检测引擎无法在Stanbol中运行

[英]Sentence Detection Engine not working in Stanbol

I have configured an enhanement chain in stanbol including tika,language Detection, Custom Named Entity Recogniser and OpenNLP Sentence Detector. 我在stanbol配置了一个enhanement chain,包括tika,语言检测,Custom Named Entity Recogniser和OpenNLP Sentence Detector。

I am clearly getting the NER and lang-detect output but the setence detection engine dosent seem to work. 我显然得到了NER和lang-detect输出,但是setence检测引擎看起来很有效。

Am I missing something here? 我在这里错过了什么吗?

增强链

NER和Lang-detect输出,句子检测输出不存在

Instead of using opennlp-sentence you should use opennlp-token. 您应该使用opennlp-token而不是使用opennlp-sentence。 The sentence detection is useless because the model employed for the training model is only tokenized (and of course labelled with the entities). 句子检测是无用的,因为用于训练模型的模型仅被标记化(并且当然用实体标记)。 In output you won't ever see how the input is tokenized (or segmented into sentences), but it will show you the context from where it infers the output data. 在输出中,您将永远不会看到输入如何被标记化(或分段为句子),但它将向您显示它推断输出数据的上下文。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM