public class BrownClusterViewGenerator extends Annotator
Modifier and Type | Field and Description |
---|---|
static String |
file100 |
static String |
file1000 |
static String |
file320 |
static String |
file3200 |
config, isInitialized, requiredViews, viewName
Constructor and Description |
---|
BrownClusterViewGenerator(String name,
String file) |
BrownClusterViewGenerator(String name,
String file,
boolean gzip) |
BrownClusterViewGenerator(String name,
String file,
boolean gzip,
ResourceManager nonDefaultRm) |
BrownClusterViewGenerator(String name,
String file,
ResourceManager nonDefaultRm) |
Modifier and Type | Method and Description |
---|---|
void |
addView(TextAnnotation ta)
create and add the view named by getViewName() to the TextAnnotation argument.
|
String[] |
getRequiredViews()
Can be used internally by
BasicAnnotatorService to check for pre-requisites before
calling any single (external) Annotator . |
void |
initialize(ResourceManager rm)
noop -- uses its own lazy initialization.
|
void |
loadFromDataStore() |
doInitialize, getTagValues, getView, getViewName, isInitialized, isSentenceLevel
public static final String file100
public static final String file320
public static final String file1000
public static final String file3200
public BrownClusterViewGenerator(String name, String file) throws Exception
Exception
public BrownClusterViewGenerator(String name, String file, ResourceManager nonDefaultRm) throws Exception
Exception
public BrownClusterViewGenerator(String name, String file, boolean gzip) throws Exception
Exception
public BrownClusterViewGenerator(String name, String file, boolean gzip, ResourceManager nonDefaultRm) throws Exception
Exception
public void initialize(ResourceManager rm)
initialize
in class Annotator
rm
- configuration parameterspublic void addView(TextAnnotation ta)
Annotator
public String[] getRequiredViews()
Annotator
BasicAnnotatorService
to check for pre-requisites before
calling any single (external) Annotator
.getRequiredViews
in class Annotator
ViewNames
required by
this ViewGeneratorCopyright © 2017. All rights reserved.