1 #ifndef __OPENTREP_BOM_FILTER_HPP
2 #define __OPENTREP_BOM_FILTER_HPP
42 static void trim (std::string& ioPhrase,
const NbOfLetters_T& iMinWordLength = 4);
64 static bool shouldKeep (
const std::string& iPhrase,
65 const std::string& iWord);
87 #endif // __OPENTREP_BOM_FILTER_HPP
Class filtering out the words not suitable for indexing and/or searching, when part of greater string...
unsigned int NbOfLetters_T
static void trim(std::string &ioPhrase, const NbOfLetters_T &iMinWordLength=4)
static bool shouldKeep(const std::string &iPhrase, const std::string &iWord)