Changeset 82
- Timestamp:
- 03.12.2006 00:16:01 (2 years ago)
- Files:
-
- trunk/devel/FuzzyOcr.cf (modified) (1 diff)
- trunk/devel/FuzzyOcr.pm (modified) (2 diffs)
- trunk/devel/FuzzyOcr/Config.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/devel/FuzzyOcr.cf
r81 r82 185 185 #focr_counts_required 3 186 186 187 # Setting this will cause every word to be matched only once per image (Default value: 0) 188 #focr_unique_matches 1 189 187 190 # This is the score for a hit after focr_counts_required matches 188 191 # Default value: 5 trunk/devel/FuzzyOcr.pm
r81 r82 691 691 chomp $retcode; 692 692 my $errstr = "Return code: $retcode, Error: "; 693 my$errstr .= join( '', @result );693 $errstr .= join( '', @result ); 694 694 infolog("Errors in Scanset \"$scanlabel\""); 695 695 infolog($errstr); … … 731 731 . " scanned with scanset \"$scanlabel\"" 732 732 ); 733 if ($conf->{focr_unique_matches}) { 734 last; 735 } 733 736 } 734 737 } trunk/devel/FuzzyOcr/Config.pm
r81 r82 307 307 default => 1.5, 308 308 type => $Mail::SpamAssassin::Conf::CONF_TYPE_NUMERIC 309 }); 310 push (@cmds, { 311 setting => 'focr_unique_matches', 312 default => 0, 313 type => $Mail::SpamAssassin::Conf::CONF_TYPE_BOOL 309 314 }); 310 315
