Statistics::Smoothing::SGT - A Simple Good-Turing (SGT) smoothing implementation


Statistics-Smoothing-SGT documentation  | view source Contained in the Statistics-Smoothing-SGT distribution.

Index


NAME

Top

Statistics::Smoothing::SGT - A Simple Good-Turing (SGT) smoothing implementation

SYNOPSIS

Top

Basic Usage

  use Statistics::Smoothing::SGT
  my $sgt = new Statistics::Smoothing::SGT($frequencyClasses, $total);
  $sgt->calculateValues();
  $probabilities = $sgt->getProbabilities();
  $newFrequencies = $sgt->getNewFrequencies();
  $nBar = $sgt->getNBar();

AUTHORS

Top

Florian Doemges, florian@doemges.net

Bjoern Wilmsmann, bjoern@wilmsmann.de

COPYRIGHT

Top

BUGS

Top

SEE ALSO

Top

DESCRIPTION

Top

This Perl module implements the Simple Good Turing (SGT) algorithm for smoothing of probabilistic values developed by William Gale and Geoffrey Sampson.

The algorithm is described in detail in Sampson's Empirical Linguistics (Continuum International, London and New York, 2001), chapter 7. An online version of this paper is available at Geoffrey Sampson's homepage under http://www.grsampson.net/AGtf.html.

Error Codes

Methods


Statistics-Smoothing-SGT documentation  | view source Contained in the Statistics-Smoothing-SGT distribution.