{
    "mode": "perldoc",
    "parameter": "Lingua::Stem::Da",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Lingua%3A%3AStem%3A%3ADa/json",
    "generated": "2026-08-12T11:48:26Z",
    "synopsis": "use Lingua::Stem::Da;\nmy $stems   = Lingua::Stem::Da::stem({ -words => $wordlistreference,\n-locale => 'da',\n-exceptions => $exceptionshash,\n});",
    "sections": {
        "NAME": {
            "content": "Lingua::Stem::Da - Stemming algorithm for Danish\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Lingua::Stem::Da;\nmy $stems   = Lingua::Stem::Da::stem({ -words => $wordlistreference,\n-locale => 'da',\n-exceptions => $exceptionshash,\n});\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This routine applies a stemming slgorithm to a passed anon array of Danish words, returning the\nstemmed words as an anon array.\n\nIt is a 'convienence' wrapper for 'Lingua::Stem::Snowball::Da' that provides a standardized\ninterface and caching.\n",
            "subsections": []
        },
        "CHANGES": {
            "content": "2.31 2020.09.26 - Fix for Latin1/UTF8 issue in documentation\n\n2.30 2020.06.20 - Version renumber for module consistency\n\n1.01 2003.09.28 - Documentation fix.\n\n1.00 2003.04.05 - Initial release\n",
            "subsections": []
        },
        "METHODS": {
            "content": "",
            "subsections": [
                {
                    "name": "stem",
                    "content": "Stems a list of passed words using the rules of Danish. Returns an anonymous array reference\nto the stemmed words.\n\nExample:\n\nmy $stemmedwords = Lingua::Stem::Da::stem({ -words => \\@words,\n-locale => 'da',\n-exceptions => \\%exceptions,\n});\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"
                }
            ]
        },
        "NOTES": {
            "content": "This code is a wrapper around Lingua::Stem::Snowball::Da written by\n\nDennis Haney <davh@davh.dk>\n\nand\n\nAsk Solem Hoel, <ask@unixmonks.net> (Swedish version)\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Lingua::Stem Lingua::Stem::Snowball::Da\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Integration in Lingua::Stem by\nJerilyn Franz, FreeRun Technologies,\n<cpan@jerilyn.info>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Jerilyn Franz, FreeRun Technologies\n\nThis code is freely available under the same terms as Perl.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "",
            "subsections": []
        },
        "TODO": {
            "content": "",
            "subsections": []
        }
    },
    "summary": "Lingua::Stem::Da - Stemming algorithm for Danish",
    "flags": [],
    "examples": [],
    "see_also": []
}