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

Element index for package Text_LanguageDetect

[ a ] [ c ] [ d ] [ e ] [ g ] [ i ] [ l ] [ n ] [ o ] [ p ] [ s ] [ t ] [ u ] [ v ] [ _ ]

_

_arr_rank
in file LanguageDetect.php, method Text_LanguageDetect::_arr_rank()
    Converts a set of trigrams from frequencies to ranks
_read_unicode_block_db
in file LanguageDetect.php, method Text_LanguageDetect::_read_unicode_block_db()
    Brings up the unicode block database
_unicode_block_name
in file LanguageDetect.php, method Text_LanguageDetect::_unicode_block_name()
    Searches the unicode block database
_utf8char2unicode
in file LanguageDetect.php, method Text_LanguageDetect::_utf8char2unicode()
    Returns the unicode value of a utf8 char
__construct
in file LanguageDetect.php, method Text_LanguageDetect::__construct()
    Constructor
top

a

analyze
in file Parser.php, method Text_LanguageDetect_Parser::analyze()
    Executes the parsing operation
top

c

$code2ToName
in file ISO639.php, variable Text_LanguageDetect_ISO639::$code2ToName
    Maps ISO 639-1 2-letter language codes to the language names in the language database
$code3ToName
in file ISO639.php, variable Text_LanguageDetect_ISO639::$code3ToName
    Maps ISO 639-2 3-letter language codes to the language names in the language database.
clusteredSearch
in file LanguageDetect.php, method Text_LanguageDetect::clusteredSearch()
    Perform an intelligent detection based on clusterLanguages()
clusterLanguages
in file LanguageDetect.php, method Text_LanguageDetect::clusterLanguages()
    Cluster known languages according to languageSimilarity()
code2ToName
in file ISO639.php, method Text_LanguageDetect_ISO639::code2ToName()
    Returns the language name for the given 2-letter ISO 639-1 code.
code3ToName
in file ISO639.php, method Text_LanguageDetect_ISO639::code3ToName()
    Returns the language name for the given 3-letter ISO 639-2 code.
top

d

detect
in file LanguageDetect.php, method Text_LanguageDetect::detect()
    Detects the closeness of a sample of text to the known languages
detectConfidence
in file LanguageDetect.php, method Text_LanguageDetect::detectConfidence()
    Returns an array containing the most similar language and a confidence rating
detectSimple
in file LanguageDetect.php, method Text_LanguageDetect::detectSimple()
    Returns only the most similar language to the text sample
detectUnicodeBlocks
in file LanguageDetect.php, method Text_LanguageDetect::detectUnicodeBlocks()
    Returns the distribution of unicode blocks in a given utf8 string
top

e

example_clui.php
procedural page example_clui.php
example_web.php
procedural page example_web.php
Exception.php
procedural page Exception.php
top

g

getLanguageCount
in file LanguageDetect.php, method Text_LanguageDetect::getLanguageCount()
    Returns the number of languages that this object can detect
getLanguages
in file LanguageDetect.php, method Text_LanguageDetect::getLanguages()
    Returns the list of detectable languages
getTrigramFreqs
in file Parser.php, method Text_LanguageDetect_Parser::getTrigramFreqs()
    Return the trigram freqency table
getTrigramRanks
in file Parser.php, method Text_LanguageDetect_Parser::getTrigramRanks()
    Returns the trigram ranks for the text sample
getUnicodeBlocks
in file Parser.php, method Text_LanguageDetect_Parser::getUnicodeBlocks()
    returns the array of unicode blocks
top

i

iso.php
procedural page iso.php
ISO639.php
procedural page ISO639.php
top

l

languageExists
in file LanguageDetect.php, method Text_LanguageDetect::languageExists()
    Checks if the language with the given name exists in the database
languageSimilarity
in file LanguageDetect.php, method Text_LanguageDetect::languageSimilarity()
    Calculate the similarities between the language models
LanguageDetect.php
procedural page LanguageDetect.php
top

n

$nameToCode2
in file ISO639.php, variable Text_LanguageDetect_ISO639::$nameToCode2
    Maps all language names from the language database to the ISO 639-1 2-letter language code.
$nameToCode3
in file ISO639.php, variable Text_LanguageDetect_ISO639::$nameToCode3
    Maps all language names from the language database to the ISO 639-2 3-letter language code.
nameToCode2
in file ISO639.php, method Text_LanguageDetect_ISO639::nameToCode2()
    Returns the 2-letter ISO 639-1 code for the given language name.
nameToCode3
in file ISO639.php, method Text_LanguageDetect_ISO639::nameToCode3()
    Returns the 3-letter ISO 639-2 code for the given language name.
top

o

omitLanguages
in file LanguageDetect.php, method Text_LanguageDetect::omitLanguages()
    Omits languages
top

p

prepareTrigram
in file Parser.php, method Text_LanguageDetect_Parser::prepareTrigram()
    turn on/off trigram counting
prepareUnicode
in file Parser.php, method Text_LanguageDetect_Parser::prepareUnicode()
    turn on/off unicode block counting
Parser.php
procedural page Parser.php
top

s

setNameMode
in file LanguageDetect.php, method Text_LanguageDetect::setNameMode()
    Sets the way how language names are accepted and returned.
setPadStart
in file Parser.php, method Text_LanguageDetect_Parser::setPadStart()
    turn on/off padding the beginning of the sample string
setPerlCompatible
in file LanguageDetect.php, method Text_LanguageDetect::setPerlCompatible()
    Make this object behave like Language::Guess
setUnicodeSkipSymbols
in file Parser.php, method Text_LanguageDetect_Parser::setUnicodeSkipSymbols()
    Should the unicode block counter skip non-alphabetical ascii chars?
top

t

Text_LanguageDetect
in file LanguageDetect.php, class Text_LanguageDetect
    Language detection class
Text_LanguageDetect_ISO639
in file ISO639.php, class Text_LanguageDetect_ISO639
    Provides a mapping between the languages from lang.dat and the ISO 639-1 and ISO-639-2 codes.
Text_LanguageDetect_Parser
in file Parser.php, class Text_LanguageDetect_Parser
    This class represents a text sample to be parsed.
top

u

unicodeBlockName
in file LanguageDetect.php, method Text_LanguageDetect::unicodeBlockName()
    Returns the block name for a given unicode value
useUnicodeBlocks
in file LanguageDetect.php, method Text_LanguageDetect::useUnicodeBlocks()
    Whether to use unicode block ranges in detection
utf8strlen
in file LanguageDetect.php, method Text_LanguageDetect::utf8strlen()
    ut8-safe strlen()
top

v

validateString
in file Parser.php, method Text_LanguageDetect_Parser::validateString()
    Returns true if a string is suitable for parsing
top

Documentation generated on Mon, 16 Jan 2012 10:00:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.