Class LogicExpressionParsers
java.lang.Object
edu.washington.cs.knowitall.logic.LogicExpressionParsers
Static factories for logic expressions over basic objects.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LogicExpressionParser
<String> Logic expressions where tokens are strings.static final LogicExpressionParser
<String> Logic expressions where "true" evaluates to true and "false" evaluates to false. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
trivial
Logic expressions where "true" evaluates to true and "false" evaluates to false. For example: (true | false) invalid input: '&' true This logic expression is trivial because it's value is independent of the object it is applied to. -
stringMatch
Logic expressions where tokens are strings. A token is true if it matches the input string.
-
-
Constructor Details
-
LogicExpressionParsers
LogicExpressionParsers()
-