| Package | Description |
|---|---|
| org.aksw.gerbil.io.nif | |
| org.aksw.gerbil.io.nif.utils | |
| org.aksw.gerbil.transfer.nif | |
| org.aksw.gerbil.transfer.nif.data |
| Modifier and Type | Method and Description |
|---|---|
Document |
DocumentParser.getDocument(org.apache.jena.rdf.model.Model nifModel,
org.apache.jena.rdf.model.Resource documentResource) |
| Modifier and Type | Method and Description |
|---|---|
List<Document> |
DocumentListParser.parseDocuments(org.apache.jena.rdf.model.Model nifModel) |
List<Document> |
AbstractNIFParser.parseNIF(InputStream is) |
List<Document> |
NIFParser.parseNIF(InputStream is)
Parses the NIF data read from the given InputStream and returns the list
of documents that could be found.
|
List<Document> |
AbstractNIFParser.parseNIF(InputStream is,
org.apache.jena.rdf.model.Model nifModel) |
List<Document> |
NIFParser.parseNIF(InputStream is,
org.apache.jena.rdf.model.Model model)
Like
NIFParser.parseNIF(InputStream), this method parses the NIF data
inside the given String and returns the list of documents that could be
found. |
List<Document> |
AbstractNIFParser.parseNIF(Reader reader) |
List<Document> |
NIFParser.parseNIF(Reader reader)
Parses the NIF data read from the given Reader and returns the list of
documents that could be found.
|
List<Document> |
AbstractNIFParser.parseNIF(Reader reader,
org.apache.jena.rdf.model.Model nifModel) |
List<Document> |
NIFParser.parseNIF(Reader reader,
org.apache.jena.rdf.model.Model model)
Like
NIFParser.parseNIF(Reader), this method parses the NIF data inside
the given String and returns the list of documents that could be found. |
List<Document> |
AbstractNIFParser.parseNIF(String nifString) |
List<Document> |
NIFParser.parseNIF(String nifString)
Parses the NIF data inside the given String and returns the list of
documents that could be found.
|
List<Document> |
AbstractNIFParser.parseNIF(String nifString,
org.apache.jena.rdf.model.Model model) |
List<Document> |
NIFParser.parseNIF(String nifString,
org.apache.jena.rdf.model.Model model)
Like
NIFParser.parseNIF(String), this method parses the NIF data inside
the given String and returns the list of documents that could be found. |
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationParser.parseAnnotations(org.apache.jena.rdf.model.Model nifModel,
Document document,
org.apache.jena.rdf.model.Resource documentResource) |
void |
DocumentWriter.writeDocumentToModel(org.apache.jena.rdf.model.Model nifModel,
Document document) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.jena.rdf.model.Model |
AbstractNIFWriter.createNIFModel(List<Document> document) |
void |
DocumentListWriter.writeDocumentsToModel(org.apache.jena.rdf.model.Model nifModel,
List<Document> documents) |
String |
NIFWriter.writeNIF(List<Document> document)
Writes the given lost of
Document instances as NIF data to a
String. |
String |
AbstractNIFWriter.writeNIF(List<Document> document) |
void |
NIFWriter.writeNIF(List<Document> document,
OutputStream os)
Writes the given lost of
Document instances as NIF data to the
given OutputStream. |
void |
AbstractNIFWriter.writeNIF(List<Document> document,
OutputStream os) |
void |
NIFWriter.writeNIF(List<Document> document,
Writer writer)
|
void |
AbstractNIFWriter.writeNIF(List<Document> document,
Writer writer) |
| Modifier and Type | Method and Description |
|---|---|
static void |
NIFPositionHelper.correctAnnotationPositions(Document document)
The positions in NIF are measured in codepoints, while Java counts in
terms of characters.
|
static String |
NIFUriHelper.getNifUri(Document document,
int endPosition) |
| Modifier and Type | Method and Description |
|---|---|
Document |
AbstractNIFDocumentParser.getDocumentFromNIFReader(Reader reader) |
Document |
NIFDocumentParser.getDocumentFromNIFReader(Reader reader) |
Document |
AbstractNIFDocumentParser.getDocumentFromNIFStream(InputStream stream) |
Document |
NIFDocumentParser.getDocumentFromNIFStream(InputStream stream) |
Document |
AbstractNIFDocumentParser.getDocumentFromNIFString(String nifString) |
Document |
NIFDocumentParser.getDocumentFromNIFString(String nifString) |
| Modifier and Type | Method and Description |
|---|---|
String |
AbstractNIFDocumentCreator.getDocumentAsNIFString(Document document) |
String |
NIFDocumentCreator.getDocumentAsNIFString(Document document) |
| Modifier and Type | Class and Description |
|---|---|
class |
DocumentImpl |
Copyright © 2018. All rights reserved.