Concordia
Deprecated List
Member Concordia::anubisSearch (const std::string &pattern)
Finds the examples from the index, whose resemblance to the pattern is maximal. This method may perform very slow, try using concordiaSearch instead.
Parameters
patternpattern to be searched in the index
Returns
vector of anubis results
Exceptions
ConcordiaException
Member ConcordiaSearcher::anubisSearch (boost::shared_ptr< ConcordiaConfig > config, boost::shared_ptr< std::vector< sauchar_t > > T, boost::shared_ptr< std::vector< SUFFIX_MARKER_TYPE > > markers, boost::shared_ptr< std::vector< saidx_t > > SA, const std::vector< INDEX_CHARACTER_TYPE > &pattern)
Finds the examples from the index, whose resemblance to the pattern is maximal. This method may perform very slow, try using concordiaSearch instead.
Parameters
configconcordia config object (to read the anubis threshold parameter)
Thashed index to search in
markersmarkers array for the needs of searching
SAsuffix array for the needs of searching
patternpattern to be searched in the index. This pattern needs to be hashed.
Returns
vector of results
Exceptions
ConcordiaException
Member IndexSearcher::anubisSearch (boost::shared_ptr< ConcordiaConfig > config, boost::shared_ptr< HashGenerator > hashGenerator, boost::shared_ptr< std::vector< sauchar_t > > T, boost::shared_ptr< std::vector< SUFFIX_MARKER_TYPE > > markers, boost::shared_ptr< std::vector< saidx_t > > SA, const std::string &pattern)
Finds the examples from the index, whose resemblance to the pattern is maximal. This method may perform very slow, try using concordiaSearch instead.
Parameters
configconcordia config object (to read the anubis threshold parameter)
hashGeneratorhash generator to be used to convert input sentence to a hash
Thashed index to search in
markersmarkers array for the needs of searching
SAsuffix array for the needs of searching
patternstring pattern to be searched in the index.
byWhitespacewhether to tokenize the pattern by white space
Returns
vector of results
Exceptions
ConcordiaException