MATSUNO★Tokuhiro > Spellunker > Spellunker

Download:
Spellunker-v0.4.0.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: v0.4.0   Source  

NAME ^

Spellunker - Pure perl spelling checker implementation

DESCRIPTION ^

Spellunker is pure perl spelling checker implementation. You can use this spelling checker as a library.

And this distribution provides spellunker and spellunker-pod command.

If you want to use this spelling checker in test script, you can use Test::Spellunker.

METHODS ^

my $spellunker = Spellunker->new();

Create new instance.

$spellunker->load_dictionary($filename_or_fh)

Loads stopwords from $filename_or_fh and adds them to the on-memory dictionary.

$spellunker->add_stopwords(@stopwords)

Add some @stopwords to the on memory dictionary.

$spellunker->clear_stopwords();

Crear the information of stop words.

$spellunker->check_word($word);

Check the word looks good or not.

@bad_words = $spellunker->check_line($line)

Check the text and returns bad word list.

HOW DO I USE CUSTOM DICTIONARY? ^

You can put your personal dictionary at $HOME/.spellunker.en.

WHY DOES SPELLUNKER NOT IGNORE PERL CODE? ^

In some case, Spellunker does not ignore the perl code. You need to wrap it by C< >.

CONTRIBUTION ^

You can send me pull-request on github

LICENSE ^

Copyright (C) tokuhirom

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR ^

tokuhirom <tokuhirom@gmail.com>

syntax highlighting: