quanteda.textmodels

Text scaling and classification models for quanteda

https://github.com/quanteda/quanteda.textmodels

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    2 of 7 committers (28.6%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (19.2%) to scientific vocabulary

Keywords from Contributors

corpus quanteda text-analytics encoding sentiment-analysis lsa text-analysis
Last synced: 10 months ago · JSON representation

Repository

Text scaling and classification models for quanteda

Basic Info
  • Host: GitHub
  • Owner: quanteda
  • Language: R
  • Default Branch: master
  • Size: 13.5 MB
Statistics
  • Stars: 45
  • Watchers: 7
  • Forks: 6
  • Open Issues: 33
  • Releases: 7
Created over 6 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog

README.Rmd

---
output: github_document
---

```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "##",
  fig.path = "man/images/"
)
```

```{r echo=FALSE, results="hide", message=FALSE}
library("badger")
```

# quanteda.textmodels


`r badge_cran_release("quanteda.textmodels", "green")`
`r badge_devel("quanteda/quanteda.textmodels", "royalblue")`
[![Downloads](https://cranlogs.r-pkg.org/badges/quanteda.textmodels)](https://CRAN.R-project.org/package=quanteda.textmodels)
[![Total Downloads](https://cranlogs.r-pkg.org/badges/grand-total/quanteda.textmodels?color=orange)](https://CRAN.R-project.org/package=quanteda.textmodels)
[![R-CMD-check](https://github.com/quanteda/quanteda.textmodels/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/quanteda/quanteda.textmodels/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/quanteda/quanteda.textmodels/branch/master/graph/badge.svg)](https://app.codecov.io/gh/quanteda/quanteda.textmodels?branch=master)



## About

An R package adding text scaling models and classifiers for [**quanteda**](https://quanteda.io).  Prior to **quanteda** v2, many of these were part of that package.  Early development was supported by the European Research Council grant ERC-2011-StG 283794-QUANTESS.

For more details, see https://quanteda.io.

## How to Install

You can install it via the normal way from CRAN, using your R GUI or 
```{r eval = FALSE}
install.packages("quanteda.textmodels") 
```

Or for the latest development version:
```{r eval = FALSE}
# devtools package required to install quanteda from Github 
remotes::install_github("quanteda/quanteda.textmodels") 
```

Because this compiles some C++ and Fortran source code, you will need to have installed the appropriate compilers. **On Windows platform**, this means the [Rtools](https://CRAN.R-project.org/bin/windows/Rtools/) software available from CRAN, or the macOS tools from 
[macOS tools](https://cran.r-project.org/bin/macosx/tools/), including 
namely the Clang 6.x compiler and the GNU Fortran compiler (as **quanteda** requires gfortran to build).  If you are still getting errors related to gfortran, follow the fixes [here](https://blog.thecoatlessprofessor.com/programming/rcpp-rcpparmadillo-and-os-x-mavericks--lgfortran-and--lquadmath-error/index.html).  


## How to cite

Benoit, Kenneth, Kohei Watanabe, Haiyan Wang, Paul Nulty, Adam Obeng, Stefan Müller, and Akitaka Matsuo.  (2018) "[quanteda: An R package for the quantitative analysis of textual data](https://www.theoj.org/joss-papers/joss.00774/10.21105.joss.00774.pdf)".  _Journal of Open Source Software_.  3(30), 774. [https://doi.org/10.21105/joss.00774](https://doi.org/10.21105/joss.00774).

For a BibTeX entry, use the output from `citation(package = "quanteda")`.

## Leaving Feedback

If you like **quanteda**, please consider leaving [feedback or a testimonial here](https://github.com/quanteda/quanteda/issues/461).

## Contributing

Contributions in the form of feedback, comments, code, and bug reports are most welcome.  How to contribute:

*  Fork the source code, modify, and issue a [pull request](https://help.github.com/articles/creating-a-pull-request-from-a-fork/) through the [project GitHub page](https://github.com/quanteda/quanteda).  See our [Contributor Code of Conduct](https://github.com/quanteda/quanteda/blob/master/CONDUCT.md) and the all-important **quanteda** [Style Guide](https://github.com/quanteda/quanteda/wiki/Style-guide).
*  Issues, bug reports, and wish lists: [File a GitHub issue](https://github.com/quanteda/quanteda.textmodels/issues).
*  Usage questions:  Submit a question on the [**quanteda** channel on StackOverflow](https://stackoverflow.com/questions/tagged/quanteda).
*  Contact [the maintainer](mailto:kbenoit@lse.ac.uk) by email.

Owner

  • Name: Quanteda Initiative
  • Login: quanteda
  • Kind: organization
  • Location: London, UK

GitHub Events

Total
  • Create event: 1
  • Release event: 1
  • Issues event: 6
  • Watch event: 4
  • Issue comment event: 5
  • Push event: 2
Last Year
  • Create event: 1
  • Release event: 1
  • Issues event: 6
  • Watch event: 4
  • Issue comment event: 5
  • Push event: 2

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 156
  • Total Committers: 7
  • Avg Commits per committer: 22.286
  • Development Distribution Score (DDS): 0.391
Past Year
  • Commits: 9
  • Committers: 1
  • Avg Commits per committer: 9.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
kbenoit k****t@l****k 95
Kenneth Benoit k****t@K****l 32
Kohei Watanabe w****i@g****m 19
JBGruber g****r@e****e 4
JBGruber j****1@r****k 3
vriezer 3****r 2
Stefan Müller m****s@t****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 52
  • Total pull requests: 20
  • Average time to close issues: 4 months
  • Average time to close pull requests: 22 days
  • Total issue authors: 24
  • Total pull request authors: 6
  • Average comments per issue: 2.13
  • Average comments per pull request: 1.85
  • Merged pull requests: 16
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 1
  • Average time to close issues: 14 days
  • Average time to close pull requests: about 5 hours
  • Issue authors: 2
  • Pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • kbenoit (19)
  • randomgambit (3)
  • koheiw (3)
  • cschwem2er (2)
  • KnutJaegersberg (2)
  • claravdw (2)
  • jrosen48 (2)
  • stefan-mueller (2)
  • jwijffels (2)
  • vtmiller (1)
  • JFChartier (1)
  • kyuwon-lee (1)
  • pchest (1)
  • brousseauj (1)
  • cownr10r (1)
Pull Request Authors
  • kbenoit (12)
  • koheiw (5)
  • JBGruber (3)
  • vriezer (1)
  • stefan-mueller (1)
  • YeWang1576 (1)
Top Labels
Issue Labels
CRAN (6) bug (2) enhancement (2) help wanted (2)
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads:
    • cran 1,281 last-month
  • Total docker downloads: 86
  • Total dependent packages: 9
    (may contain duplicates)
  • Total dependent repositories: 14
    (may contain duplicates)
  • Total versions: 19
  • Total maintainers: 1
proxy.golang.org: github.com/quanteda/quanteda.textmodels
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.5%
Average: 5.7%
Dependent repos count: 5.9%
Last synced: 10 months ago
cran.r-project.org: quanteda.textmodels

Scaling Models and Classifiers for Textual Data

  • Versions: 12
  • Dependent Packages: 9
  • Dependent Repositories: 14
  • Downloads: 1,281 Last month
  • Docker Downloads: 86
Rankings
Dependent packages count: 5.7%
Dependent repos count: 7.7%
Stargazers count: 7.9%
Downloads: 8.4%
Forks count: 9.6%
Average: 10.7%
Docker downloads count: 24.8%
Maintainers (1)
Last synced: 10 months ago
conda-forge.org: r-quanteda.textmodels
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 34.0%
Stargazers count: 40.1%
Average: 43.7%
Forks count: 49.6%
Dependent packages count: 51.2%
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.1.0 depends
  • methods * depends
  • LiblineaR * imports
  • Matrix >= 1.2 imports
  • RSpectra * imports
  • Rcpp >= 0.12.12 imports
  • RcppParallel * imports
  • SparseM * imports
  • glmnet * imports
  • quanteda >= 2.0 imports
  • stringi * imports
  • ca * suggests
  • covr * suggests
  • fastNaiveBayes * suggests
  • knitr * suggests
  • lsa * suggests
  • microbenchmark * suggests
  • naivebayes * suggests
  • quanteda.textplots * suggests
  • rmarkdown * suggests
  • spelling * suggests
  • testthat * suggests