
public class GermanNERCorpus 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 |
|---|
GermanNERCorpus()
Constructor for loading class.
|
GermanNERCorpus(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.
|
protected StringBuilder input
public GermanNERCorpus()
public GermanNERCorpus(String[] inputPaths) throws IOException
inputPaths - IOExceptionpublic static void main(String[] a) throws IOException
a - IOExceptionpublic void initFiles(String[] initFiles) throws IOException
ANERReaderinitFiles in interface INERReaderinitFiles in class ANERReaderIOExceptionpublic String getInput()
Copyright © 2024. All rights reserved.