File: LanguageDetect.php
Source Location: /Text_LanguageDetect-0.3.0/Text/LanguageDetect.php
Classes:
Text_LanguageDetect
Language detection class
Page Details:
Detects the language of a given piece of text.
Attempts to detect the language of a sample of text by correlating ranked 3-gram frequencies to a table of 3-gram frequencies of known languages. Implements a version of a technique originally proposed by Cavnar & Trenkle (1994): "N-Gram-Based Text Categorization" PHP version 5
Includes:
Documentation generated on Mon, 16 Jan 2012 10:00:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.
|