public class OutsideRuleFilter extends Object
Modifier and Type | Field and Description |
---|---|
protected edu.stanford.nlp.parser.lexparser.OutsideRuleFilter.FA[] |
leftFA |
protected edu.stanford.nlp.parser.lexparser.OutsideRuleFilter.FA[] |
rightFA |
Constructor and Description |
---|
OutsideRuleFilter(BinaryGrammar bg,
Index<String> stateIndex,
Index<String> tagIndex) |
Modifier and Type | Method and Description |
---|---|
void |
advanceLeft(boolean[] tags) |
void |
advanceRight(boolean[] tags) |
protected edu.stanford.nlp.parser.lexparser.OutsideRuleFilter.FA |
buildFA(List<String> tags) |
void |
init() |
void |
leftAccepting(boolean[] result) |
protected void |
registerRule(List<String> leftTags,
List<String> rightTags,
int state) |
protected static <A> List<A> |
reverse(List<A> list) |
void |
rightAccepting(boolean[] result) |
protected edu.stanford.nlp.parser.lexparser.OutsideRuleFilter.FA[] leftFA
protected edu.stanford.nlp.parser.lexparser.OutsideRuleFilter.FA[] rightFA
public OutsideRuleFilter(BinaryGrammar bg, Index<String> stateIndex, Index<String> tagIndex)
protected final void registerRule(List<String> leftTags, List<String> rightTags, int state)
public void init()
public void advanceRight(boolean[] tags)
public void leftAccepting(boolean[] result)
public void advanceLeft(boolean[] tags)
public void rightAccepting(boolean[] result)