| delete_stop_words {MetaNLP} | R Documentation | 
Delete stop words
Description
Usually, stop words do not offer useful information in the classification whether a paper should be included or excluded from a meta-analysis. Thus, such words should not be part of the word count matrix. This function allows the user to automatically delete stop words.
Usage
delete_stop_words(object, ...)
## S4 method for signature 'MetaNLP'
delete_stop_words(object, ...)
Arguments
| object | A MetaNLP object, whose data frame is to be modified. | 
| ... | Language of the stop words. Defaults to "english". | 
Details
This function allows to delete stop words from different languages. Supported
languages are english, french, german, russian and
spanish. Language names are case sensitive.
Value
An object of class MetaNLP.
Examples
path <- system.file("extdata", "test_data.csv", package = "MetaNLP", mustWork = TRUE)
obj <- MetaNLP(path)
obj <- delete_stop_words(obj, "english")
[Package MetaNLP version 0.1.2 Index]