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, isSentenceLevelpublic 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
Exceptionpublic BrownClusterViewGenerator(String name, String file, ResourceManager nonDefaultRm) throws Exception
Exceptionpublic BrownClusterViewGenerator(String name, String file, boolean gzip) throws Exception
Exceptionpublic BrownClusterViewGenerator(String name, String file, boolean gzip, ResourceManager nonDefaultRm) throws Exception
Exceptionpublic void initialize(ResourceManager rm)
initialize in class Annotatorrm - configuration parameterspublic void addView(TextAnnotation ta)
Annotatorpublic String[] getRequiredViews()
AnnotatorBasicAnnotatorService to check for pre-requisites before
calling any single (external) Annotator.getRequiredViews in class AnnotatorViewNames required by
this ViewGeneratorCopyright © 2017. All rights reserved.