public class WikinerReader extends ANERReader
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,List<AbstractMap.SimpleEntry<String,Integer>>> |
disambEntities |
protected HashMap<String,String> |
entities |
protected StringBuilder |
input |
CFG_KEY_MAX_SENTENCES, inputFiles, LOG, maxSentences
Constructor and Description |
---|
WikinerReader()
Constructor for loading class.
|
WikinerReader(String[] inputPaths) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getEntities() |
String |
getInput() |
void |
initFiles(String[] initFiles)
String to File.
|
static void |
main(String[] a) |
protected void |
readData()
Tags are:
[I-MISC, B-LOC, I-PER, B-PER, I-LOC, B-MISC, I-ORG, B-ORG, O]
|
protected StringBuilder input
public WikinerReader()
public WikinerReader(String[] inputPaths) throws IOException
IOException
public static void main(String[] a) throws IOException
IOException
public void initFiles(String[] initFiles) throws IOException
ANERReader
initFiles
in interface INERReader
initFiles
in class ANERReader
IOException
protected void readData() throws IOException
IOException
public String getInput()
Copyright © 2024. All rights reserved.