Class cebe\jssearch\analyzer\HtmlAnalyzer
Inheritance | cebe\jssearch\analyzer\HtmlAnalyzer |
---|---|
Implements | cebe\jssearch\AnalyzerInterface |
Analyzer for HTML files
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$headWeight | cebe\jssearch\analyzer\HtmlAnalyzer | ||
$textWeight | cebe\jssearch\analyzer\HtmlAnalyzer | ||
$titleWeight | cebe\jssearch\analyzer\HtmlAnalyzer |
Public Methods
Method | Description | Defined By |
---|---|---|
analyze() | Analyzes a string and returns an array of the following format: | cebe\jssearch\analyzer\HtmlAnalyzer |
Property Details
Method Details
Analyzes a string and returns an array of the following format:
TODO
`
`
public array analyze ( $string, cebe\jssearch\TokenizerInterface $tokenizer ) | ||
$string | string | The string to analyze |
$tokenizer |