Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Plucene::Analysis::PorterStemFilter 1.25

    Download button

    No screenshots available
    Downloads: 301  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Plucene team | More programs
    Perl Artistic License / FREE
    June 12th, 2007, 02:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Plucene::Analysis::PorterStemFilter description

    Plucene::Analysis::PorterStemFilter - Porter stemming on the token stream.

    Plucene::Analysis::PorterStemFilter - Porter stemming on the token stream.

    SYNOPSIS

    # isa Plucene::Analysis:::TokenFilter

    my $token = $porter_stem_filter->next;

    This class transforms the token stream as per the Porter stemming algorithm.
    Note: the input to the stemming filter must already be in lower case, so you will need to use LowerCaseFilter or LowerCaseTokenizer farther down the Tokenizer chain in order for this to work properly!

    The Porter Stemmer implements Porter Algorithm for normalization of English words by stripping their extensions and is used to generalize the searches. For example, the Porter algorithm maps both 'search' and 'searching' (as well as 'searchnessing') to 'search' such that a query for 'search' will also match documents that contains the word 'searching'.

    Note that the Porter algorithm is specific to the English language and may give unpredictable results for other languages. Also, make sure to use the same analyzer during the indexing and the searching.

    You can find more information on the Porter algorithm at www.tartarus.org/~martin/PorterStemmer.

    A nice online demonstration of the Porter algorithm is available at www.scs.carleton.ca/~dquesnel/java/stuff/PorterApplet.html.

    METHODS

    next

    my $token = $porter_stem_filter->next;

    Returns the next input token, after being stemmed.

    Requirements:

    · Perl

    What's New in This Release:

    · Stop QueryParser turning 'notice' into 'NOT ice' (RT#14450)



    Product's homepage

      


    TAGS:

    Porter stemming | token stream | Perl module | Plucene::Analysis::P | Porter | stemming

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM