src/ccmain/tessedit.cpp
static bool IsStrInList(const std::string &str, const std::vector<std::string> &str_list) {
  for (const auto &i : str_list) {
    if (i == str) {
      return true;
    }
  }
  return false;
}
// Helper returns true if the given string is in the vector of strings.
Helper returns true if the given string is in the vector of strings.
Helper returns true if the given string is in the vector of strings .
static bool IsStrInList(const std::string &str, const std::vector<std::string> &str_list) {
  for (const auto &i : str_list) {
    if (i == str) {
      return true;
    }
  }
  return false;
}
static bool IsStrInList ( const std :: string & str , const std :: vector < std :: string > & str_list ) { for ( const auto & i : str_list ) { if ( i == str ) { return true ; } } return false ; }
Helper returns true if the given string is in the vector of strings.
Helper returns true if the given string is in the vector of strings .