|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FormulaParser
A class to parse a formula given by the user.
| Field Summary | |
|---|---|
static String |
CATEGORY
The symbol for the category of a node. |
static String |
CONJUNCTION
The symbol for conjunction of two formulas. |
static String |
CONTAINMENT
The symbol for containment of a node in a set. |
static String |
DISJUNCTION
The symbol for disjunction of two formulas. |
static String |
DOMINANCE
The symbol for dominance of two nodes. |
static String |
EQUALITY
The symbol for equality of two nodes. |
static String |
FIRST_ORDER_EXISTENTIAL
The symbol for existential quantification over a node of a formula. |
static String |
FIRST_ORDER_UNIVERSAL
The symbol for universal quantification over a node of a formula. |
static String |
FUNCTION
The symbol for the function of a node. |
static String |
IMMEDIATE_DOMINANCE
The symbol for immediate dominance of two nodes. |
static String |
IMMEDIATE_PRECEDENCE
The symbol for immediate precedence of two nodes. |
static String |
IMPLICATION
The symbol for implication of two formulas. |
static String |
LEMMA
The symbol for the lemma of a node. |
static String |
MORPHOLOGY
The symbol for the morphology of a node. |
static String |
NEGATION
The symbol for negation of a formula. |
static String |
PRECEDENCE
The symbol for precedence of two nodes. |
static String |
PROPER_DOMINANCE
The symbol for proper dominance of two nodes. |
static String |
SECOND_ORDER_EXISTENTIAL
The symbol for existential quantification over a set of a formula. |
static String |
SECOND_ORDER_UNIVERSAL
The symbol for universal quantification over a set of a formula. |
static String |
SENTENCE
The symbol for the sentence of the tree, as a regular expression. |
static String |
WORD
The symbol for the token of a node. |
| Method Summary | |
|---|---|
String |
parse()
Parse the formula. |
| Field Detail |
|---|
static final String SECOND_ORDER_UNIVERSAL
static final String SECOND_ORDER_EXISTENTIAL
static final String FIRST_ORDER_UNIVERSAL
static final String FIRST_ORDER_EXISTENTIAL
static final String IMPLICATION
static final String DISJUNCTION
static final String CONJUNCTION
static final String NEGATION
static final String CONTAINMENT
static final String EQUALITY
static final String PROPER_DOMINANCE
static final String IMMEDIATE_DOMINANCE
static final String DOMINANCE
static final String IMMEDIATE_PRECEDENCE
static final String PRECEDENCE
static final String FUNCTION
static final String CATEGORY
static final String WORD
static final String LEMMA
static final String MORPHOLOGY
static final String SENTENCE
| Method Detail |
|---|
String parse()
throws LispFormulaParseException
LispFormulaParseException - [CAN] If the formula has an incorrect syntax.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||