Name : perl-Text-Ngram
| |
Version : 0.150.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.1.1
| Date : 2024-07-24 21:48:16
|
Group : Unspecified
| Source RPM : perl-Text-Ngram-0.150.0-lp156.1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : Ngram analysis of text
|
Description :
n-Gram analysis is a field in textual analysis which uses sliding window character sequences in order to aid topic analysis, language determination and so on. The n-gram spectrum of a document can be used to compare and filter documents in multiple languages, prepare word prediction networks, and perform spelling correction.
The neat thing about n-grams, though, is that they\'re really easy to determine. For n=3, for instance, we compute the n-gram counts like so:
the cat sat on the mat --- $counts{\"the\"}++; --- $counts{\"he \"}++; --- $counts{\"e c\"}++; ...
This module provides an efficient XS-based implementation of n-gram spectrum analysis.
There are two functions which can be imported:
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.6/x86_64 |