{
    "mode": "perldoc",
    "parameter": "Lingua::Stem::It",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Lingua%3A%3AStem%3A%3AIt/json",
    "generated": "2026-10-08T11:55:15Z",
    "synopsis": "use Lingua::Stem::It;\nmy $stems = Lingua::Stem::It::stem({ -words => $wordlistreference,\n-locale => 'it',\n-exceptions => $exceptionshash,\n});\nmy $stem = Lingua::Stem::It::stemword( $word );",
    "sections": {
        "NAME": {
            "content": "Lingua::Stem::It - Porter's stemming algorithm for Italian\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Lingua::Stem::It;\nmy $stems = Lingua::Stem::It::stem({ -words => $wordlistreference,\n-locale => 'it',\n-exceptions => $exceptionshash,\n});\n\nmy $stem = Lingua::Stem::It::stemword( $word );\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module applies the Porter Stemming Algorithm to its parameters, returning the stemmed\nwords.\n\nThe algorithm is implemented exactly (I hope :-) as described in:\n\nhttp://snowball.tartarus.org/algorithms/italian/stemmer.html\n\nThe code is carefully crafted to work in conjunction with the Lingua::Stem module by Benjamin\nFranz, from which I've also borrowed some functionalities (caching and exception list).\n",
            "subsections": []
        },
        "METHODS": {
            "content": "",
            "subsections": [
                {
                    "name": "stem",
                    "content": "Stems a list of passed words. Returns an anonymous list reference to the stemmed words.\n\nExample:\n\nmy $stemmedwords = Lingua::Stem::It::stem({ -words => \\@words,\n-locale => 'it',\n-exceptions => \\%exceptions,\n});\n"
                },
                {
                    "name": "stem_word",
                    "content": "Stems a single word and returns the stem directly.\n\nExample:\n\nmy $stem = Lingua::Stem::It::stemword( $word );\n"
                },
                {
                    "name": "stem_caching",
                    "content": "Sets the level of stem caching.\n\n'0' means 'no caching'. This is the default level.\n\n'1' means 'cache per run'. This caches stemming results during a single call to 'stem'.\n\n'2' means 'cache indefinitely'. This caches stemming results until either the process exits\nor the 'clearstemcache' method is called.\n\nclearstemcache;\nClears the cache of stemmed words\n\nEXPORT\nNone by default.\n"
                }
            ]
        },
        "AUTHOR": {
            "content": "Aldo Calpini, dada@perl.it\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Lingua::Stem\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c) Aldo Calpini, dada@perl.it. All rights reserved.\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
            "subsections": []
        }
    },
    "summary": "Lingua::Stem::It - Porter's stemming algorithm for Italian",
    "flags": [],
    "examples": [],
    "see_also": []
}