Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
21 lines (18 sloc)
1.23 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Comparison to other packages" | |
author: Stefan Müller, Kenneth Benoit, and Kohei Watanabe | |
output: | |
html_document: | |
toc: true | |
--- | |
```{r eval = TRUE, message = FALSE, warning = FALSE, echo = FALSE} | |
library(quanteda) | |
library(knitr) | |
``` | |
This article compares **quanteda** to alternative R packages for quantitative text analysis ([**tm**](https://cran.r-project.org/web/packages/tm/index.html), [**tidytext**](https://cran.r-project.org/web/packages/tidytext/index.html), [**corpus**](https://cran.r-project.org/web/packages/corpus/index.html), and [**koRpus**](https://cran.r-project.org/web/packages/koRpus/)) and the [Natural Language Toolkit](http://www.nltk.org/index.html) for Python. If a function is available in another package, we provide the respective command. | |
Note that we have used the package manuals for the comparison. If we have overlooked certain functions, please let us know - either by editing the table and issuing a Pull Request or by contacting the [maintainer](mailto:K.R.Benoit@lse.ac.uk). | |
```{r eval = TRUE, message = FALSE, echo = FALSE, results = 'asis'} | |
dta_table <- read.csv("comparison-packages-data.csv") | |
dta_table <- dta_table[-2] # exclude "Category" to save space | |
kable(dta_table, format = "markdown") | |
``` |