![]() |
Concordia
|
#include <concordia_search_result.hpp>
Public Member Functions | |
| ConcordiaSearchResult (TokenizedSentence tokenizedPattern) | |
| virtual | ~ConcordiaSearchResult () |
| void | addFragment (const MatchedPatternFragment &fragment) |
| void | sortFragments () |
| void | computeBestOverlay () |
| TokenizedSentence | getTokenizedPattern () const |
| std::vector< MatchedPatternFragment > | getFragments () const |
| std::vector< MatchedPatternFragment > | getBestOverlay () const |
| double | getBestOverlayScore () const |
Class representing result of concordia search. Contains the following information:
For more info about concordia searching see Concordia searching.
|
explicit |
Constructor.
| tokenVector | tokenized pattern which was used for searching |
|
virtual |
Destructor.
| void ConcordiaSearchResult::addFragment | ( | const MatchedPatternFragment & | fragment | ) |
Adds a matched pattern fragment to the list.
| fragment | fragment to be added |
| void ConcordiaSearchResult::computeBestOverlay | ( | ) |
Computes the best overlay by choosing appropriate fragments from the fragments list. For more info see Concordia searching.

|
inline |
Getter for best overlay.
|
inline |
Getter for best overlay score.
|
inline |
Getter for all matched pattern fragments list.
|
inline |
Getter for tokenized pattern.
| void ConcordiaSearchResult::sortFragments | ( | ) |
Sorts the list of matched pattern fragments in descending order by length.