public class Microposts2015Dataset extends AbstractDataset implements InitializableDataset
| Modifier and Type | Field and Description |
|---|---|
protected List<org.aksw.gerbil.transfer.nif.Document> |
documents |
protected static int |
typeIndex |
granter, name| Constructor and Description |
|---|
Microposts2015Dataset(String annotatedFile,
String tweetsFile) |
| Modifier and Type | Method and Description |
|---|---|
protected static List<org.aksw.gerbil.transfer.nif.Marking> |
findMarkings(Set<String> lines,
String text) |
List<org.aksw.gerbil.transfer.nif.Document> |
getInstances() |
protected static String |
getTypeURI(String type) |
void |
init() |
protected List<org.aksw.gerbil.transfer.nif.Document> |
loadDocuments(File annotations,
File tweetsFile) |
int |
size() |
close, getName, performClose, setClosePermitionGranter, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, setClosePermitionGranter, setNameprotected List<org.aksw.gerbil.transfer.nif.Document> documents
protected static int typeIndex
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 annotations, File tweetsFile) throws GerbilException
GerbilExceptionprotected static List<org.aksw.gerbil.transfer.nif.Marking> findMarkings(Set<String> lines, String text)
Copyright © 2014–2017. All rights reserved.