dropStop {ontoProc} | R Documentation

## dropStop is a utility for removing certain words from text data

### Description

dropStop is a utility for removing certain words from text data

### Usage

    dropStop(x, drop, lower = TRUE, splitby = " ")

### Arguments

`x` | character vector of strings to be cleaned
`drop` | character vector of words to scrub
`lower` | logical, if TRUE, x converted with `tolower`
`splitby` | character, used with strsplit to tokenize `x`

### Value

a list with one element per input string, split by " ", with elements in `drop` removed

### Examples

    data(minicorpus)
    minicorpus[1:3]
    dropStop(minicorpus)[1:3]

[Package ontoProc version 1.14.0 Index]