Stemmer {Onassis} | R Documentation

## Method Stemmer

### Description

Method to get and set the Stemmer parameter

### Usage

    Stemmer(x)

    Stemmer(x) <- value

    ## S4 method for signature 'CMoptions'
    Stemmer(x)

    ## S4 replacement method for signature 'CMoptions'
    Stemmer(x) <- value

### Arguments

`x` | instance of class `CMoptions`
`value` | BIOLEMMATIZER A stemmer specific for biomedical literature PORTER A stemmer that removes the commoner morphological and inflexional endings from words in English NONE No word stemming

### Value

The Stemmer corresponding to the current options when used as get, the new CMoptions object with updated parameters when used to set.

### Examples

    opts <- CMoptions()
    Stemmer(opts)

    opts <- CMoptions()
    Stemmer(opts) <- 'PORTER'

[Package Onassis version 1.4.5 Index]