Go to the source code of this file.
◆ compute_reject_threshold()
Definition at line 233 of file reject.cpp.
  235   float bestgap = 0.0f;          
   238   int blob_count = word->
length();
   241   for (
int i = 0; i < blob_count; ++i) {
   245   gapstart = ratings[0] - 1;     
   246   if (blob_count >= 3) {
   247     for (
int index = 0; index < blob_count - 1; index++) {
   248       if (ratings[index + 1] - ratings[index] > bestgap) {
   249         bestgap = ratings[index + 1] - ratings[index];
   251         gapstart = ratings[index];
   255   threshold = gapstart + bestgap / 2;
 void resize_no_init(int size)
 
 
 
 
◆ dont_allow_1Il()
◆ flip_0O()
◆ flip_hyphens()
◆ non_0_digit()
      
        
          | bool non_0_digit  | 
          ( | 
          const char *  | 
          str,  | 
        
        
           | 
           | 
          int  | 
          length  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ reject_blanks()
Definition at line 185 of file reject.cpp.
const STRING & unichar_lengths() const
 
const STRING & unichar_string() const
 
WERD_CHOICE * best_choice
 
 
 
 
◆ reject_poor_matches()
      
        
          | void reject_poor_matches  | 
          ( | 
          WERD_RES *  | 
          word | ) | 
           | 
        
      
 
Definition at line 214 of file reject.cpp.
float compute_reject_threshold(WERD_CHOICE *word)
 
UNICHAR_ID unichar_id(int index) const
 
WERD_CHOICE * best_choice
 
 
 
 
◆ word_contains_non_1_digit()
      
        
          | bool word_contains_non_1_digit  | 
          ( | 
          const char *  | 
          word,  | 
        
        
           | 
           | 
          const char *  | 
          word_lengths  | 
        
        
           | 
          ) | 
           |  |