|Subject:||RFE: Text::Aspell methods to produce a list of misspelled words|
First of all, thank you for authoring the module; I have enjoyed using it. This is a request for feature enhancement for a future rev of Text::Aspell current version: Text::Aspel .02 I would love it if there could be a methods that return a lists of misspelled words from either a string, filehandle or file. The methods would expose the same functionality as using the "-l" or "list" command-line option of aspell .50.3, which returns a list of misspelled words from standard input. Perhaps it could work something like this: my $speller = Text::Aspell->new(); @misspelled = $speller->list_data( $string ); # or @misspelled = $speller->list_open( "/some/file" ); # or my @misspelled = $speller->list_fh( \*FH ); Using methods like this, programmers using your module can leverage aspell's intellegence of identifying misspelled words in a paragraph or otherwise in the context of written languange. Then, programmers don't need to worry about what kind of characters to ignore, what characters should be used to delimit a word and so on. This is especially helpful if you're using HTML/SGML mode.