public class AZDCDataset extends Dataset
Dataset.Tag| Constructor and Description |
|---|
AZDCDataset() |
AZDCDataset(Tokenizer tokenizer) |
| Modifier and Type | Method and Description |
|---|---|
protected Sentence |
getSentence(String sentenceId,
String documentId,
String sentenceText,
Tokenizer tokenizer,
HashMap<String,LinkedList<Dataset.Tag>> tags,
Map<String,Set<String>> nameToId,
Map<String,Set<String>> idToName) |
protected HashMap<String,LinkedList<Dataset.Tag>> |
getTags(BufferedReader tagFile) |
void |
load(org.apache.commons.configuration.HierarchicalConfiguration config) |
List<Dataset> |
split(int n) |
getSentences, getTokenCountMention, getTokenCountTotal, getTypeCounts, setTokenizerpublic AZDCDataset(Tokenizer tokenizer)
public AZDCDataset()
public void load(org.apache.commons.configuration.HierarchicalConfiguration config)
protected HashMap<String,LinkedList<Dataset.Tag>> getTags(BufferedReader tagFile) throws IOException
IOExceptionprotected Sentence getSentence(String sentenceId, String documentId, String sentenceText, Tokenizer tokenizer, HashMap<String,LinkedList<Dataset.Tag>> tags, Map<String,Set<String>> nameToId, Map<String,Set<String>> idToName)
Copyright © 2018 JULIE Lab, Germany. All rights reserved.