|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cogroo.tools.checker.rules.util.RulesProperties
public class RulesProperties
This class holds common properties to the rules applier classes.
Field Summary | |
---|---|
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
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |