Skip Menu |

This queue is for tickets about the Pod-Spelling CPAN distribution.

Report information
The Basics
Id: 74812
Status: rejected
Priority: 0/
Queue: Pod-Spelling

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Extra spellchecker for crippled systems
On systems without any spellchecker binary, would it be possible to fallback to Pod::Spell::CommonMistakes? It comes with its own built in list of common misspellings. While not a substitute for a real spellchecker it can go a long way to fill the gap of "no spellchecker at all". Let me know what you think. Cheers!
I'm not keen on that, as it creates an illusion of a spellchecker, and does not allow me to choose between US and UK English. I feel it better the user use a real spell checker.
On Thu Feb 09 07:10:19 2012, LGODDARD wrote: Show quoted text
> I'm not keen on that, as it creates an illusion of a spellchecker, and > does not allow me to choose between US and UK English. I feel it better > the user use a real spell checker.
ould you be willing to add an implementation which is *not* a default fallback then, and is only used if the user explicitly requests it? The AE/BE problem is somethingI was going to address with the author, but there is no point if it can't be plugged into Pod::Spelling
Yes - it would be rude not to!
I settled down to finally code for this, when I found that CommonMistakes has no public methods to process text, only to process files. It would be trivial to rewrite CommonMistakes, subclass it, or over-ride routines, to obtain the desired effect, but it the work would depend on CM never changing its private methods, which would be wrong as they are private and thus subject to change. If you have another idea, or if CM changes, please let me know.
Hello, I'm the author of CommonMistakes and I think it's a great idea! I've implemented the beginning of this in Pod::Spelling::CommonMistakes v1.001 on CPAN. Please let me know if I went in the right direction :) On Tue Apr 10 07:05:54 2012, LGODDARD wrote: Show quoted text
> I settled down to finally code for this, when I found that > CommonMistakes has no public methods to process text, only to process > files. It would be trivial to rewrite CommonMistakes, subclass it, or > over-ride routines, to obtain the desired effect, but it the work would > depend on CM never changing its private methods, which would be wrong as > they are private and thus subject to change. > > If you have another idea, or if CM changes, please let me know.
-- ~Apocalypse