|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.ephyra.trec.TRECPattern
public class TRECPattern
A TRECPattern is a simple data structure consisting of the
ID of the pattern and regular expressions that describe correct answers.
| Field Summary | |
|---|---|
private java.lang.String |
id
The ID of the pattern. |
private java.lang.String[] |
regexs
The regular expressions that describe correct answers. |
| Constructor Summary | |
|---|---|
TRECPattern(java.lang.String id,
java.lang.String[] regexs)
Creates a TRECPattern data structure and sets the ID and the
regular expressions. |
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
Returns the ID of the pattern. |
java.lang.String[] |
getRegexs()
Returns the regular expressions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String id
private java.lang.String[] regexs
| Constructor Detail |
|---|
public TRECPattern(java.lang.String id,
java.lang.String[] regexs)
TRECPattern data structure and sets the ID and the
regular expressions.
id - the ID of the patternregexs - the regular expressions| Method Detail |
|---|
public java.lang.String getId()
public java.lang.String[] getRegexs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||