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

Element index for package Text_LanguageDetect

[ a ] [ c ] [ d ] [ e ] [ g ] [ l ] [ 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
top

a

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

c

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()
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
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

l

languageExists
in file LanguageDetect.php, method Text_LanguageDetect::languageExists()
Returns true if a given language exists
languageSimilarity
in file LanguageDetect.php, method Text_LanguageDetect::languageSimilarity()
Calculate the similarities between the language models
LanguageDetect.php
procedural page LanguageDetect.php
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

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
in file LanguageDetect.php, method Text_LanguageDetect::Text_LanguageDetect()
Constructor
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 2019年3月11日 14:34:20 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.

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