SearchStrategy {Onassis} | R Documentation

## Method SearchStrategy

### Description

Method to get and set the SearchStrategy parameter

### Usage

    SearchStrategy(x)

    SearchStrategy(x) <- value

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

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

### Arguments

`x` | instance of class `CMoptions`
`value` | The matching strategy for finding concepts in the input text CONTIGUOUS_MATCHLongets match of contiguous tokens within enclosing span SKIP_ANY_MATCHLongest match of not-necessarily contiguous tokens SKIP_ANY_MATCH_ALLOW_OVERLAPLongest match of not-necessarily contiguous tokens, overlapping matches are allowed

### Value

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

### Examples

    opts <- CMoptions()
    SearchStrategy(opts)

    opts <- CMoptions()
    SearchStrategy(opts) <- 'SKIP_ANY_MATCH_ALLOW_OVERLAP'

[Package Onassis version 1.8.2 Index]