Changeset 1903 for trunk/gsdl/perllib/plugins/BasPlug.pm
- Timestamp:
- 2001-02-06T00:06:48+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/BasPlug.pm
r1874 r1903 372 372 my @results = textcat::classify($text); 373 373 374 if (scalar @results != 1) { 374 # if textcat returns 3 or less possibilities we'll use the 375 # first one in the list - otherwise use the defaults 376 if (scalar @results > 3) { 375 377 376 378 if ($self->{'input_encoding'} ne 'auto') {
Note:
See TracChangeset
for help on using the changeset viewer.