[Gramadoir-devel] Architectural changes for improved package availability.
Status: Beta
Brought to you by:
cos
From: Curon D. <cw...@ca...> - 2009-01-05 01:16:47
|
I've had a discussion off list with Kevin Scannell regarding the possibility of some changes to the Gramadoir architecture in light of the lack of available packages for languages other than Irish on both CPAN and most Linux distributions. Currently the only way of obtaining these packages are from CVS (or using an alternative online interface, as is the case with Welsh). With this in mind I would like to expand the package availability, possibly separating the engine from the language using the Lingua::Gramadoir name space for the engine. My current thoughts are Lingua::Gramadoir being a general interface to all installed languages and Lingua::Gramadoir::Engine being the base class for language packages. This would also allow backwards compatibility with the current architecture. Does anyone have any other suggestions/comments? The original idea (as mentioned in the docs) was "that an *end-user* of the grammar checker would only need to install Lingua::XX::Gramadoir and they'd be up-and-running". This should still be possible by placing a dependency on Lingua::Gramadoir, then the end-user will not need to be aware of the changes. Undertaking this change would make OpenOffice.org 3 integration easier, along with integration into other applications (the new proofreading API supports multiple languages using the same engine). Curon Davies |