public class Conll2002 extends ANERReader
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,Set<String>> |
disambEntities |
protected HashMap<String,String> |
entities |
protected StringBuilder |
input |
CFG_KEY_MAX_SENTENCES, inputFiles, LOG, maxSentences
Constructor and Description |
---|
Conll2002()
Constructor for loading class.
|
Conll2002(String[] inputPaths)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addE(String word,
String classs) |
Map<String,String> |
getEntities() |
String |
getInput() |
void |
initFiles(String[] initFiles)
String to File.
|
static void |
main(String[] a)
Test.
|
void |
parse() |
protected StringBuilder input
public Conll2002()
public Conll2002(String[] inputPaths) throws IOException
inputPaths
- IOException
public static void main(String[] a) throws IOException
a
- IOException
public void initFiles(String[] initFiles) throws IOException
ANERReader
initFiles
in interface INERReader
initFiles
in class ANERReader
IOException
public void parse()
public String getInput()
Copyright © 2024. All rights reserved.