On Mon, Jan 28, 2002 at 04:40:34PM -0800, William R Ward wrote: > The following message is a courtesy copy of an article > that has been posted to perl.modules as well. > > [EMAIL PROTECTED] (Dobrica Pavlinusic) writes: > > My name is Dobrica Pavlinusic and I would like to contribute module which > > reads ispell affix file and returns all alternative spellings of a word. > > > > Here is info for PAUSE: > > name: Dobrica Pavlinusic > > e-mail: [EMAIL PROTECTED] > > URL: http://www.rot13.org/~dpavlin/ > > preferred user-ID: DPAVLIN > > > > Logical namespace is Text::Ispell::Affix. However, I don't like Text::Ispell > > dependency on ispell binary, and I would like to be able to use just my > > module (without rest of Ispell). That leads to Text::Affix namespace, but > > I will take suggesions to move is to some other namespace if that is more > > appropriate (Lingua::Affix also comes to mind). > > Some other ideas you might consider: > > First off, I don't think "Affix" is widely-enough known to be easily > recognized. I think you need something in there to indicate it's > about spelling. How about: > > Text::Spelling::Affix > Lingua::Spelling::Affix > Lingua::Spelling::Alternative::Affix > > Does your module also create or modify the affix file as well? Is > your module written so that it depends on that file's format, or might > it be able to be extended easily to support other alternative-spelling > file formats? > > Assuming the existence of a hypothetical "abc" and "xyz" file format > for alternative spelling, you could have a whole hierarchy of modules: > > *::Spelling::Alternative # the engine that does the work > *::Spelling::Alternative::affix # subclass that knows affix file fmt > *::Spelling::Alternative::abc # subclass that knows abc file fmt > *::Spelling::Alternative::xyz # subclass that knows xyz file fmt > > (Substitute "Text", "Lingua", or whatever is finally chosen for "*")
That is a great idea, especially since module will also be able to read files produced by findaffix utility before it is converted to proper affix file (which has limitation of 26 entries). Sould I cc: this message to somewhere and is there "official" way to request Lingua::Spelling::Alternative namespace? -- Dobrica Pavlinusic 2share!2flame [EMAIL PROTECTED] Unix addict. Internet consultant. http://www.rot13.org/~dpavlin