public class AnnotationParser extends Object
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER |
private boolean |
removeUsedProperties |
Constructor and Description |
---|
AnnotationParser() |
AnnotationParser(boolean removeUsedProperties) |
Modifier and Type | Method and Description |
---|---|
private TypedNamedEntity |
addTypeInformation(TypedNamedEntity typedNE,
com.hp.hpl.jena.rdf.model.Model nifModel) |
private MeaningSpan |
addTypeInformationIfPossible(NamedEntity ne,
com.hp.hpl.jena.rdf.model.Model nifModel) |
private MeaningSpan |
addTypeInformationIfPossible(ScoredNamedEntity ne,
com.hp.hpl.jena.rdf.model.Model nifModel) |
void |
parseAnnotations(com.hp.hpl.jena.rdf.model.Model nifModel,
Document document,
com.hp.hpl.jena.rdf.model.Resource documentResource) |
private static final org.slf4j.Logger LOGGER
private boolean removeUsedProperties
public AnnotationParser()
public AnnotationParser(boolean removeUsedProperties)
public void parseAnnotations(com.hp.hpl.jena.rdf.model.Model nifModel, Document document, com.hp.hpl.jena.rdf.model.Resource documentResource)
private MeaningSpan addTypeInformationIfPossible(NamedEntity ne, com.hp.hpl.jena.rdf.model.Model nifModel)
private MeaningSpan addTypeInformationIfPossible(ScoredNamedEntity ne, com.hp.hpl.jena.rdf.model.Model nifModel)
private TypedNamedEntity addTypeInformation(TypedNamedEntity typedNE, com.hp.hpl.jena.rdf.model.Model nifModel)
Copyright © 2016. All rights reserved.