|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.SearchCriterion
edu.northwestern.at.monk.model.CoreObjectCriterion
edu.northwestern.at.monk.model.PosCriterion
public class PosCriterion
A part of speech search criterion.
| Constructor Summary | |
|---|---|
PosCriterion(java.util.Collection<?> values)
Creates a new part of speech search criterion. |
|
PosCriterion(Pos... poses)
Creates a new part of speech search criterion. |
|
PosCriterion(java.lang.String... tags)
Creates a new part of speech search criterion. |
|
| Method Summary | |
|---|---|
Pos |
getPos()
Gets the part of speech. |
java.util.Collection<Pos> |
getPoses()
Gets the parts of speech. |
java.lang.String |
getTag()
Gets the tag. |
java.util.Collection<java.lang.String> |
getTags()
Gets the tags. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PosCriterion(java.lang.String... tags)
throws ModelException
tags - Tags.
ModelException -
public PosCriterion(Pos... poses)
throws ModelException
poses - Parts of speech.
ModelException -
public PosCriterion(java.util.Collection<?> values)
throws ModelException
values - Collection of tags and/or parts of speech.
ModelException - | Method Detail |
|---|
public java.util.Collection<Pos> getPoses()
public Pos getPos()
public java.util.Collection<java.lang.String> getTags()
public java.lang.String getTag()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||