Stemmer: Method Stemmer

Description Usage Arguments Value Examples

Description

Method to get and set the Stemmer parameter

Usage

1
2
3
4
5
6
7
8
9
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

1
2
3
4
5
opts <- CMoptions()
Stemmer(opts)

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

Onassis documentation built on Nov. 8, 2020, 8:18 p.m.