Stopwords is for filter result.
Methods
Method print()
print method for Stopwords
objects
Method new()
Create a stopwords object for filter stopwords on analyze()
and tokenize()
results.
Usage
Stopwords$new(use_system_dict = TRUE)
Method add()
add stopword one at a time.
Arguments
form
char(optional)
: Form information. Default is NA.tag
char(optional)
: Tag information. Default is "NNP". Please check Tags.
Method add_from_dict()
add stopword from text file. text file need to form "TEXT/TAG". TEXT can remove like "/NNP". TAG required like "FORM/NNP".
Method remove()
remove stopword one at a time.
Arguments
form
char(optional)
: Form information. If form not set, remove tag in input.tag
char(required)
: Tag information. Please check Tags.
Method get()
return tibble of stopwords.
Returns
a tibble for stopwords options
for analyze()
/ tokenize()
function.