|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface URIGenerator
| Method Summary | |
|---|---|
void |
assignRecipeClass(String uri,
com.hp.hpl.jena.ontology.OntModel model)
adds an rdf:type statement to model for the respective recipe |
String |
getRecipeUri()
This returns the recipe class form the String ontology: http://nlp2rdf.lod2.eu/schema/string/ |
opennlp.tools.util.Span |
getSpanFor(String prefix,
String uri,
String text,
String anchoredPart)
|
void |
init(String text,
Set<opennlp.tools.util.Span> spans)
|
String |
makeUri(String prefix,
String text,
opennlp.tools.util.Span span)
Depending on the implementation, it might be necessary to call init before calling this function |
String |
makeUri(String prefix,
String text,
opennlp.tools.util.Span span,
com.hp.hpl.jena.ontology.OntModel model)
Additionally creates the uri in the model and assigns the recipe class |
| Method Detail |
|---|
String makeUri(String prefix,
String text,
opennlp.tools.util.Span span)
prefix - text - span -
String makeUri(String prefix,
String text,
opennlp.tools.util.Span span,
com.hp.hpl.jena.ontology.OntModel model)
prefix - text - span - model -
opennlp.tools.util.Span getSpanFor(String prefix,
String uri,
String text,
String anchoredPart)
void init(String text,
Set<opennlp.tools.util.Span> spans)
String getRecipeUri()
void assignRecipeClass(String uri,
com.hp.hpl.jena.ontology.OntModel model)
uri - model -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||