[Maia-users] Fuzzy OCR version current recommendation
Robert LeBlanc
rjl at renaissoft.com
Thu Apr 12 22:47:05 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Darrick Hartman wrote:
> I'm using the latest Fuzzy OCR plugin with Maia.
As you should; the 3.5.x series is the current recommended version. Our
wiki needs to be updated with instructions for this latest version.
Something else to do with my copious free time ;)
> Also the new version of FuzzyOCR includes a line in
> FuzzyOCR.cf that loads the plugin (so you don't need to modify v310.pre
> as mentioned in the wiki).
Yes, well, the loadplugin line /does/ technically belong in a *.pre
file, and not in the supplied *.cf file. All plugins are supposed to
register themselves in *.pre files so that they're guaranteed to get
loaded before any of the rule files. That makes them available to all
*.cf files.
By putting the loadplugin line at the beginning of the FuzzyOCR *.cf
file, the author is limiting its accessibility to the *.cf files that
load /after/ his own. That's fine as long as the only rules that want
to do anything with the FuzzyOCR results are loaded afterward, but
suppose someone writing another plugin wanted to do something
interesting with the FuzzyOCR results, and his rules had the misfortune
to load before FuzzyOCR's plugin was loaded. Or suppose that someone
wanted to write a META-rule that combines the results of several other
rules to build a score-boosting conditional--that META-rule could only
work if it gets loaded after the FuzzyOCR plugin was loaded. That's why
all the "loadplugin" stuff belongs in *.pre files--it's not just good
form, it's got a practical benefit.
- --
Robert LeBlanc <rjl at renaissoft.com>
Renaissoft, Inc.
Maia Mailguard <http://www.maiamailguard.com/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGHxlZGmqOER2NHewRAsooAJwJ6vuPx9DSYMCrpPQuv2OwKIv8xQCcDS7Y
01dsdt03Q0XzEQW+8NO9Sts=
=BuJc
-----END PGP SIGNATURE-----
More information about the Maia-users
mailing list