Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractEdge(FiniteAutomaton.State<E>) - Constructor for class edu.washington.cs.knowitall.regex.FiniteAutomaton.AbstractEdge
- add(Expression<E>, E, int) - Method in class edu.washington.cs.knowitall.regex.Match
-
Convenience method for add(new Group
(expr, token, pos)). - add(Match.Group<E>) - Method in class edu.washington.cs.knowitall.regex.Match
- addAll(Collection<Match.Group<E>>) - Method in class edu.washington.cs.knowitall.regex.Match
- addTokens(Match.Group<E>) - Method in class edu.washington.cs.knowitall.regex.Match.Group
-
Add tokens to the group.
- And() - Constructor for class edu.washington.cs.knowitall.logic.Expression.Op.Bin.And
- apply() - Method in class edu.washington.cs.knowitall.logic.Expression.Arg.Value
- apply(boolean, List<E>, int) - Method in class edu.washington.cs.knowitall.regex.Expression.AssertionExpression
- apply(boolean, List<E>, int) - Method in class edu.washington.cs.knowitall.regex.Expression.EndAssertion
- apply(boolean, List<E>, int) - Method in class edu.washington.cs.knowitall.regex.Expression.StartAssertion
- apply(E) - Method in class edu.washington.cs.knowitall.logic.Expression.Apply
-
Apply this expression to an entity to get true or false.
- apply(E) - Method in class edu.washington.cs.knowitall.logic.Expression.Arg.Pred
- apply(E) - Method in class edu.washington.cs.knowitall.logic.Expression.Arg.Value
- apply(E) - Method in class edu.washington.cs.knowitall.logic.Expression.Op.Bin.And
- apply(E) - Method in class edu.washington.cs.knowitall.logic.Expression.Op.Bin.Or
- apply(E) - Method in class edu.washington.cs.knowitall.logic.Expression.Op.Mon.Not
- apply(E) - Method in class edu.washington.cs.knowitall.logic.LogicExpression
- apply(E) - Method in class edu.washington.cs.knowitall.regex.Expression.AssertionExpression
- apply(E) - Method in class edu.washington.cs.knowitall.regex.Expression.BaseExpression
-
The delegate to evaluate the expression against a token.
- apply(E) - Method in class edu.washington.cs.knowitall.regex.Expression.MatchingGroup
- apply(E) - Method in class edu.washington.cs.knowitall.regex.Expression.MinMax
- apply(E) - Method in class edu.washington.cs.knowitall.regex.Expression.Option
- apply(E) - Method in class edu.washington.cs.knowitall.regex.Expression.Or
- apply(E) - Method in class edu.washington.cs.knowitall.regex.Expression.Plus
- apply(E) - Method in class edu.washington.cs.knowitall.regex.Expression.Star
- apply(E) - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Edge
- apply(E) - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Epsilon
- apply(String) - Method in class edu.washington.cs.knowitall.logic.ArgFactory
-
Method to satisfy abstract superclass.
- apply(String) - Method in class edu.washington.cs.knowitall.logic.LogicExpressionParser
- apply(String) - Method in class edu.washington.cs.knowitall.regex.ExpressionFactory
- apply(String) - Method in class edu.washington.cs.knowitall.regex.RegularExpressionParser
- apply(List<E>) - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton
- apply(List<E>) - Method in class edu.washington.cs.knowitall.regex.RegularExpression
-
Apply the expression against a list of tokens.
- Apply() - Constructor for class edu.washington.cs.knowitall.logic.Expression.Apply
- ApplyLogicException(String) - Constructor for exception edu.washington.cs.knowitall.logic.LogicException.ApplyLogicException
- ApplyLogicException(String, Exception) - Constructor for exception edu.washington.cs.knowitall.logic.LogicException.ApplyLogicException
- Arg() - Constructor for class edu.washington.cs.knowitall.logic.Expression.Arg
- ArgFactory<E> - Class in edu.washington.cs.knowitall.logic
-
An abstract factory class that converts the string representation of an argument into a token.
- ArgFactory() - Constructor for class edu.washington.cs.knowitall.logic.ArgFactory
- AssertionExpression() - Constructor for class edu.washington.cs.knowitall.regex.Expression.AssertionExpression
- auto - Variable in class edu.washington.cs.knowitall.regex.RegularExpression
- Automaton(Expression<E>) - Constructor for class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton
- Automaton(FiniteAutomaton.StartState<E>, FiniteAutomaton.EndState<E>) - Constructor for class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton
B
- BaseExpression(String) - Constructor for class edu.washington.cs.knowitall.regex.Expression.BaseExpression
- Bin() - Constructor for class edu.washington.cs.knowitall.logic.Expression.Op.Bin
- build() - Method in class edu.washington.cs.knowitall.regex.Expression.AssertionExpression
-
Convert the expression into a NFA.
- build() - Method in class edu.washington.cs.knowitall.regex.Expression.BaseExpression
-
Convert the expression into a NFA.
- build() - Method in interface edu.washington.cs.knowitall.regex.Expression
- build() - Method in class edu.washington.cs.knowitall.regex.Expression.MatchingGroup
-
Convert the expression into a NFA.
- build() - Method in class edu.washington.cs.knowitall.regex.Expression.MinMax
-
Convert the expression into a NFA.
- build() - Method in class edu.washington.cs.knowitall.regex.Expression.Option
-
Convert the expression into a NFA.
- build() - Method in class edu.washington.cs.knowitall.regex.Expression.Or
-
Convert the expression into a NFA.
- build() - Method in class edu.washington.cs.knowitall.regex.Expression.Plus
-
Convert the expression into a NFA.
- build() - Method in class edu.washington.cs.knowitall.regex.Expression.Star
-
Convert the expression into a NFA.
- build(List<Expression<E>>) - Static method in class edu.washington.cs.knowitall.regex.RegularExpression
-
Build an NFA from the list of expressions.
- buildAst(List<Expression<E>>) - Static method in class edu.washington.cs.knowitall.logic.LogicExpression
-
Compile a rpn list of tokens into an expression tree.
- buildMatch(Iterator<E>, Expression<E>, AtomicInteger, FiniteAutomaton.State<E>, Iterator<FiniteAutomaton.AbstractEdge<E>>, Match.IntermediateMatch<E>) - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton
-
Retrace the path through the NFA and produce an object that represents the match.
C
- character - Static variable in class edu.washington.cs.knowitall.regex.RegularExpressionParsers
-
Regular expression over characters, as in java.util.Regex.
- compile(String, Function<String, Expression.Arg<E>>) - Static method in class edu.washington.cs.knowitall.logic.LogicExpression
-
Helper factory method to instantiate a LogicExpression.
- compile(String, Function<String, Expression.BaseExpression<E>>) - Static method in class edu.washington.cs.knowitall.regex.RegularExpression
-
Create a regular expression from the specified string.
- compile(List<Expression<E>>) - Static method in class edu.washington.cs.knowitall.logic.LogicExpression
-
Compile an infix list of tokens into an expression tree.
- compile(List<Expression<E>>) - Static method in class edu.washington.cs.knowitall.regex.RegularExpression
-
Create a regular expression without tokenization support.
- CompileLogicException(String) - Constructor for exception edu.washington.cs.knowitall.logic.LogicException.CompileLogicException
- CompileLogicException(String, Exception) - Constructor for exception edu.washington.cs.knowitall.logic.LogicException.CompileLogicException
- connect(FiniteAutomaton.State<E>) - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.State
-
Add an epsilon transition between this state and dest.
- connect(FiniteAutomaton.State<E>, Expression<E>) - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.State
-
Add an edge between this state and dest.
- create(String) - Method in class edu.washington.cs.knowitall.logic.ArgFactory
-
Converts the supplied string into a token.
- create(String) - Method in class edu.washington.cs.knowitall.regex.ExpressionFactory
D
- description - Variable in class edu.washington.cs.knowitall.logic.Expression.Arg.Pred
- dest - Variable in class edu.washington.cs.knowitall.regex.FiniteAutomaton.AbstractEdge
- doubleQuoteStringLiteralRegex - Static variable in class edu.washington.cs.knowitall.logic.LogicExpressionParser
E
- Edge(FiniteAutomaton.State<E>, Expression<E>) - Constructor for class edu.washington.cs.knowitall.regex.FiniteAutomaton.Edge
- edges - Variable in class edu.washington.cs.knowitall.regex.FiniteAutomaton.State
- edu.washington.cs.knowitall.logic - package edu.washington.cs.knowitall.logic
- edu.washington.cs.knowitall.regex - package edu.washington.cs.knowitall.regex
- end - Variable in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton
- EndAssertion() - Constructor for class edu.washington.cs.knowitall.regex.Expression.EndAssertion
- endIndex() - Method in class edu.washington.cs.knowitall.regex.Match
- endIndex() - Method in class edu.washington.cs.knowitall.regex.Match.FinalMatch
- endIndex() - Method in class edu.washington.cs.knowitall.regex.Match.Group
- endIndex() - Method in class edu.washington.cs.knowitall.regex.Match.IntermediateMatch
- EndState(Expression<E>) - Constructor for class edu.washington.cs.knowitall.regex.FiniteAutomaton.EndState
- entity - Variable in class edu.washington.cs.knowitall.regex.Match.Group.Token
- Epsilon(FiniteAutomaton.State<E>) - Constructor for class edu.washington.cs.knowitall.regex.FiniteAutomaton.Epsilon
- epsilons - Variable in class edu.washington.cs.knowitall.regex.FiniteAutomaton.State
- equals(Object) - Method in class edu.washington.cs.knowitall.regex.RegularExpression
- evaluate(List<E>, boolean) - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton
- evaluate(List<E>, List<FiniteAutomaton.Automaton.Step<E>>, boolean) - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton
-
Evaluate the NFA against the list of tokens using the Thompson NFA algorithm.
- expandAssertions(List<FiniteAutomaton.Automaton.Step<E>>, List<FiniteAutomaton.Automaton.Step<E>>, boolean, List<E>, int) - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton
-
Expand any state that has an assertion edge if the assertion passes given the present state.
- expandEpsilon(FiniteAutomaton.Automaton.Step<E>, List<FiniteAutomaton.Automaton.Step<E>>) - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton
-
Expand all epsilon transitions for the specified step.
- expandEpsilons(List<FiniteAutomaton.Automaton.Step<E>>) - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton
-
Expand all epsilon transitions for the supplied steps.
- expr - Variable in class edu.washington.cs.knowitall.regex.Expression.MinMax
- expr - Variable in class edu.washington.cs.knowitall.regex.Expression.Option
- expr - Variable in class edu.washington.cs.knowitall.regex.Expression.Plus
- expr - Variable in class edu.washington.cs.knowitall.regex.Expression.Star
- expr - Variable in class edu.washington.cs.knowitall.regex.Match.Group
- expr1 - Variable in class edu.washington.cs.knowitall.regex.Expression.Or
- expr2 - Variable in class edu.washington.cs.knowitall.regex.Expression.Or
- expression - Variable in class edu.washington.cs.knowitall.logic.LogicExpression
- expression - Variable in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Edge
- expression - Variable in class edu.washington.cs.knowitall.regex.FiniteAutomaton.TerminusState
- Expression<E> - Class in edu.washington.cs.knowitall.logic
-
Superclass for expressions in a Logic Expression.
- Expression<E> - Interface in edu.washington.cs.knowitall.regex
-
Interface for a component of a regular expression.
- Expression() - Constructor for class edu.washington.cs.knowitall.logic.Expression
- Expression.Apply<E> - Class in edu.washington.cs.knowitall.logic
-
An expression that can be applied.
- Expression.Arg<E> - Class in edu.washington.cs.knowitall.logic
-
An expression that evaluates to true or false.
- Expression.Arg.Pred<E> - Class in edu.washington.cs.knowitall.logic
-
An expression that evaluates to true or false by applying a predicate to the supplied entity.
- Expression.Arg.Value<E> - Class in edu.washington.cs.knowitall.logic
-
An expression that is a constant value--either true or false.
- Expression.AssertionExpression<E> - Class in edu.washington.cs.knowitall.regex
-
A non-consuming expression that matches a token against a property of the text, such as the start or end of a line.
- Expression.BaseExpression<E> - Class in edu.washington.cs.knowitall.regex
-
An expression with no subexpression that is evaluated against a token using the supplied delegate.
- Expression.EndAssertion<E> - Class in edu.washington.cs.knowitall.regex
-
A non-consuming expression that matches the end of a line.
- Expression.MatchingGroup<E> - Class in edu.washington.cs.knowitall.regex
-
Represents a matching group that is referred to by order number.
- Expression.MinMax<E> - Class in edu.washington.cs.knowitall.regex
-
A minimum to maximum number of occurrences of the enclosed expression.
- Expression.NamedGroup<E> - Class in edu.washington.cs.knowitall.regex
-
Represents a matching group that is referred to by name.
- Expression.NonMatchingGroup<E> - Class in edu.washington.cs.knowitall.regex
-
Represents a non-matching group.
- Expression.Op<E> - Class in edu.washington.cs.knowitall.logic
-
An operator expression.
- Expression.Op.Bin<E> - Class in edu.washington.cs.knowitall.logic
-
An operator that takes two arguments, such as disjunction.
- Expression.Op.Bin.And<E> - Class in edu.washington.cs.knowitall.logic
-
The conjunction (logical and) operator.
- Expression.Op.Bin.Or<E> - Class in edu.washington.cs.knowitall.logic
-
The disjunction (logical or) operator.
- Expression.Op.Mon<E> - Class in edu.washington.cs.knowitall.logic
-
An operator that takes a single argument, such as negation.
- Expression.Op.Mon.Not<E> - Class in edu.washington.cs.knowitall.logic
-
The negation operator.
- Expression.Option<E> - Class in edu.washington.cs.knowitall.regex
-
Zero or one of the enclosed expression.
- Expression.Or<E> - Class in edu.washington.cs.knowitall.regex
-
Disjunction of two experssions.
- Expression.Paren<E> - Class in edu.washington.cs.knowitall.logic
-
A parenthesis, used for grouping.
- Expression.Paren.L<E> - Class in edu.washington.cs.knowitall.logic
-
A left parenthesis.
- Expression.Paren.R<E> - Class in edu.washington.cs.knowitall.logic
-
A right parenthesis.
- Expression.Plus<E> - Class in edu.washington.cs.knowitall.regex
-
One or more of the enclosed expression.
- Expression.Star<E> - Class in edu.washington.cs.knowitall.regex
-
Kleene-star: zero or more of the enclosed expression.
- Expression.StartAssertion<E> - Class in edu.washington.cs.knowitall.regex
-
A non-consuming expression that matches the start of a line.
- ExpressionFactory<E> - Class in edu.washington.cs.knowitall.regex
-
Wrapper class for a Guava Function.
- ExpressionFactory() - Constructor for class edu.washington.cs.knowitall.regex.ExpressionFactory
- expressions - Variable in class edu.washington.cs.knowitall.regex.Expression.MatchingGroup
- expressions - Variable in class edu.washington.cs.knowitall.regex.RegularExpression
F
- factory(String) - Method in class edu.washington.cs.knowitall.logic.LogicExpressionParser
-
The factory method creates an argument from the supplied token string.
- factory(String) - Method in class edu.washington.cs.knowitall.regex.RegularExpressionParser
-
The factory method creates an expression from the supplied token string.
- FinalMatch(Match<E>) - Constructor for class edu.washington.cs.knowitall.regex.Match.FinalMatch
- find(List<E>) - Method in class edu.washington.cs.knowitall.regex.RegularExpression
-
Find the first match of the regular expression against tokens.
- find(List<E>, int) - Method in class edu.washington.cs.knowitall.regex.RegularExpression
-
Find the first match of the regular expression against tokens, starting at the specified index.
- findAll(List<E>) - Method in class edu.washington.cs.knowitall.regex.RegularExpression
-
Find all non-overlapping matches of the regular expression against tokens.
- FiniteAutomaton - Class in edu.washington.cs.knowitall.regex
-
A finite automaton implementation.
- FiniteAutomaton() - Constructor for class edu.washington.cs.knowitall.regex.FiniteAutomaton
- FiniteAutomaton.AbstractEdge<E> - Class in edu.washington.cs.knowitall.regex
-
An abstract representation of an edge.
- FiniteAutomaton.Automaton<E> - Class in edu.washington.cs.knowitall.regex
-
A component automaton with a single start state and a single end state.
- FiniteAutomaton.Automaton.Step<E> - Class in edu.washington.cs.knowitall.regex
-
A representation of a movement from a state to another, with a backreference to the previous state.
- FiniteAutomaton.Edge<E> - Class in edu.washington.cs.knowitall.regex
-
An edge with cost
expression
. - FiniteAutomaton.EndState<E> - Class in edu.washington.cs.knowitall.regex
-
An end state.
- FiniteAutomaton.Epsilon<E> - Class in edu.washington.cs.knowitall.regex
-
An edge without cost, an epsilon transition.
- FiniteAutomaton.StartState<E> - Class in edu.washington.cs.knowitall.regex
-
A start state.
- FiniteAutomaton.State<E> - Class in edu.washington.cs.knowitall.regex
-
Representation of a state in the automaton.
- FiniteAutomaton.TerminusState<E> - Class in edu.washington.cs.knowitall.regex
-
A start or end state.
G
- getArgs() - Method in class edu.washington.cs.knowitall.logic.LogicExpression
-
Return a list of the arguments contained in the expression.
- getArgs(Expression.Apply<?>, List<String>) - Method in class edu.washington.cs.knowitall.logic.LogicExpression
-
Private helper method to recursively find arguments.
- getDescription() - Method in class edu.washington.cs.knowitall.logic.Expression.Arg.Pred
- group(String) - Method in class edu.washington.cs.knowitall.regex.Match
-
Retrieve a group by name.
- Group(Expression<E>) - Constructor for class edu.washington.cs.knowitall.regex.Match.Group
- Group(Expression<E>, E, int) - Constructor for class edu.washington.cs.knowitall.regex.Match.Group
- Group(Expression<E>, List<Match.Group.Token<E>>) - Constructor for class edu.washington.cs.knowitall.regex.Match.Group
- groups - Variable in class edu.washington.cs.knowitall.regex.Match.FinalMatch
- groups() - Method in class edu.washington.cs.knowitall.regex.Match.FinalMatch
- groups() - Method in class edu.washington.cs.knowitall.regex.Match
- groups() - Method in class edu.washington.cs.knowitall.regex.Match.IntermediateMatch
H
- hashCode() - Method in class edu.washington.cs.knowitall.regex.RegularExpression
I
- index - Variable in class edu.washington.cs.knowitall.regex.Match.Group.Token
- indexOfClose(String, int, char, char) - Static method in class edu.washington.cs.knowitall.regex.RegularExpressionParser
- IntermediateMatch() - Constructor for class edu.washington.cs.knowitall.regex.Match.IntermediateMatch
- isEmpty() - Method in class edu.washington.cs.knowitall.logic.LogicExpression
-
If the expression is empty, it returns true for all inputs.
- isEmpty() - Method in class edu.washington.cs.knowitall.regex.Match
-
True iff this match contains no pairs.
L
- L() - Constructor for class edu.washington.cs.knowitall.logic.Expression.Paren.L
- left - Variable in class edu.washington.cs.knowitall.logic.Expression.Op.Bin
- length() - Method in class edu.washington.cs.knowitall.regex.Match
- literalPatterns - Static variable in class edu.washington.cs.knowitall.logic.LogicExpressionParser
- LogicException - Exception in edu.washington.cs.knowitall.logic
- LogicException(String) - Constructor for exception edu.washington.cs.knowitall.logic.LogicException
- LogicException(String, Exception) - Constructor for exception edu.washington.cs.knowitall.logic.LogicException
- LogicException.ApplyLogicException - Exception in edu.washington.cs.knowitall.logic
-
Exception while applying an expression to an object.
- LogicException.CompileLogicException - Exception in edu.washington.cs.knowitall.logic
-
Exception while converting the tokens into a valid expression.
- LogicException.TokenizeLogicException - Exception in edu.washington.cs.knowitall.logic
-
Exception while tokenizing the logic expression string.
- LogicExpression<E> - Class in edu.washington.cs.knowitall.logic
-
A logic expression engine that operates over user specified objects.
- LogicExpression(List<Expression<E>>) - Constructor for class edu.washington.cs.knowitall.logic.LogicExpression
- LogicExpressionParser<E> - Class in edu.washington.cs.knowitall.logic
-
A logic expression engine that operates over user specified objects.
- LogicExpressionParser() - Constructor for class edu.washington.cs.knowitall.logic.LogicExpressionParser
- LogicExpressionParsers - Class in edu.washington.cs.knowitall.logic
-
Static factories for logic expressions over basic objects.
- LogicExpressionParsers() - Constructor for class edu.washington.cs.knowitall.logic.LogicExpressionParsers
- lookingAt(List<E>) - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton
- lookingAt(List<E>) - Method in class edu.washington.cs.knowitall.regex.RegularExpression
-
Determine if the regular expression matches the beginning of the supplied tokens.
- lookingAt(List<E>, int) - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton
- lookingAt(List<E>, int) - Method in class edu.washington.cs.knowitall.regex.RegularExpression
-
Determine if the regular expression matches the supplied tokens, starting at the specified index.
M
- main(String[]) - Static method in class edu.washington.cs.knowitall.logic.LogicExpression
-
Iteractively interpret logic statements from stdin such as "true | (true & false)".
- main(String[]) - Static method in class edu.washington.cs.knowitall.regex.RegularExpression
-
An interactive program that compiles a word-based regular expression specified in arg1 and then reads strings from stdin, evaluating them against the regular expression.
- match(List<E>) - Method in class edu.washington.cs.knowitall.regex.RegularExpression
- Match<E> - Class in edu.washington.cs.knowitall.regex
-
A class to represent a match.
- Match() - Constructor for class edu.washington.cs.knowitall.regex.Match
- Match(Match<E>) - Constructor for class edu.washington.cs.knowitall.regex.Match
- Match.FinalMatch<E> - Class in edu.washington.cs.knowitall.regex
-
A match representation that has efficient method calls but is immutable.
- Match.Group<E> - Class in edu.washington.cs.knowitall.regex
-
A captured group in a matched expression.
- Match.Group.Token<E> - Class in edu.washington.cs.knowitall.regex
- Match.IntermediateMatch<E> - Class in edu.washington.cs.knowitall.regex
-
A match representation that is mutable but many method calls compute values instead of returning stored values.
- matches(List<E>) - Method in class edu.washington.cs.knowitall.regex.RegularExpression
-
Apply the expression against a list of tokens.
- MatchingGroup(List<Expression<E>>) - Constructor for class edu.washington.cs.knowitall.regex.Expression.MatchingGroup
- maxOccurrences - Variable in class edu.washington.cs.knowitall.regex.Expression.MinMax
- minMatchingLength() - Method in class edu.washington.cs.knowitall.regex.Expression.AssertionExpression
- minMatchingLength() - Method in class edu.washington.cs.knowitall.regex.Expression.BaseExpression
- minMatchingLength() - Method in class edu.washington.cs.knowitall.regex.Expression.MatchingGroup
- minMatchingLength() - Method in interface edu.washington.cs.knowitall.regex.Expression
- minMatchingLength() - Method in class edu.washington.cs.knowitall.regex.Expression.MinMax
- minMatchingLength() - Method in class edu.washington.cs.knowitall.regex.Expression.Option
- minMatchingLength() - Method in class edu.washington.cs.knowitall.regex.Expression.Or
- minMatchingLength() - Method in class edu.washington.cs.knowitall.regex.Expression.Plus
- minMatchingLength() - Method in class edu.washington.cs.knowitall.regex.Expression.Star
- minMatchingLength() - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton
- minMatchingLength() - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.StartState
- MinMax(Expression<E>, int, int) - Constructor for class edu.washington.cs.knowitall.regex.Expression.MinMax
- minOccurrences - Variable in class edu.washington.cs.knowitall.regex.Expression.MinMax
- Mon() - Constructor for class edu.washington.cs.knowitall.logic.Expression.Op.Mon
N
- name - Variable in class edu.washington.cs.knowitall.regex.Expression.NamedGroup
- NamedGroup(String, List<Expression<E>>) - Constructor for class edu.washington.cs.knowitall.regex.Expression.NamedGroup
- NonMatchingGroup(List<Expression<E>>) - Constructor for class edu.washington.cs.knowitall.regex.Expression.NonMatchingGroup
- Not() - Constructor for class edu.washington.cs.knowitall.logic.Expression.Op.Mon.Not
O
- Op() - Constructor for class edu.washington.cs.knowitall.logic.Expression.Op
- Option(Expression<E>) - Constructor for class edu.washington.cs.knowitall.regex.Expression.Option
- Or() - Constructor for class edu.washington.cs.knowitall.logic.Expression.Op.Bin.Or
- Or(Expression<E>, Expression<E>) - Constructor for class edu.washington.cs.knowitall.regex.Expression.Or
P
- pairs - Variable in class edu.washington.cs.knowitall.regex.Match
- pairs() - Method in class edu.washington.cs.knowitall.regex.Match
-
Pairs differ from the matching groups in that each regular expression element has a pair to associate the element with the text matched.
- Paren() - Constructor for class edu.washington.cs.knowitall.logic.Expression.Paren
- parse(String) - Method in class edu.washington.cs.knowitall.logic.LogicExpressionParser
-
Create a LogicExpression object from the supplied string.
- parse(String) - Method in class edu.washington.cs.knowitall.regex.RegularExpressionParser
- path - Variable in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton.Step
- Plus(Expression<E>) - Constructor for class edu.washington.cs.knowitall.regex.Expression.Plus
- precedence() - Method in class edu.washington.cs.knowitall.logic.Expression.Op.Bin.And
- precedence() - Method in class edu.washington.cs.knowitall.logic.Expression.Op.Bin.Or
- precedence() - Method in class edu.washington.cs.knowitall.logic.Expression.Op.Mon.Not
- precedence() - Method in class edu.washington.cs.knowitall.logic.Expression.Op
-
The precedence of this operator.
- preceeds(Expression.Op<?>) - Method in class edu.washington.cs.knowitall.logic.Expression.Op
- Pred(String) - Constructor for class edu.washington.cs.knowitall.logic.Expression.Arg.Pred
- prev - Variable in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton.Step
R
- R() - Constructor for class edu.washington.cs.knowitall.logic.Expression.Paren.R
- readToken(String) - Method in class edu.washington.cs.knowitall.logic.LogicExpressionParser
-
The readToken method reads a token from the remaining LogicExpression string.
- readToken(String) - Method in class edu.washington.cs.knowitall.regex.RegularExpressionParser
-
Read a token from the remaining text and return it.
- RegexException - Exception in edu.washington.cs.knowitall.regex
- RegexException(String) - Constructor for exception edu.washington.cs.knowitall.regex.RegexException
- RegexException(String, Exception) - Constructor for exception edu.washington.cs.knowitall.regex.RegexException
- RegexException.TokenizationRegexException - Exception in edu.washington.cs.knowitall.regex
- regexLiteralRegex - Static variable in class edu.washington.cs.knowitall.logic.LogicExpressionParser
- RegularExpression<E> - Class in edu.washington.cs.knowitall.regex
-
A regular expression engine that operates over sequences of user-specified objects.
- RegularExpression(List<Expression<E>>) - Constructor for class edu.washington.cs.knowitall.regex.RegularExpression
- RegularExpressionParser<E> - Class in edu.washington.cs.knowitall.regex
-
A regular expression parser turns strings into RegularExpression objects.
- RegularExpressionParser() - Constructor for class edu.washington.cs.knowitall.regex.RegularExpressionParser
- RegularExpressionParsers - Class in edu.washington.cs.knowitall.regex
-
Static factories for regular expressions over some basic sequences.
- RegularExpressionParsers() - Constructor for class edu.washington.cs.knowitall.regex.RegularExpressionParsers
- right - Variable in class edu.washington.cs.knowitall.logic.Expression.Op.Bin
- rpn(List<Expression<E>>) - Method in class edu.washington.cs.knowitall.logic.LogicExpression
-
Converts an infix logic representation into a postfix logic representation.
S
- serialVersionUID - Static variable in exception edu.washington.cs.knowitall.logic.LogicException.ApplyLogicException
- serialVersionUID - Static variable in exception edu.washington.cs.knowitall.logic.LogicException.CompileLogicException
- serialVersionUID - Static variable in exception edu.washington.cs.knowitall.logic.LogicException
- serialVersionUID - Static variable in exception edu.washington.cs.knowitall.logic.LogicException.TokenizeLogicException
- serialVersionUID - Static variable in exception edu.washington.cs.knowitall.regex.RegexException
- serialVersionUID - Static variable in exception edu.washington.cs.knowitall.regex.RegexException.TokenizationRegexException
- singleQuoteStringLiteralRegex - Static variable in class edu.washington.cs.knowitall.logic.LogicExpressionParser
- source - Variable in class edu.washington.cs.knowitall.regex.Expression.BaseExpression
- Star(Expression<E>) - Constructor for class edu.washington.cs.knowitall.regex.Expression.Star
- start - Variable in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton
- StartAssertion() - Constructor for class edu.washington.cs.knowitall.regex.Expression.StartAssertion
- startIndex - Variable in class edu.washington.cs.knowitall.regex.Match.FinalMatch
- startIndex() - Method in class edu.washington.cs.knowitall.regex.Match.FinalMatch
- startIndex() - Method in class edu.washington.cs.knowitall.regex.Match.Group
- startIndex() - Method in class edu.washington.cs.knowitall.regex.Match.IntermediateMatch
- startIndex() - Method in class edu.washington.cs.knowitall.regex.Match
- StartState(Expression<E>) - Constructor for class edu.washington.cs.knowitall.regex.FiniteAutomaton.StartState
- state - Variable in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton.Step
- State() - Constructor for class edu.washington.cs.knowitall.regex.FiniteAutomaton.State
- Step(FiniteAutomaton.State<E>) - Constructor for class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton.Step
- Step(FiniteAutomaton.State<E>, FiniteAutomaton.Automaton.Step<E>, FiniteAutomaton.AbstractEdge<E>) - Constructor for class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton.Step
- stringMatch - Static variable in class edu.washington.cs.knowitall.logic.LogicExpressionParsers
-
Logic expressions where tokens are strings.
- sub - Variable in class edu.washington.cs.knowitall.logic.Expression.Op.Mon
- subexpString() - Method in class edu.washington.cs.knowitall.regex.Expression.MatchingGroup
T
- TerminusState(Expression<E>) - Constructor for class edu.washington.cs.knowitall.regex.FiniteAutomaton.TerminusState
- text() - Method in class edu.washington.cs.knowitall.regex.Match.Group
-
A string representation of the group.
- Token(E, int) - Constructor for class edu.washington.cs.knowitall.regex.Match.Group.Token
- tokenCount() - Method in class edu.washington.cs.knowitall.regex.Match.Group
- TokenizationRegexException(String) - Constructor for exception edu.washington.cs.knowitall.regex.RegexException.TokenizationRegexException
- TokenizationRegexException(String, Exception) - Constructor for exception edu.washington.cs.knowitall.regex.RegexException.TokenizationRegexException
- tokenize(String) - Method in class edu.washington.cs.knowitall.logic.LogicExpressionParser
-
Convert an infix string logic representation to an infix list of tokens.
- tokenize(String) - Method in class edu.washington.cs.knowitall.regex.RegularExpressionParser
-
Convert a list of tokens (<...>) to a list of expressions.
- TokenizeLogicException(String) - Constructor for exception edu.washington.cs.knowitall.logic.LogicException.TokenizeLogicException
- TokenizeLogicException(String, Exception) - Constructor for exception edu.washington.cs.knowitall.logic.LogicException.TokenizeLogicException
- tokens - Variable in class edu.washington.cs.knowitall.regex.Match.FinalMatch
- tokens - Variable in class edu.washington.cs.knowitall.regex.Match.Group
- tokens() - Method in class edu.washington.cs.knowitall.regex.Match.FinalMatch
- tokens() - Method in class edu.washington.cs.knowitall.regex.Match.Group
- tokens() - Method in class edu.washington.cs.knowitall.regex.Match.IntermediateMatch
- tokens() - Method in class edu.washington.cs.knowitall.regex.Match
- toMultilineString() - Method in class edu.washington.cs.knowitall.regex.Match
- toString() - Method in class edu.washington.cs.knowitall.logic.Expression.Arg.Pred
- toString() - Method in class edu.washington.cs.knowitall.logic.Expression.Arg.Value
- toString() - Method in class edu.washington.cs.knowitall.logic.Expression.Op.Bin.And
- toString() - Method in class edu.washington.cs.knowitall.logic.Expression.Op.Bin.Or
- toString() - Method in class edu.washington.cs.knowitall.logic.Expression.Op.Mon.Not
- toString() - Method in class edu.washington.cs.knowitall.logic.Expression.Paren.L
- toString() - Method in class edu.washington.cs.knowitall.logic.Expression.Paren.R
- toString() - Method in class edu.washington.cs.knowitall.logic.LogicExpression
- toString() - Method in class edu.washington.cs.knowitall.regex.Expression.BaseExpression
- toString() - Method in class edu.washington.cs.knowitall.regex.Expression.EndAssertion
- toString() - Method in class edu.washington.cs.knowitall.regex.Expression.MatchingGroup
- toString() - Method in class edu.washington.cs.knowitall.regex.Expression.MinMax
- toString() - Method in class edu.washington.cs.knowitall.regex.Expression.NamedGroup
- toString() - Method in class edu.washington.cs.knowitall.regex.Expression.NonMatchingGroup
- toString() - Method in class edu.washington.cs.knowitall.regex.Expression.Option
- toString() - Method in class edu.washington.cs.knowitall.regex.Expression.Or
- toString() - Method in class edu.washington.cs.knowitall.regex.Expression.Plus
- toString() - Method in class edu.washington.cs.knowitall.regex.Expression.Star
- toString() - Method in class edu.washington.cs.knowitall.regex.Expression.StartAssertion
- toString() - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Automaton.Step
- toString() - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Edge
- toString() - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.Epsilon
- toString() - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.State
- toString() - Method in class edu.washington.cs.knowitall.regex.FiniteAutomaton.TerminusState
- toString() - Method in class edu.washington.cs.knowitall.regex.Match.Group.Token
- toString() - Method in class edu.washington.cs.knowitall.regex.Match.Group
- toString() - Method in class edu.washington.cs.knowitall.regex.Match
- toString() - Method in class edu.washington.cs.knowitall.regex.RegularExpression
- toString(String) - Method in class edu.washington.cs.knowitall.logic.Expression.Op.Bin
- toString(String) - Method in class edu.washington.cs.knowitall.logic.Expression.Op.Mon
- trivial - Static variable in class edu.washington.cs.knowitall.logic.LogicExpressionParsers
-
Logic expressions where "true" evaluates to true and "false" evaluates to false.
V
- value - Variable in class edu.washington.cs.knowitall.logic.Expression.Arg.Value
- Value(boolean) - Constructor for class edu.washington.cs.knowitall.logic.Expression.Arg.Value
W
- word - Static variable in class edu.washington.cs.knowitall.regex.RegularExpressionParsers
-
Regular expressions over words where sequences are string representations of words.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form