svensktext is an R package that contains data relevant for the Swedish language, such as:
- stopwords
- emotions
- ...
Note: under development
# install.packages("devtools")
devtools::install_github("peterdalle/svensktext-rpackage")
library(svensktext)
svensktext::stopwords
svensktext::emotions
Dataset | Description |
---|---|
stopwords |
Various stopwords suitable for generic texts. |
emotions |
... |
... |
... |
In the R console, write ?
followed by the dataset name to view the documentation. For example:
?svensktext::stopwords
See available datasets:
?svensktext
The datasets are prepared by:
- downloading the data from the svensktext data repository (https://github.com/peterdalle/svensktext)
- saving data as built-in datasets within the R package.
See the file data-raw/prepare-datasets.R
for details.
See the license for each particular dataset in the documentation.