Text_LanguageDetect
[ class tree: Text_LanguageDetect ] [ index: Text_LanguageDetect ] [ all elements ]
Packages:
Text_LanguageDetect


Classes:
Text_LanguageDetect
Text_LanguageDetect_Parser
Files:
example_clui.php
example_web.php
LanguageDetect.php
Parser.php

File: LanguageDetect.php

Source Location: /Text_LanguageDetect-0.2.3/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 versions 4 and 5

Includes:

require_once('PEAR.php') [line 24]
require_once('Text/LanguageDetect/Parser.php') [line 25]

Documentation generated on 2019年3月11日 15:24:51 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.

AltStyle によって変換されたページ (->オリジナル) /