de.fu_berlin.ties.eval
Interface FeatureCountView

All Superinterfaces:
Storable
All Known Implementing Classes:
FeatureCount

public interface FeatureCountView
extends Storable

Provides a read-only view on the statistics calculated by the FeatureCount class and the underlying raw counts.

Version:
$Revision: 1.3 $, $Date: 2004/02/17 18:10:28 $, $Author: siefkes $
Author:
Christian Siefkes

Method Summary
 double getAverageContexts()
          Calculates and returns the average number of context representations in a document.
 double getAverageFeatures()
          Calculates and returns the average number of non-comment features in a context representation.
 double getAverageUniqueFeatures()
          Calculates and returns the average number of unique non-comment features in a context representation.
 long getCharacters()
          Returns the number of characters counted so far.
 double getCharactersPerContext()
          Calculates and returns the average number of characters in a context representation.
 double getCharactersPerFeature()
          Calculates and returns the average number of characters in a feature.
 long getContexts()
          Returns the number of representations evaluated so far.
 long getDocuments()
          Returns the number of documents counted so far.
 long getFeatureSum()
          Returns the number of non-comment features encountered so far.
 long getUniqueFeatureSum()
          Returns the number of non-comment non-duplicate features encountered so far.
 
Methods inherited from interface de.fu_berlin.ties.io.Storable
storeFields
 

Method Detail

getAverageContexts

double getAverageContexts()
Calculates and returns the average number of context representations in a document.

Returns:
the average number of context representations

getAverageFeatures

double getAverageFeatures()
Calculates and returns the average number of non-comment features in a context representation.

Returns:
the average number of features

getAverageUniqueFeatures

double getAverageUniqueFeatures()
Calculates and returns the average number of unique non-comment features in a context representation.

Returns:
the average number of features

getCharacters

long getCharacters()
Returns the number of characters counted so far. Only characters within features are counted; separators between different features are ignored.

Returns:
the value of the attribute

getCharactersPerContext

double getCharactersPerContext()
Calculates and returns the average number of characters in a context representation. Only characters within features are considered; separators between different features are ignored.

Returns:
the average number of characters in a context

getCharactersPerFeature

double getCharactersPerFeature()
Calculates and returns the average number of characters in a feature.

Returns:
the average number of characters in a feature

getContexts

long getContexts()
Returns the number of representations evaluated so far.

Returns:
the value of the attribute

getDocuments

long getDocuments()
Returns the number of documents counted so far.

Returns:
the value of the attribute

getFeatureSum

long getFeatureSum()
Returns the number of non-comment features encountered so far.

Returns:
the value of the attribute

getUniqueFeatureSum

long getUniqueFeatureSum()
Returns the number of non-comment non-duplicate features encountered so far. Duplicates within the same context representation are ignored; but equal features in different representations are not recognized as duplicate.

Returns:
the value of the attribute


Copyright © 2003-2004 Christian Siefkes. All Rights Reserved.