phrasesearch.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  boost::assign

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 phrasesearch.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 64 of file phrasesearch.cpp.

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

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

Definition at line 48 of file phrasesearch.cpp.

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

Referenced by main().


Variable Documentation

const StringList phrases

Initial value:

 
    list_of
    ("im herbst letzten jahres")
    ("vor allem in")
    ("im november 1993")
    (", der im vergangenen jahr")

Definition at line 41 of file phrasesearch.cpp.

Referenced by main().


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