public class BAT2NIF_TranslationHelper extends Object
| Constructor and Description |
|---|
BAT2NIF_TranslationHelper(it.unipi.di.acube.batframework.utils.WikipediaApiInterface wikiApi) |
| Modifier and Type | Method and Description |
|---|---|
org.aksw.gerbil.transfer.nif.Document |
createDocument(String text) |
org.aksw.gerbil.transfer.nif.Document |
createDocumentWithAnnotations(String text,
Set<it.unipi.di.acube.batframework.data.Annotation> annotations) |
org.aksw.gerbil.transfer.nif.Document |
createDocumentWithMentions(String text,
Set<it.unipi.di.acube.batframework.data.Mention> mentions) |
org.aksw.gerbil.transfer.nif.Document |
createDocumentWithTags(String text,
Set<it.unipi.di.acube.batframework.data.Tag> mentions) |
org.aksw.gerbil.transfer.nif.data.NamedEntity |
translate(it.unipi.di.acube.batframework.data.Annotation annotation) |
org.aksw.gerbil.transfer.nif.Span |
translate(it.unipi.di.acube.batframework.data.Mention mention) |
org.aksw.gerbil.transfer.nif.data.NamedEntity |
translate(it.unipi.di.acube.batframework.data.ScoredAnnotation annotation) |
org.aksw.gerbil.transfer.nif.Meaning |
translate(it.unipi.di.acube.batframework.data.ScoredTag tag) |
org.aksw.gerbil.transfer.nif.Meaning |
translate(it.unipi.di.acube.batframework.data.Tag tag) |
List<org.aksw.gerbil.transfer.nif.MeaningSpan> |
translateAnnotations(Set<it.unipi.di.acube.batframework.data.Annotation> annotations) |
List<org.aksw.gerbil.transfer.nif.Span> |
translateMentions(Set<it.unipi.di.acube.batframework.data.Mention> mentions) |
List<org.aksw.gerbil.transfer.nif.Meaning> |
translateTags(Set<it.unipi.di.acube.batframework.data.Tag> tags) |
String |
translateWId(int id) |
public BAT2NIF_TranslationHelper(it.unipi.di.acube.batframework.utils.WikipediaApiInterface wikiApi)
public org.aksw.gerbil.transfer.nif.Document createDocument(String text)
public org.aksw.gerbil.transfer.nif.Document createDocumentWithMentions(String text, Set<it.unipi.di.acube.batframework.data.Mention> mentions)
public org.aksw.gerbil.transfer.nif.Document createDocumentWithTags(String text, Set<it.unipi.di.acube.batframework.data.Tag> mentions)
public org.aksw.gerbil.transfer.nif.Document createDocumentWithAnnotations(String text, Set<it.unipi.di.acube.batframework.data.Annotation> annotations)
public List<org.aksw.gerbil.transfer.nif.Span> translateMentions(Set<it.unipi.di.acube.batframework.data.Mention> mentions)
public List<org.aksw.gerbil.transfer.nif.Meaning> translateTags(Set<it.unipi.di.acube.batframework.data.Tag> tags)
public List<org.aksw.gerbil.transfer.nif.MeaningSpan> translateAnnotations(Set<it.unipi.di.acube.batframework.data.Annotation> annotations)
public org.aksw.gerbil.transfer.nif.Span translate(it.unipi.di.acube.batframework.data.Mention mention)
public org.aksw.gerbil.transfer.nif.Meaning translate(it.unipi.di.acube.batframework.data.Tag tag)
public org.aksw.gerbil.transfer.nif.Meaning translate(it.unipi.di.acube.batframework.data.ScoredTag tag)
public org.aksw.gerbil.transfer.nif.data.NamedEntity translate(it.unipi.di.acube.batframework.data.Annotation annotation)
public org.aksw.gerbil.transfer.nif.data.NamedEntity translate(it.unipi.di.acube.batframework.data.ScoredAnnotation annotation)
public String translateWId(int id)
Copyright © 2014–2017. All rights reserved.