SpellChecker
============

Check spelling in text and images using the OpenAI API.

    use SpellChecker qw(check_text check_image detect_text);

    my $api_key = $ENV{OPENAI_API_KEY};

    detect_text("Hello world");

    if (check_text("Ths is a tpyo", $api_key)) {
        print "text rejected\n";
    }

    if (check_image("sign.webp", $api_key)) {
        print "image rejected\n";
    }

INSTALLATION

    perl Makefile.PL
    make
    make install

On Windows with Strawberry Perl, use `dmake` or `gmake` instead of `make`.

DEPENDENCIES

    JSON
    HTTP::Tiny
    IO::Socket::SSL

An OpenAI API key is required for check_text and check_image.

LICENSE

Same terms as Perl itself.
