|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.TaggedObject
edu.northwestern.at.monk.model.CoreObject
edu.northwestern.at.monk.model.Pos
public class Pos
A part of speech.
| Nested Class Summary | |
|---|---|
static class |
Pos.Comparator
A multi-column part of speech comparator. |
static class |
Pos.SortOption
Part of speech sorting options. |
| Method Summary | |
|---|---|
int |
compareTo(Pos other)
Compares this instance with another. |
static java.util.Collection<Pos> |
find(java.util.Collection<SearchCriterion> criteria)
Finds parts of speech. |
static java.util.Collection<Pos> |
find(SearchCriteria criteria)
Finds parts of speech. |
static java.util.Collection<Pos> |
find(SearchCriterion... criteria)
Finds parts of speech. |
static Pos |
get(java.lang.String tag)
Gets a part of speech by tag. |
static java.util.Collection<Pos> |
getAll()
Gets all the parts of speech. |
CaseCategory |
getCaseCategory()
Gets the case category. |
DegreeCategory |
getDegreeCategory()
Gets the degree category. |
MoodCategory |
getMoodCategory()
Gets the mood category. |
NegativeCategory |
getNegativeCategory()
Gets the negative category. |
NumberCategory |
getNumberCategory()
Gets the number category. |
PersonCategory |
getPersonCategory()
Gets the person category. |
SyntaxCategory |
getSyntaxCategory()
Gets the syntax category. |
TenseCategory |
getTenseCategory()
Gets the tense category. |
WordClass |
getWordClass()
Gets the word class. |
static Pos[] |
sort(java.util.Collection<Pos> collection,
Pos.SortOption... options)
Sorts a collection of parts of speech. |
static void |
sort(Pos[] array,
Pos.SortOption... options)
Sorts an array of parts of speech. |
| Methods inherited from class edu.northwestern.at.monk.model.TaggedObject |
|---|
getTag |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Pos get(java.lang.String tag)
tag - Tag.
public static java.util.Collection<Pos> getAll()
public static java.util.Collection<Pos> find(SearchCriterion... criteria)
throws ModelException
criteria - Search criteria.
sort method.
ModelException -
public static java.util.Collection<Pos> find(java.util.Collection<SearchCriterion> criteria)
throws ModelException
criteria - Collection of search criteria.
sort method.
ModelException -
public static java.util.Collection<Pos> find(SearchCriteria criteria)
throws ModelException
criteria - Search criteria.
sort method.
ModelException -
public static void sort(Pos[] array,
Pos.SortOption... options)
array - Array of parts of speech.options - Sort options, or null to use the natural ordering.
public static Pos[] sort(java.util.Collection<Pos> collection,
Pos.SortOption... options)
collection - Collection of parts of speech.options - Sort options, or null to use the natural ordering.
public WordClass getWordClass()
public SyntaxCategory getSyntaxCategory()
public TenseCategory getTenseCategory()
public MoodCategory getMoodCategory()
public CaseCategory getCaseCategory()
public PersonCategory getPersonCategory()
public NumberCategory getNumberCategory()
public DegreeCategory getDegreeCategory()
public NegativeCategory getNegativeCategory()
public int compareTo(Pos other)
Parts of speech are ordered in case and diacritical-insensitve increasing alphabetical order by tag.
compareTo in interface java.lang.Comparable<Pos>other - The other instance to be compared.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||