Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37045360
en ru br
ALT Linux repos
S:1.31-alt1
5.0: 1.09-alt2
4.1: 1.03-alt1

Group :: Text tools
RPM: perl-Text-NSP

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Current version: 1.31-alt1
Build date: 11 october 2015, 19:55 ( 441.6 weeks ago )
Size: 1009.45 Kb

Home page:   http://search.cpan.org/dist/Text-NSP/

License: GPL
Summary: The Ngram Statistic Package allows a user to count sequences of words in large corpora of text, and measure their association
Description:

The Ngram Statistics Package (NSP) is a collection of perl modules
that aid in analyzing Ngrams in text files. We define an Ngram as a
sequence of 'n' tokens that occur within a window of at least 'n'
tokens in the text; what constitutes a "token" can be defined by the
user.

NSP.pm is a stub that doesn't have any real functionality. It serves
as a top level module in the hierarchy and allows us to group the
Text::NSP::Count and Text::NSP::Measures modules.

The modules under Text::NSP::Measures implement measures of
association that are used to evaluate whether the co-occurrence of the
words in a Ngram is purely by chance or statistically significant.
These measures compute a numerical score for Ngrams. This score can be
used to decide whether or not there is enough evidence to reject the
null hypothesis (that the Ngram is not statistically significant) for
that Ngram.

To use one of the measures you can either use the program statistic.pl
provided under the utils directory, or write your own driver program.
Program statistic.pl takes as input a list of Ngrams with their
frequencies (in the format output by count.pl) and runs a
user-selected statistical measure of association to compute the score
for each Ngram. The Ngrams, along with their scores, are output in
descending order of this score. For help on using utils/statistic.pl
please refer to its perldoc (perldoc utils/statistic.pl).

If you are writing your own driver program, a basic usage example is
provided above under SYNOPSIS. For further clarification please refer
to the documentation of Text::NSP::Measures (perldoc
Text::NSP::Measures).

Current maintainer: Kirill Maslinsky

List of contributors

List of rpms provided by this srpm:

  • perl-Text-NSP
ACL:
     
    design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    current maintainer: Michael Shigorin