public abstract class EnhancementsParser extends Object
Enhancements object, allowing the user to use the results in an easier way.| Constructor and Description |
|---|
EnhancementsParser() |
| Modifier and Type | Method and Description |
|---|---|
Enhancements |
createEnhancements()
Returns an
Enhancements object from a serialized Enhancement Structure |
abstract Entity |
parseEntity(String entityUri,
String dataset)
Returns a dereferenced
Entity identified by its URI from a serialized Enhancement Structure |
abstract Collection<EntityAnnotation> |
parseEntityAnnotations()
Returns a
Collection of EntityAnnotations from a serialized Enhancement Structure |
abstract Collection<String> |
parseLanguages()
Returns a
Collection of languages from a serialized Enhancement Structure |
abstract Collection<TextAnnotation> |
parseTextAnnotations()
Returns a
Collection of TextAnnotations from a serialized Enhancement Structure |
abstract Collection<TopicAnnotation> |
parseTopicAnnotation()
Returns a
Collection of TopicAnnotations from a serialized Enhancement Structure |
public final Enhancements createEnhancements() throws EnhancementParserException
Enhancements object from a serialized Enhancement StructureEnhancementParserExceptionpublic abstract Collection<String> parseLanguages() throws EnhancementParserException
Collection of languages from a serialized Enhancement StructureEnhancementParserExceptionpublic abstract Collection<TextAnnotation> parseTextAnnotations() throws EnhancementParserException
Collection of TextAnnotations from a serialized Enhancement StructureEnhancementParserExceptionpublic abstract Collection<EntityAnnotation> parseEntityAnnotations() throws EnhancementParserException
Collection of EntityAnnotations from a serialized Enhancement StructureEnhancementParserExceptionpublic abstract Collection<TopicAnnotation> parseTopicAnnotation() throws EnhancementParserException
Collection of TopicAnnotations from a serialized Enhancement StructureEnhancementParserExceptionpublic abstract Entity parseEntity(String entityUri, String dataset) throws EnhancementParserException
Entity identified by its URI from a serialized Enhancement StructureentityUri - EnhancementParserExceptionCopyright © 2014 Redlink GmbH. All rights reserved.