{
  "_id": "6a27ccc724555f66ed54415f",
  "Package": "quanteda.textmodels",
  "Type": "Package",
  "Title": "Scaling Models and Classifiers for Textual Data",
  "Version": "0.9.10",
  "Description": "Scaling models and classifiers for sparse matrix objects\nrepresenting textual data in the form of a document-feature\nmatrix.  Includes original implementations of 'Laver',\n'Benoit', and Garry's (2003) <doi:10.1017/S0003055403000698>,\n'Wordscores' model, the Perry and 'Benoit' (2017)\n<doi:10.48550/arXiv.1710.08963> class affinity scaling model,\nand the 'Slapin' and 'Proksch' (2008)\n<doi:10.1111/j.1540-5907.2008.00338.x> 'wordfish' model, as\nwell as methods for correspondence analysis, latent semantic\nanalysis, and fast Naive Bayes and linear 'SVMs' specially\ndesigned for sparse textual data.",
  "Authors@R": "c( \nperson(\"Kenneth\", \"Benoit\", email = \"kbenoit@quanteda.org\", role = c(\"cre\", \"aut\", \"cph\"), comment = c(ORCID = \"0000-0002-0797-564X\")),\nperson(\"Kohei\", \"Watanabe\", email = \"watanabe.kohei@gmail.com\", role = \"aut\", comment = c(ORCID = \"0000-0001-6519-5265\")),\nperson(\"Haiyan\", \"Wang\", email = \"whyinsa@yahoo.com\", role = \"aut\", comment = c(ORCID = \"0000-0003-4992-4311\")),\nperson(\"Patrick O.\", \"Perry\", email = \"patperry@gmail.com\", role = \"aut\", comment = c(ORCID = \"0000-0001-7460-127X\")),\nperson(\"Benjamin\", \"Lauderdale\", email = \"b.e.lauderdale@lse.ac.uk\", role = \"aut\", comment = c(ORCID = \"0000-0003-3090-0969\")),\nperson(\"Johannes\", \"Gruber\", email = \"JohannesB.Gruber@gmail.com\", role = \"aut\", comment = c(ORCID = \"0000-0001-9177-1772\")),\nperson(\"William\", \"Lowe\", email = \"lowe@hertie-school.org\", role = \"aut\", comment = c(ORCID = \"0000-0002-1549-6163\")),\nperson(\"Vikas\", \"Sindhwani\", email = \"vikas.sindhwani@gmail.com\", role = \"cph\",\ncomment = \"authored svmlin C++ source code\"),\nperson(\"European Research Council\", role = \"fnd\", comment = \"ERC-2011-StG 283794-QUANTESS\")\n)",
  "URL": "https://github.com/quanteda/quanteda.textmodels",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Language": "en-GB",
  "RoxygenNote": "7.3.2",
  "Collate": "'RcppExports.R' 'quanteda.textmodels-package.R'\n'data-documentation.R' 'textmodel-methods.R'\n'textmodel_affinity.R' 'textmodel_ca.R' 'textmodel_lsa.R'\n'textmodel_lr.R' 'textmodel_nb.R' 'textmodel_svmlin.R'\n'textmodel_wordfish.R' 'textmodel_wordscores.R'\n'textplot_influence.R' 'utils.R'",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-09 08:15:17 UTC",
    "User": "root"
  },
  "Author": "Kenneth Benoit [cre, aut, cph]\n(<https://orcid.org/0000-0002-0797-564X>), Kohei Watanabe [aut]\n(<https://orcid.org/0000-0001-6519-5265>), Haiyan Wang [aut]\n(<https://orcid.org/0000-0003-4992-4311>), Patrick O. Perry\n[aut] (<https://orcid.org/0000-0001-7460-127X>), Benjamin\nLauderdale [aut] (<https://orcid.org/0000-0003-3090-0969>),\nJohannes Gruber [aut]\n(<https://orcid.org/0000-0001-9177-1772>), William Lowe [aut]\n(<https://orcid.org/0000-0002-1549-6163>), Vikas Sindhwani\n[cph] (authored svmlin C++ source code), European Research\nCouncil [fnd] (ERC-2011-StG 283794-QUANTESS)",
  "Maintainer": "Kenneth Benoit <kbenoit@quanteda.org>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-02-11 01:54:57 UTC",
  "RemoteUrl": "https://github.com/cran/quanteda.textmodels",
  "RemoteRef": "HEAD",
  "RemoteSha": "862a9c0fc5e9c47992ad69a83128198ca73d52b9",
  "MD5sum": "cf6dc22d616176ca0fdc9e595e86a3bb",
  "_user": "cran",
  "_type": "src",
  "_file": "quanteda.textmodels_0.9.10.tar.gz",
  "_fileid": "76aef3476ceba7432f81361e96dd7ea415d919d27ca00cbdf546d15bfa0b4bff",
  "_filesize": 3198192,
  "_sha256": "76aef3476ceba7432f81361e96dd7ea415d919d27ca00cbdf546d15bfa0b4bff",
  "_created": "2026-06-09T08:15:17.000Z",
  "_published": "2026-06-09T08:20:23.040Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80278013824,
      "time": 187,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7502192821"
    },
    {
      "job": 80278013777,
      "time": 200,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7502196179"
    },
    {
      "job": 80278013815,
      "time": 236,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7502210975"
    },
    {
      "job": 80278013775,
      "time": 187,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7502191696"
    },
    {
      "job": 80276820781,
      "time": 412,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7502123214"
    },
    {
      "job": 80278013774,
      "time": 143,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7502175673"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27192761401",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/quanteda.textmodels",
  "_commit": {
    "id": "862a9c0fc5e9c47992ad69a83128198ca73d52b9",
    "author": "Kenneth Benoit <kbenoit@quanteda.org>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.9.10\n",
    "time": 1739238897
  },
  "_maintainer": {
    "name": "Kenneth Benoit",
    "email": "kbenoit@quanteda.org",
    "login": "kbenoit",
    "bluesky": "@kenbenoit.bsky.social",
    "orcid": "0000-0002-0797-564X",
    "twitter": "@kenbenoit",
    "description": "Professor of Computational Social Science; Dean, School of Social Science, Singapore Management University;\nDirector of non-profit @quanteda Initiative",
    "uuid": 2182246
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "version": ">= 0.7.600.1.0",
      "role": "LinkingTo"
    },
    {
      "package": "quanteda",
      "role": "LinkingTo"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "version": ">= 1.2",
      "role": "Imports"
    },
    {
      "package": "quanteda",
      "version": ">= 4.0.0",
      "role": "Imports"
    },
    {
      "package": "RSpectra",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.12",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "ca",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "fastNaiveBayes",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lsa",
      "role": "Suggests"
    },
    {
      "package": "microbenchmark",
      "role": "Suggests"
    },
    {
      "package": "naivebayes",
      "role": "Suggests"
    },
    {
      "package": "quanteda.textplots",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "kbenoit",
      "count": 12,
      "uuid": 2182246
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 1554,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/quanteda.textmodels"
  },
  "_mentions": 15,
  "_devurl": "https://github.com/quanteda/quanteda.textmodels",
  "_searchresults": 543,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/quanteda.textmodels.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/quanteda/quanteda.textmodels",
  "_realowner": "quanteda",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.9.0",
      "date": "2020-02-26"
    },
    {
      "version": "0.9.1",
      "date": "2020-03-13"
    },
    {
      "version": "0.9.2",
      "date": "2020-12-11"
    },
    {
      "version": "0.9.3",
      "date": "2021-03-08"
    },
    {
      "version": "0.9.4",
      "date": "2021-04-06"
    },
    {
      "version": "0.9.5",
      "date": "2022-08-29"
    },
    {
      "version": "0.9.5-1",
      "date": "2022-10-04"
    },
    {
      "version": "0.9.6",
      "date": "2023-03-22"
    },
    {
      "version": "0.9.7",
      "date": "2024-04-11"
    },
    {
      "version": "0.9.8",
      "date": "2024-08-29"
    },
    {
      "version": "0.9.9",
      "date": "2024-09-03"
    },
    {
      "version": "0.9.10",
      "date": "2025-02-10"
    }
  ],
  "_exports": [
    "affinity",
    "as.coefficients_textmodel",
    "as.statistics_textmodel",
    "as.summary.textmodel",
    "coefficients.textmodel_ca",
    "coefficients.textmodel_lsa",
    "coefficients.textmodel_wordfish",
    "textmodel_affinity",
    "textmodel_ca",
    "textmodel_lr",
    "textmodel_lsa",
    "textmodel_nb",
    "textmodel_svmlin",
    "textmodel_wordfish",
    "textmodel_wordscores",
    "textplot_influence"
  ],
  "_datasets": [
    {
      "name": "data_corpus_dailnoconf1991",
      "title": "Confidence debate from 1991 Irish Parliament",
      "object": "data_corpus_dailnoconf1991",
      "class": [
        "corpus",
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "data_corpus_EPcoaldebate",
      "title": "Crowd-labelled sentence corpus from a 2010 EP debate on coal subsidies",
      "object": "data_corpus_EPcoaldebate",
      "class": [
        "corpus",
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "data_corpus_irishbudget2010",
      "title": "Irish budget speeches from 2010",
      "object": "data_corpus_irishbudget2010",
      "class": [
        "corpus",
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "data_corpus_moviereviews",
      "title": "Movie reviews with polarity from Pang and Lee (2004)",
      "object": "data_corpus_moviereviews",
      "class": [
        "corpus",
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "data_corpus_dailnoconf1991",
      "title": "Confidence debate from 1991 Irish Parliament",
      "topics": [
        "data_corpus_dailnoconf1991"
      ]
    },
    {
      "page": "data_corpus_EPcoaldebate",
      "title": "Crowd-labelled sentence corpus from a 2010 EP debate on coal subsidies",
      "topics": [
        "data_corpus_EPcoaldebate"
      ]
    },
    {
      "page": "data_corpus_irishbudget2010",
      "title": "Irish budget speeches from 2010",
      "topics": [
        "data_corpus_irishbudget2010"
      ]
    },
    {
      "page": "data_corpus_moviereviews",
      "title": "Movie reviews with polarity from Pang and Lee (2004)",
      "topics": [
        "data_corpus_moviereviews"
      ]
    },
    {
      "page": "textmodel_affinity",
      "title": "Class affinity maximum likelihood text scaling model",
      "topics": [
        "textmodel_affinity"
      ]
    },
    {
      "page": "textmodel_ca",
      "title": "Correspondence analysis of a document-feature matrix",
      "topics": [
        "textmodel_ca"
      ]
    },
    {
      "page": "textmodel_lr",
      "title": "Logistic regression classifier for texts",
      "topics": [
        "textmodel_lr"
      ]
    },
    {
      "page": "textmodel_lsa",
      "title": "Latent Semantic Analysis",
      "topics": [
        "textmodel_lsa"
      ]
    },
    {
      "page": "textmodel_nb",
      "title": "Naive Bayes classifier for texts",
      "topics": [
        "textmodel_nb"
      ]
    },
    {
      "page": "textmodel_wordfish",
      "title": "Wordfish text model",
      "topics": [
        "textmodel_wordfish"
      ]
    },
    {
      "page": "textmodel_wordscores",
      "title": "Wordscores text model",
      "topics": [
        "textmodel_wordscores"
      ]
    }
  ],
  "_readme": "https://github.com/cran/quanteda.textmodels/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "fastmatch",
    "foreach",
    "glmnet",
    "ISOcodes",
    "iterators",
    "jsonlite",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "quanteda",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rlang",
    "RSpectra",
    "shape",
    "SnowballC",
    "stopwords",
    "stringi",
    "survival",
    "xml2",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "textmodel_performance.Rmd",
      "filename": "textmodel_performance.html",
      "title": "textmodel Performance Comparisons",
      "author": "Kenneth Benoit",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Naive Bayes",
        "References"
      ],
      "created": "2020-03-13 09:00:11",
      "modified": "2024-04-12 02:36:54",
      "commits": 5
    }
  ],
  "_score": 6.102342103109423,
  "_indexed": false,
  "_nocasepkg": "quanteda.textmodels",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://quanteda.r-universe.dev/quanteda.textmodels",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.10",
      "date": "2026-06-09T08:18:02.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "862a9c0fc5e9c47992ad69a83128198ca73d52b9",
      "fileid": "f1db355c8d775777b63df8687fc1c05b6a04a4c4cb4e198f11f068e070595d81",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27192761401"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.10",
      "date": "2026-06-09T08:18:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "862a9c0fc5e9c47992ad69a83128198ca73d52b9",
      "fileid": "3b5118eeef4e0ce48935a30d2b058e9322c59eb8b3746c476960862095b9c134",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27192761401"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.10",
      "date": "2026-06-09T08:18:49.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "862a9c0fc5e9c47992ad69a83128198ca73d52b9",
      "fileid": "3d464fd519c804f3711aa3d1e700cdc6c1a09d70681fe69436243531a1917b07",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27192761401"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.10",
      "date": "2026-06-09T08:17:59.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "862a9c0fc5e9c47992ad69a83128198ca73d52b9",
      "fileid": "2b4bf7a33aeac6f3a8651a3905e357223bae88d40f5613f66d93896d7f9d2722",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27192761401"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.10",
      "date": "2026-06-09T08:18:03.000Z",
      "arch": "emscripten",
      "commit": "862a9c0fc5e9c47992ad69a83128198ca73d52b9",
      "fileid": "76cdd9c62a51197a3c5872dbf9eb0a9dfa53c12db2a1c200f5153ca3195a66c1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27192761401"
    }
  ]
}