addTerms: Add terms to a TermDetector instance

Description Usage Arguments Examples

View source: R/addTerms.R

Description

Add terms and codes to a TermDetector instance to detect these in textual content. Use loadTerminoCSV() to load a whole terminology file.

Usage

1
addTerms(termDetector, terms, codes = NULL)

Arguments

termDetector

:a TermDetector instance

terms

:a character vector

codes

:a character vector of the same length as terms. Default to NULL ("NA")

Examples

1
termDetector <- RIAMsystem::newTermDetector()

scossin/RIAMsystem documentation built on Dec. 5, 2020, 5:40 p.m.