regexsearch.cpp File Reference

Go to the source code of this file.

Typedefs

typedef std::list< std::string > StringList

Functions

void time_serge (PhraseHunter::SearchEngine *se, std::string phrase, int iterations=10)
int main (int argc, char **argv)

Variables

const StringList phrases


Typedef Documentation

typedef std::list<std::string> StringList

Definition at line 39 of file regexsearch.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 61 of file regexsearch.cpp.

References phrases, PhraseHunter::CorpusManager::searchEngine(), and time_serge().

void time_serge ( PhraseHunter::SearchEngine se,
std::string  phrase,
int  iterations = 10 
)

Definition at line 45 of file regexsearch.cpp.

References hptimer::elapsed(), and PhraseHunter::SearchEngine::searchPhrasalRegex().


Variable Documentation

const StringList phrases

Initial value:

 
    list_of
    ("d(er|ie|as) system\\w*")

Definition at line 41 of file regexsearch.cpp.


Generated on Thu Dec 21 16:14:41 2006 for The Phrasehunter by  doxygen 1.5.1