CMoptions {Onassis}R Documentation

CMoptions

Description

This constructor creates an object of type CMoptions

Usage

CMoptions(SearchStrategy = "CONTIGUOUS_MATCH",
  CaseMatch = "CASE_INSENSITIVE", Stemmer = "NONE",
  StopWords = "NONE", OrderIndependentLookup = "ON",
  FindAllMatches = "YES", SynonymType = "ALL", paramValueIndex = NA)

Arguments

SearchStrategy

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

CaseMatch
  • CASE_IGNOREFold everything to lowercase for matching

  • CASE_INSENSITIVEFold only tokens with initial caps to lowercase

  • CASE_FOLD_DIGITSFold all (and only) tokens with a digit

  • CASE_SENSITIVEPerform no case folding

Stemmer
  • 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

StopWords
  • PUBMED A list of stop words obtained analyzing Pubmed papers

  • NONE No stop words

OrderIndependentLookup
  • ON Ordering within span is ignored (i.e. 'Breast cancer' would equal 'Cancer breast')

  • OFF Ordering is taken into consideration

FindAllMatches
  • YES All the matches within the span are found

  • NO Only the longest match within the span will be returned

SynonymType
  • EXACT_ONLY Only exact synonyms are considered

  • ALL All synonym types are included

paramValueIndex

An integer value to index the 576 parameter combinations

Value

instance of the class CMoptions set to the default combination of parameters

Examples

op <- CMoptions()

[Package Onassis version 1.10.0 Index]