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 2013/12/17 21:14:07 UTC
[jira] [Resolved] (STANBOL-1240) Lucene FST linking engine does not
check if FST models are available in canEnhance(..)
[ https://issues.apache.org/jira/browse/STANBOL-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rupert Westenthaler resolved STANBOL-1240.
------------------------------------------
Resolution: Fixed
Fix Version/s: 0.12.0
fixed
with http://svn.apache.org/r1551671 in the 0.12 branch
with http://svn.apache.org/r1551673 in the trunk
> Lucene FST linking engine does not check if FST models are available in canEnhance(..)
> --------------------------------------------------------------------------------------
>
> Key: STANBOL-1240
> URL: https://issues.apache.org/jira/browse/STANBOL-1240
> Project: Stanbol
> Issue Type: Bug
> Affects Versions: 0.12.0
> Reporter: Rupert Westenthaler
> Assignee: Rupert Westenthaler
> Priority: Minor
> Fix For: 0.12.0
>
>
> EnhancementEngines need to check in the canEnhance(..) method if they can enhance a ContentItem.
> While the Lucene FST Linking engine does check for the language and the required NLP analysis results it fails to check if an fitting FST model is present.
> Because of that the Constructor of the LinkingSession throws an IllegalStateException as it expects such calls to be already rejected by the Engine.
> The fix is that the canEnhance checks if the configuration provides a FST model for the language OR a FST model for the default matching lanugage. If both is not available it needs to return EnhancementEngine.CANNOT_ENHANCE.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)