CaseMatch: 'CaseMatch'

Description Usage Arguments Value Examples

Description

Method to get and set the CaseMatch parameter of CMoptions instances

Usage

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

1
2
3
4
opts <- CMoptions()
CaseMatch(opts)
opts <- CMoptions()
CaseMatch(opts) <- 'CASE_SENSITIVE'

eugeniaeueu/Onassis documentation built on March 9, 2020, 8:17 a.m.