CaseMatch {Onassis}R Documentation

CaseMatch

Description

Method to get and set the CaseMatch parameter of CMoptions instances

Usage

CaseMatch(x)

CaseMatch(x) <- value

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

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

Arguments

x

instance of class CMoptions

value

One of the following :

  • CASE_IGNORE Fold everything to lowercase for matching

  • CASE_INSENSITIVE Fold only tokens with initial caps to lowercase

  • CASE_FOLD_DIGITS Fold all (and only) tokens with a digit

  • CASE_SENSITIVE Perform no case folding

Value

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

Examples

opts <- CMoptions()
CaseMatch(opts)
opts <- CMoptions()
CaseMatch(opts) <- 'CASE_SENSITIVE'

[Package Onassis version 1.10.0 Index]