public class AIDACoNLLDataset extends AbstractDataset implements InitializableDataset
granter, name| Constructor and Description |
|---|
AIDACoNLLDataset(String file) |
AIDACoNLLDataset(String file,
int firstDocId,
int lastDocId) |
AIDACoNLLDataset(String file,
String firstDocId,
String lastDocId) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<String> |
generateArtificialUri(String uriPrefix,
String surfaceForm) |
List<org.aksw.gerbil.transfer.nif.Document> |
getInstances() |
void |
init() |
protected List<org.aksw.gerbil.transfer.nif.Document> |
loadDocuments(File file) |
int |
size() |
close, getName, performClose, setClosePermitionGranter, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, setClosePermitionGranter, setNamepublic AIDACoNLLDataset(String file)
public AIDACoNLLDataset(String file, int firstDocId, int lastDocId)
public List<org.aksw.gerbil.transfer.nif.Document> getInstances()
getInstances in interface Datasetpublic void init()
throws GerbilException
init in interface InitializableDatasetGerbilExceptionprotected List<org.aksw.gerbil.transfer.nif.Document> loadDocuments(File file) throws GerbilException
GerbilExceptionprotected Set<String> generateArtificialUri(String uriPrefix, String surfaceForm) throws GerbilException
GerbilExceptionCopyright © 2014–2017. All rights reserved.