public class RulesProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
APPLY_LOCAL |
static boolean |
APPLY_PHRASE_LOCAL |
static boolean |
APPLY_SUBJECT_VERB |
static String[] |
CHECKERS |
static String |
DATA_SOURCE |
static int |
GENERAL_TREE
Index of the tree that matches rules in the tokens level.
|
static int |
NUMBER_OF_TREES
Types of trees that will be generated by the
RulesTreesBuilder class, based in the schema and
the rules. |
static String |
PACKAGE |
static int |
PHRASE_LOCAL_TREE
Index of the tree that matches rules in the chunks level.
|
static boolean |
REREAD_FROM_SERIALIZED |
static String |
rootFolder
This resource bundle holds various properties used by the rules applier.
|
static int |
SUBJECT_VERB_TREE
Index of the tree that matches rules between the subject and verb.
|
static String |
XML_FILE_ENCODING |
| Modifier and Type | Method and Description |
|---|---|
static String |
getRulesFile() |
static String |
getSchemaFile() |
static String |
getSerializedTreesFile() |
static boolean |
isReadFromSerialized() |
static boolean |
isRereadRules() |
static void |
setReadFromSerialized(boolean readFromSerialized) |
static void |
setRereadRules(boolean rereadRules) |
static void |
setRootFolder(String value)
This resets all paths!
|
static void |
setRulesFile(String rulesFile) |
static void |
setSchemaFile(String schemaFile) |
public static String rootFolder
public static final int NUMBER_OF_TREES
RulesTreesBuilder class, based in the schema and
the rules.public static final int GENERAL_TREE
public static final int PHRASE_LOCAL_TREE
public static final int SUBJECT_VERB_TREE
public static final boolean APPLY_LOCAL
public static final boolean APPLY_PHRASE_LOCAL
public static final boolean APPLY_SUBJECT_VERB
public static final String PACKAGE
public static final boolean REREAD_FROM_SERIALIZED
public static final String DATA_SOURCE
public static final String XML_FILE_ENCODING
public static final String[] CHECKERS
public static void setRootFolder(String value)
value - public static void setRulesFile(String rulesFile)
public static void setSchemaFile(String schemaFile)
public static String getRulesFile()
public static String getSchemaFile()
public static String getSerializedTreesFile()
public static void setRereadRules(boolean rereadRules)
public static boolean isRereadRules()
public static void setReadFromSerialized(boolean readFromSerialized)
public static boolean isReadFromSerialized()
Copyright © 2012–2017 CoGrOO. All rights reserved.