![]() |
GrammarScope
4.0.0
|

Static Public Member Functions | |
| static CtClass | tweakMark () throws Exception |
| static CtClass | tweakGR () throws Exception |
| static CtClass | tweakModel (final MutableRelationModel model, final String modelClassName0) throws Exception |
| static void | tweakModel (final MutableRelationModel model, final String modelClassName, final Output mode, final String dir, final String jarName, final String version) throws Exception |
| static void | tweakToJVM (final String modelFile, final String modelClassName) throws Exception |
| static void | tweak (final String modelFile, final String modelClassName, final Output mode, final String dir, final String jarName, final String version) throws Exception |
| static void | tweak (final String[] args) throws Exception |
| static void | tweakToClass () throws Exception |
| static void | testMark (final String modelClassName0) |
| static void | testGR (final GrammaticalRelation grammaticalRelation) |
| static void | tests (final String modelClassName) |
| static void | main (final String[] args) throws Exception |
Static Public Attributes | |
| static final String | tweakMarkClassName = "edu.stanford.nlp.trees.TweakModelMark" |
Private Member Functions | |
| TweakModel () | |
Static Private Member Functions | |
| static void | addCatchConstructor (final CtClass clazz) throws NotFoundException, CannotCompileException |
| static void | buildArray (final CtClass modelClass, final String[] gRs, @SuppressWarnings("SameParameterValue") final String[] imports) throws CannotCompileException |
Static Private Attributes | |
| static final ClassPathForGeneratedClasses | classPathForGeneratedClasses = new ClassPathForGeneratedClasses() |
| static final String | stamp = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(new Date()) |
| static final String | eGRClassName = "edu.stanford.nlp.trees.EnglishGrammaticalRelations" |
| static final String | gRClassName = "edu.stanford.nlp.trees.GrammaticalRelation" |
| static final String | gRConstructorDescription = "(Ledu/stanford/nlp/international/Language;Ljava/lang/String;Ljava/lang/String;Ledu/stanford/nlp/trees/GrammaticalRelation;Ljava/lang/String;Ledu/stanford/nlp/trees/tregex/TregexPatternCompiler;[Ljava/lang/String;Ljava/lang/String;)V" |
| static final String | caughtExceptionName = "java.lang.IllegalArgumentException" |
| static final String[][] | modelFieldFilter |
| static final String[] | staticsDefs |
| static final String | valuesArray = "values0" |
| static final String | valuesArrayDef = "private static final GrammaticalRelation[] values0 = new GrammaticalRelation[] {edu.stanford.nlp.trees.GrammaticalRelation.DEPENDENT, %s };" |
| static final String[] | valuesDefs |
| static final String[] | methodDefs |
| static final String[] | markMethodDefs |
| static final String[] | gRImports |
| static final String[] | staticsImports |
| static final String[] | valuesImports |
Tweak grammatical relation model
|
private |
|
staticprivate |
Add catch to constructor
| clazz | class |
| NotFoundException | exception |
| CannotCompileException | exception |
|
staticprivate |
Build data array
| modelClass | wrapping model class |
| gRs | relation names |
| imports | imports |
| CannotCompileException | exception |
|
static |
Test
| args | unused |
| Exception | exception |
|
static |
Test grammatical relation
| grammaticalRelation | grammatical relation |
|
static |
Test mark
| modelClassName0 | model class name |
|
static |
A series of tests
| modelClassName | model class name |
|
static |
Tweak
| modelFile | model xml file (null = default model) |
| modelClassName | model class to tweak (null = default model) |
| mode | output node NONE, JAR, FILE, JVM, JVM_TEST |
| dir | director for JAR, FILE |
| jarName | for JAR |
| version | for JAR |
| Exception | exception |
|
static |
Tweak model
| args | command line |
| Exception | exception |
|
static |
Tweak GrammaticalRelation (catch IllegalArgument exception in core constructor)
| Exception | exception |
|
static |
Tweak from model
| Exception | exception |
|
static |
Tweak job
| model | model |
| modelClassName | model class to tweak (null = default model) |
| mode | output node NONE, JAR, FILE, JVM, JVM_TEST |
| dir | director for JAR, FILE |
| jarName | for JAR |
| version | for JAR |
| Exception | exception |
|
static |
Tweak from model
| model | model |
| modelClassName0 | model class name |
| Exception | exception |
|
static |
Tweak to class
| Exception | exception |
|
static |
Tweak to JVM
| modelFile | model xml file (null = default model) |
| modelClassName | model class to tweak (null = default model) |
| Exception | exception |
|
staticprivate |
|
staticprivate |
Class path for generated classes so that they can be found by javassist's compiler
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
Time stamp
|
staticprivate |
|
staticprivate |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
1.8.17