Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ipipan.spejd.rules
Class MatchPattern

    java.lang.Object
      ipipan.spejd.rules.MatchPattern

All Implemented Interfaces:
  Match

    public class MatchPattern

extends java.lang.Object
implements Match

Constructor Summary
`MatchPattern(java.lang.String[] left, java.lang.String[] match, java.lang.String[] right, boolean[] required)`

Method Summary
`void` | `feed(Sentence sentence)`
`Entity[]` | `get(int[] s)`
`Entity[]` | `getMatch()`
`Entity` | `getSingle(int s)`
`Entity[]` | `getSpec(int s)`
`boolean` | `nextMatch()`
`void` | `printMatch()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### MatchPattern

    public MatchPattern(java.lang.String[] left,
                        java.lang.String[] match,
                        java.lang.String[] right,
                        boolean[] required)

Method Detail

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

### feed

    public void feed(Sentence sentence)

### nextMatch

    public boolean nextMatch()

### printMatch

    public void printMatch()

### getSingle

    public Entity getSingle(int s)

  Specified by:
    `getSingle` in interface `Match`

### getSpec

    public Entity[] getSpec(int s)

  Specified by:
    `getSpec` in interface `Match`

### get

    public Entity[] get(int[] s)

  Specified by:
    `get` in interface `Match`

### getMatch

    public Entity[] getMatch()

  Specified by:
    `getMatch` in interface `Match`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD