Rupert Westenthaler created STANBOL-987: -------------------------------------------
Summary: TextAnnotation New Model Key: STANBOL-987 URL: https://issues.apache.org/jira/browse/STANBOL-987 Project: Stanbol Issue Type: Improvement Components: Enhancer Reporter: Rupert Westenthaler Assignee: Rupert Westenthaler This change will introduce the following changes to fise:TextAnnotation (and other fise:Enhancements that share the same properties) * fise:selection-prefix: some words/characters before the selected section. * fise:selection-head: the first few word/characters of a the selected section within the text. Alternative to fise:selected-text in case bigger sections of the parsed content need to be selected. * fise:selection-tail: the last few words/characters of a selected section. To be used together with fise:selection-head. * fise:selection-suffix: some words/characters after the selected section. The default length of the prefix, head, tail and suffix will be '10'. The length of the selected area where head/tail are used instead of selected-text will be 'max(30,prefixSuffixLength*5)' This issue covers: * adaption of the fise.owl file * adding of the properties to the Properties class * adding of the setOccurrence(..) helper to the EnhancementEngineHelper: This method will add necessary properties to describe the occurrence within the content based on start, end indexes as well as the content. * adding support for the new TextAnnotation model to the EnhancementStructureHelper unit test utility. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira