|
||||||||
| 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.Author
public class Author
An author.
| Nested Class Summary | |
|---|---|
static class |
Author.Comparator
A multi-column author comparator. |
static class |
Author.SortOption
Author sorting options. |
| Method Summary | |
|---|---|
int |
compareTo(Author other)
Compares this instance with another. |
static java.util.Collection<Author> |
find(java.util.Collection<SearchCriterion> criteria)
Finds authors. |
static java.util.Collection<Author> |
find(SearchCriteria criteria)
Finds authors. |
static java.util.Collection<Author> |
find(SearchCriterion... criteria)
Finds authors. |
static Author |
get(java.lang.String tag)
Gets an author by tag. |
static java.util.Collection<Author> |
getAll()
Gets all the authors. |
java.lang.Integer |
getBirthYear()
Gets the birth year. |
java.util.Collection<Corpus> |
getCorpora()
Gets the corpora. |
java.lang.Integer |
getDeathYear()
Gets the death year. |
java.lang.String |
getFlourished()
Gets the flourished attribute. |
java.lang.String |
getGender()
Gets the gender. |
java.lang.String |
getName()
Gets the name. |
int |
getNumCorpora()
Gets the number of corpora. |
long |
getNumSentences()
Gets the number of sentences. |
long |
getNumSentencesMain()
Gets the number of sentences in main text. |
long |
getNumWordBigrams()
Gets the number of word bigrams. |
long |
getNumWordBigramsMain()
Gets the number of word bigrams in main text. |
long |
getNumWordPartBigrams()
Gets the number of word part bigrams. |
long |
getNumWordPartBigramsMain()
Gets the number of word part bigrams in main text. |
long |
getNumWordParts()
Gets the number of word parts. |
long |
getNumWordPartsMain()
Gets the number of word parts in main text. |
long |
getNumWordPartTrigrams()
Gets the number of word part trigrams. |
long |
getNumWordPartTrigramsMain()
Gets the number of word part trigrams in main text. |
long |
getNumWords()
Gets the number of words. |
long |
getNumWordsMain()
Gets the number of words in main text. |
long |
getNumWordTrigrams()
Gets the number of word trigrams. |
long |
getNumWordTrigramsMain()
Gets the number of word trigrams in main text. |
int |
getNumWorks()
Gets the number of works. |
java.lang.String |
getOrigin()
Gets the origin. |
long |
getSummaryCount(CumKind cumKind,
FeatureKind featureKind,
Arity arity,
MainKind mainKind)
Gets a summary count. |
SummaryCounts |
getSummaryCounts()
Gets the summary counts. |
SummaryCounts |
getSummaryCounts(CumKind cumKind)
Gets the summary counts. |
java.util.Collection<Work> |
getWorks()
Gets the works. |
static void |
sort(Author[] array,
Author.SortOption... options)
Sorts an array of authors. |
static Author[] |
sort(java.util.Collection<Author> collection,
Author.SortOption... options)
Sorts a collection of authors. |
| 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 Author get(java.lang.String tag)
tag - Tag.
public static java.util.Collection<Author> getAll()
public static java.util.Collection<Author> find(SearchCriterion... criteria)
throws ModelException
criteria - Search criteria.
sort method.
ModelException -
public static java.util.Collection<Author> find(java.util.Collection<SearchCriterion> criteria)
throws ModelException
criteria - Collection of search criteria.
sort method.
ModelException -
public static java.util.Collection<Author> find(SearchCriteria criteria)
throws ModelException
criteria - Search criteria.
sort method.
ModelException -
public static void sort(Author[] array,
Author.SortOption... options)
array - Array of authors.options - Sort options, or null to use the natural ordering.
public static Author[] sort(java.util.Collection<Author> collection,
Author.SortOption... options)
collection - Collection of authors.options - Sort options, or null to use the natural ordering.
public java.lang.String getName()
public java.lang.Integer getBirthYear()
public java.lang.Integer getDeathYear()
public java.lang.String getFlourished()
public java.lang.String getOrigin()
public java.lang.String getGender()
public int getNumWorks()
public java.util.Collection<Work> getWorks()
public int getNumCorpora()
public java.util.Collection<Corpus> getCorpora()
public SummaryCounts getSummaryCounts()
public SummaryCounts getSummaryCounts(CumKind cumKind)
getSummaryCounts in interface ContainercumKind - Kind of count: CumKind.CUM or CumKind.NON_CUM. (Ignored.)
public long getSummaryCount(CumKind cumKind,
FeatureKind featureKind,
Arity arity,
MainKind mainKind)
getSummaryCount in interface ContainercumKind - Kind of count: CumKind.CUM or CumKind.NON_CUM. (Ignored.)featureKind - Feature kind: FeatureKind.WORD or
FeatureKind.WORD_PART.arity - Arity: Arity.UNIGRAM, Arity.BIGRAM or Arity.TRIGRAM.mainKind - Main kind: MainKind.ALL_TEXT or MainKind.MAIN_TEXT.
public long getNumWords()
public long getNumWordsMain()
public long getNumWordBigrams()
public long getNumWordBigramsMain()
public long getNumWordTrigrams()
public long getNumWordTrigramsMain()
public long getNumWordParts()
public long getNumWordPartsMain()
public long getNumWordPartBigrams()
public long getNumWordPartBigramsMain()
public long getNumWordPartTrigrams()
public long getNumWordPartTrigramsMain()
public long getNumSentences()
public long getNumSentencesMain()
public int compareTo(Author other)
Authors are ordered in case and diacritical-insensitve increasing alphabetical order by name.
compareTo in interface java.lang.Comparable<Author>other - The other instance to be compared.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||