Modifier and Type | Class and Description |
---|---|
private static class |
AntecSuccPrefixChecker.Polarity |
Modifier and Type | Field and Description |
---|---|
static AntecSuccPrefixChecker |
ANTE_POLARITY_CHECKER |
private int |
pol |
private AntecSuccPrefixChecker.Polarity |
polarity |
static AntecSuccPrefixChecker |
SUCC_POLARITY_CHECKER |
Modifier | Constructor and Description |
---|---|
private |
AntecSuccPrefixChecker(AntecSuccPrefixChecker.Polarity polarity) |
Modifier and Type | Method and Description |
---|---|
void |
checkOperator(Operator op,
PIOPathIterator it)
Called on every operator of the prefix starting with the outermost
operator.
|
boolean |
getResult()
Called to get the result of the prefix check.
|
void |
initPrefixCheck(PosInOccurrence p_pos)
Called on initialisation of the prefix check.
|
public static final AntecSuccPrefixChecker ANTE_POLARITY_CHECKER
public static final AntecSuccPrefixChecker SUCC_POLARITY_CHECKER
private AntecSuccPrefixChecker.Polarity polarity
private int pol
private AntecSuccPrefixChecker(AntecSuccPrefixChecker.Polarity polarity)
public void initPrefixCheck(PosInOccurrence p_pos)
Checker
initPrefixCheck
in interface Checker
p_pos
- the initial position of occurrencepublic void checkOperator(Operator op, PIOPathIterator it)
Checker
checkOperator
in interface Checker
op
- the operator to be checkedit
- the prefix iterator