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

Index of all elements

[ a ] [ b ] [ c ] [ d ] [ e ] [ g ] [ i ] [ l ] [ m ] [ n ] [ o ] [ ] [ s ] [ t ] [ u ] [ v ]

a

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

b

BLOCK_DETECTION
in file Exception.php, class constant Text_LanguageDetect_Exception::BLOCK_DETECTION
    Error during block detection
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

DB_EMPTY
in file Exception.php, class constant Text_LanguageDetect_Exception::DB_EMPTY
    Database file is empty
DB_NOT_ARRAY
in file Exception.php, class constant Text_LanguageDetect_Exception::DB_NOT_ARRAY
    Database contents is not a PHP array
DB_NOT_FOUND
in file Exception.php, class constant Text_LanguageDetect_Exception::DB_NOT_FOUND
    Database file could not be found
DB_NOT_READABLE
in file Exception.php, class constant Text_LanguageDetect_Exception::DB_NOT_READABLE
    Database file found, but not readable
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

INVALID_CHAR
in file Exception.php, class constant Text_LanguageDetect_Exception::INVALID_CHAR
    Character in parameter is invalid
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

m

MAGIC_QUOTES
in file Exception.php, class constant Text_LanguageDetect_Exception::MAGIC_QUOTES
    Magic quotes are activated
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.
NO_HIGHEST_KEY
in file Exception.php, class constant Text_LanguageDetect_Exception::NO_HIGHEST_KEY
    Error while clustering languages
top

o

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

p

PARAM_TYPE
in file Exception.php, class constant Text_LanguageDetect_Exception::PARAM_TYPE
    Parameter of invalid type passed to method
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_Exception
in file Exception.php, class Text_LanguageDetect_Exception
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
UNKNOWN_LANGUAGE
in file Exception.php, class constant Text_LanguageDetect_Exception::UNKNOWN_LANGUAGE
    Language is not in the database
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

_

_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

Documentation generated on Mon, 11 Mar 2019 15:47:08 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.