The functions retrieves stopwords from the stopwords
package using the ISO-639-1 encoding.
For miscellaneous languages data_stopwords_misc
are used.
get_stopwords(code)
code | A string with the language code of the stopwords. |
---|
Character vector with the stopwords or NULL if the language code is unknown.
get_stopwords("en")[1:10]#> [1] "'ll" "'tis" "'twas" "'ve" "10" "39" #> [7] "a" "a's" "able" "ableabout"