[
https://issues.apache.org/jira/browse/STANBOL-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rupert Westenthaler updated STANBOL-1293:
-----------------------------------------
Summary: LangDetect engine SHOULD NOT fail for ContentItems with no Text
(was: LangDetect engine SHOULD not fail for ContentItems with no Text)
> 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)