edu.northwestern.at.monk.model
Interface Container

All Known Implementing Classes:
AggregateContainer, Author, Corpus, Work, WorkPart

public interface Container

A container.

A container is an object over which features are counted.

See Also:
MONK Datastore Overview, Licensing Agreement

Method Summary
 long getSummaryCount(CumKind cumKind, FeatureKind featureKind, Arity arity, MainKind mainKind)
          Gets a summary count.
 SummaryCounts getSummaryCounts(CumKind cumKind)
          Gets the summary counts.
 

Method Detail

getSummaryCounts

SummaryCounts getSummaryCounts(CumKind cumKind)
Gets the summary counts.

Parameters:
cumKind - Kind of count: CumKind.CUM or CumKind.NON_CUM.
Returns:
The summary counts.

getSummaryCount

long getSummaryCount(CumKind cumKind,
                     FeatureKind featureKind,
                     Arity arity,
                     MainKind mainKind)
Gets a summary count.

Parameters:
cumKind - Kind of count: CumKind.CUM or CumKind.NON_CUM.
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.
Returns:
Summary count.