|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.irisa.genouest.logol.Treatment
public class Treatment
This class generate some Prolog code based on parser result.
The LogolVariable
contains all data needed to get intelligent parsing.
Field Summary | |
---|---|
static HashMapCounter |
counters
|
static Model |
currentModel
|
static int |
dataType
Type of sequence data to analyse. |
static double |
DEFAULTMAXDISTANCE
Maximum distance to use when looking for a word and distance is not yet known. |
static java.util.Vector<java.lang.String> |
definitions
|
static java.lang.String |
filename
|
static java.lang.String |
installPath
Installation path |
static int |
isAny
|
static java.lang.String |
isAnyMax
|
static java.lang.String |
isAnyMin
|
static int |
maxLength
Maximum length of a variable X |
static long |
maxResultSize
Maximum length of a complete match |
static int |
maxSpacerLength
Maximum length of a spacer .* |
static int |
minLength
Minimum length of a variable X |
static java.util.Vector<Model> |
models
|
static int |
parentStrategy
Strategy to apply when looking for parents. |
static java.lang.String |
query
Query e.g. |
static boolean |
saveAny
Decides if previous spacer must be saved |
static java.lang.String |
suffixSearchPath
Path to suffixSearch shell |
static java.lang.String |
uID
|
static java.util.HashMap<java.lang.Integer,LogolVariable> |
varInfo
|
static java.lang.String |
workingDir
|
Constructor Summary | |
---|---|
Treatment()
|
Method Summary | |
---|---|
java.lang.String |
get(LogolVariable lvar,
int countVar)
Creates Prolog query for the current variable |
static int |
getParseStep()
get the current step of parsing |
static void |
reset()
|
static void |
setParseStep(int step)
Defines current step |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int dataType
public static boolean saveAny
public static HashMapCounter counters
public static java.util.Vector<Model> models
public static java.util.Vector<java.lang.String> definitions
public static java.lang.String query
public static java.util.HashMap<java.lang.Integer,LogolVariable> varInfo
public static java.lang.String uID
public static java.lang.String workingDir
public static java.lang.String filename
public static Model currentModel
public static double DEFAULTMAXDISTANCE
public static int isAny
public static java.lang.String isAnyMin
public static java.lang.String isAnyMax
public static int minLength
public static int maxLength
public static int maxSpacerLength
public static long maxResultSize
public static int parentStrategy
public static java.lang.String installPath
public static java.lang.String suffixSearchPath
Constructor Detail |
---|
public Treatment()
Method Detail |
---|
public static void reset()
public static int getParseStep()
public static void setParseStep(int step)
step
- See Constantspublic java.lang.String get(LogolVariable lvar, int countVar)
lvar
- variable to analysecountVar
- id of the current variable
GrammarException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |