Description Usage Arguments Value Examples
Create a vector of English words associated with particular parts of speech.
1 2 3 4 5 6 | str_stopwords_by_part_of_speech(
parts = c("adjective", "adverb", "conjunction", "definite article", "interjection",
"noun", "noun phrase", "plural", "preposition", "pronoun", "verb (intransitive)",
"verb (transitive)", "verb (usu participle)"),
include_multi_word = FALSE
)
|
parts |
A vector, at least one of the following: 'adjective', 'adverb', 'conjunction', 'definite article', 'interjection', 'noun', 'noun phrase', 'plural', 'preposition', 'pronoun', 'verb (intransitive)', 'verb (transitive)', 'verb (usu participle)' |
include_multi_word |
TRUE/FALSE, if TRUE, includes records from the pos data.table where multi_word == TRUE, otherwise excludes these records. |
A vector of words matching the part of speech shown in the data.table pos.
1 | str_stopwords_by_part_of_speech('adjective')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.