#include <HighlightingAlgorithmRefine.hpp>
Protected Member Functions |
void | setWordPositionMap (std::map< unsigned int, std::pair< unsigned long long, WordPos > > &_wordPositionMap) |
void | fillWordOffsetMap (Poco::SharedPtr< HCE::OutDataRefine > outData, SearchType searchType, std::map< unsigned long long, std::vector< WordPos > > &wordMapPtr, std::map< unsigned int, WordPos > &wordOffsetMap) |
void | findChain (Poco::SharedPtr< HCE::OutDataRefine > outData, std::map< unsigned int, WordPos > &wordOffsetMap) |
void | findChainStrict (Poco::SharedPtr< HCE::OutDataRefine > outData, std::map< unsigned int, WordPos > &wordOffsetMap) |
void | joinBySegmentId (std::map< unsigned int, WordPos > &wordOffsetMap) |
| HighlightingAlgorithmBase () |
Detailed Description
Constructor & Destructor Documentation
HighlightingAlgorithmRefine::HighlightingAlgorithmRefine |
( |
| ) |
|
|
inline |
HighlightingAlgorithmRefine::HighlightingAlgorithmRefine |
( |
unsigned char |
_normalizationId, |
|
|
unsigned char |
_subjectMask |
|
) |
| |
|
inline |
virtual HighlightingAlgorithmRefine::~HighlightingAlgorithmRefine |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
void HighlightingAlgorithmRefine::fillWordOffsetMap |
( |
Poco::SharedPtr< HCE::OutDataRefine > |
outData, |
|
|
SearchType |
searchType, |
|
|
std::map< unsigned long long, std::vector< WordPos > > & |
wordMapPtr, |
|
|
std::map< unsigned int, WordPos > & |
wordOffsetMap |
|
) |
| |
|
protected |
void HighlightingAlgorithmRefine::findChain |
( |
Poco::SharedPtr< HCE::OutDataRefine > |
outData, |
|
|
std::map< unsigned int, WordPos > & |
wordOffsetMap |
|
) |
| |
|
protected |
void HighlightingAlgorithmRefine::findChainStrict |
( |
Poco::SharedPtr< HCE::OutDataRefine > |
outData, |
|
|
std::map< unsigned int, WordPos > & |
wordOffsetMap |
|
) |
| |
|
protected |
virtual std::string HighlightingAlgorithmRefine::getName |
( |
| ) |
|
|
inlinevirtual |
void HighlightingAlgorithmRefine::joinBySegmentId |
( |
std::map< unsigned int, WordPos > & |
wordOffsetMap | ) |
|
|
protected |
void HighlightingAlgorithmRefine::process |
( |
const std::vector< std::pair< SearchType, std::string > > & |
searchStrings, |
|
|
const Poco::SharedPtr< std::string > |
contentPtr, |
|
|
ContentsStorageBase::WordPosPtrType |
wordMapPtr, |
|
|
std::map< unsigned int, WordPos > & |
wordOffsetMap |
|
) |
| |
|
virtual |
void HighlightingAlgorithmRefine::setWordPositionMap |
( |
std::map< unsigned int, std::pair< unsigned long long, WordPos > > & |
_wordPositionMap | ) |
|
|
protected |
The documentation for this class was generated from the following files: