You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2014/03/06 15:56:43 UTC
[jira] [Created] (STANBOL-1293) LangDetect engine SHOULD not fail
for ContentItems with no Text
Rupert Westenthaler created STANBOL-1293:
--------------------------------------------
Summary: LangDetect engine SHOULD not fail for ContentItems with no Text
Key: STANBOL-1293
URL: https://issues.apache.org/jira/browse/STANBOL-1293
Project: Stanbol
Issue Type: Bug
Components: Enhancement Engines
Affects Versions: 0.12.0
Reporter: Rupert Westenthaler
Assignee: Rupert Westenthaler
Priority: Minor
Fix For: 1.0.0, 0.12.1
If a content item with no natural language text (e.g. only an number) is parsed to the LanguageDetection engine the engine currently thows an Exception causing the chain to fail.
com.cybozu.labs.langdetect.LangDetectException: no features in text
com.cybozu.labs.langdetect.Detector.detectBlock(Detector.java:235)
The intended behavior would be that the engine does not add any language annotation in such cases.
--
This message was sent by Atlassian JIRA
(v6.2#6252)