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 16:22:44 UTC
[jira] [Resolved] (STANBOL-1293) LangDetect engine SHOULD NOT fail
for ContentItems with no Text
[ https://issues.apache.org/jira/browse/STANBOL-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rupert Westenthaler resolved STANBOL-1293.
------------------------------------------
Resolution: Fixed
fixed with http://svn.apache.org/r1574911 in 0.12 and http://svn.apache.org/r1574913 in trunk
> 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)