Class cebe\jssearch\analyzer\HtmlAnalyzer

Inheritancecebe\jssearch\analyzer\HtmlAnalyzer
Implementscebe\jssearch\AnalyzerInterface

Analyzer for HTML files

Public Methods

Hide inherited methods

MethodDescriptionDefined By
analyze() Analyzes a string and returns an array of the following format: cebe\jssearch\analyzer\HtmlAnalyzer

Property Details

$headWeight public property
$textWeight public property
$textWeight 1.2
$titleWeight public property

Method Details

analyze() public method

Analyzes a string and returns an array of the following format:

TODO ` `

array analyze$string, \cebe\jssearch\TokenizerInterface $tokenizer )
$string string

The string to analyze

$tokenizer