{
  "_id": "6b0e4fd97510c4b9d7da1be6",
  "Package": "spacyr",
  "Type": "Package",
  "Title": "Wrapper to the 'spaCy' 'NLP' Library",
  "Version": "1.4.0.9000",
  "Authors@R": "c(\nperson(\"Kenneth\", \"Benoit\", email = \"kbenoit@lse.ac.uk\", role = c(\"cre\", \"aut\", \"cph\"), comment = c(ORCID = \"0000-0002-0797-564X\")),\nperson(\"Akitaka\", \"Matsuo\", email = \"a.matsuo@lse.ac.uk\", role = \"aut\", comment = c(ORCID = \"0000-0002-3323-6330\")),\nperson(\"Johannes\", \"Gruber\", , \"JohannesB.Gruber@gmail.com\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0001-9177-1772\")),\nperson(\"European Research Council\", role = \"fnd\", comment = \"ERC-2011-StG 283794-QUANTESS\")\n)",
  "Description": "An R wrapper to the 'Python' 'spaCy' 'NLP' library, from\n<https://spacy.io>.",
  "License": "GPL-3",
  "SystemRequirements": "Python (>= 3), spaCy (>= 3.0.0)",
  "LazyData": "TRUE",
  "URL": "https://spacyr.quanteda.io",
  "Encoding": "UTF-8",
  "BugReports": "https://github.com/quanteda/spacyr/issues",
  "Language": "en-GB",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.1.1",
  "Config/pak/sysreqs": "libpng-dev python3",
  "Repository": "https://quanteda.r-universe.dev",
  "Date/Publication": "2026-12-01 04:14:29 UTC",
  "RemoteUrl": "https://github.com/quanteda/spacyr",
  "RemoteRef": "HEAD",
  "RemoteSha": "51f9e75a86bf545a0d610e69964b6ddf3003fdc8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-12-01 04:37:41 UTC",
    "User": "root"
  },
  "Author": "Kenneth Benoit [cre, aut, cph] (ORCID:\n<https://orcid.org/0000-0002-0797-564X>),\nAkitaka Matsuo [aut] (ORCID: <https://orcid.org/0000-0002-3323-6330>),\nJohannes Gruber [ctb] (ORCID: <https://orcid.org/0000-0001-9177-1772>),\nEuropean Research Council [fnd] (ERC-2011-StG 283794-QUANTESS)",
  "Maintainer": "Kenneth Benoit <kbenoit@lse.ac.uk>",
  "_user": "quanteda",
  "_type": "src",
  "_file": "spacyr_1.4.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/5a51f5da693900a76b63384a409f1a7b3bf6233f8dbc1bbf5b06069dd308467a",
  "_filesize": 559024,
  "_sha256": "5a51f5da693900a76b63384a409f1a7b3bf6233f8dbc1bbf5b06069dd308467a",
  "_expires": "2027-03-11T04:40:56.000Z",
  "_created": "2026-12-01T04:37:41.000Z",
  "_published": "2026-12-01T04:40:57.842Z",
  "_upstream": "https://github.com/quanteda/spacyr",
  "_status": "success",
  "_maintainer": {
    "name": "Kenneth Benoit",
    "email": "kbenoit@lse.ac.uk",
    "login": "kbenoit",
    "bluesky": "@kenbenoit.bsky.social",
    "linkedin": "in/krbenoit",
    "orcid": "0000-0002-0797-564X",
    "twitter": "@kenbenoit",
    "description": "Lee Kong Professor of Computational Social Science; Dean, School of Social Science, Singapore Management University",
    "uuid": 2182246
  },
  "_jobs": [
    {
      "job": 142402327408,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15453770455"
    },
    {
      "job": 142402327401,
      "time": 152,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15452947781"
    },
    {
      "job": 142402327399,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15453147113"
    },
    {
      "job": 142402327345,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15453960121"
    },
    {
      "job": 142400883586,
      "time": 214,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15453191836"
    },
    {
      "job": 142402327381,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15453002412"
    },
    {
      "job": 142402327367,
      "time": 104,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15452319198"
    },
    {
      "job": 142402327409,
      "time": 115,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15453975081"
    },
    {
      "job": 142402327467,
      "time": 81,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15453002321"
    }
  ],
  "_buildurl": "https://github.com/r-universe/quanteda/actions/runs/46576670863",
  "_commit": {
    "id": "51f9e75a86bf545a0d610e69964b6ddf3003fdc8",
    "author": "Kenneth Benoit <kbenoit@smu.edu.sg>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #326 from quanteda/fix-openmp-macos\n\nKeep spacy_initialize() from ending the R session on macOS with PyTorch",
    "time": 1796098469
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "reticulate",
      "version": ">= 1.31",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "quanteda",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "stringi",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "tidytext",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "quanteda",
  "_selfowned": true,
  "_usedby": 7,
  "_updates": [
    {
      "week": "2026-45",
      "n": 23
    },
    {
      "week": "2026-46",
      "n": 37
    },
    {
      "week": "2026-47",
      "n": 2
    },
    {
      "week": "2026-49",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.4",
      "date": "2026-11-04"
    }
  ],
  "_topics": [
    "extract-entities",
    "nlp",
    "spacy",
    "speech-tagging"
  ],
  "_stars": 255,
  "_contributors": [
    {
      "user": "kbenoit",
      "count": 501,
      "uuid": 2182246
    },
    {
      "user": "amatsuo",
      "count": 401,
      "uuid": 8436792
    },
    {
      "user": "koheiw",
      "count": 6,
      "uuid": 6572963
    },
    {
      "user": "jbgruber",
      "count": 4,
      "uuid": 23524101
    },
    {
      "user": "chmue",
      "count": 2,
      "uuid": 421185
    },
    {
      "user": "gmooneydks",
      "count": 1,
      "uuid": 45207100
    },
    {
      "user": "russell-shean",
      "count": 1,
      "uuid": 73149125
    },
    {
      "user": "pnulty",
      "count": 1,
      "uuid": 654540
    },
    {
      "user": "thjbdvlt",
      "count": 1,
      "uuid": 109964512
    }
  ],
  "_userbio": {
    "uuid": 34347233,
    "type": "organization",
    "name": "Quanteda Initiative",
    "followers": 81
  },
  "_downloads": {
    "count": 1915,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spacyr"
  },
  "_devurl": "https://github.com/quanteda/spacyr",
  "_pkgdown": "https://spacyr.quanteda.io",
  "_searchresults": 534,
  "_abi": {
    "exports": [
      {
        "key": "spacyr::spacy_out",
        "hash": "4371517783d89561"
      }
    ],
    "imports": []
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/spacyr.html"
  ],
  "_homeurl": "https://github.com/quanteda/spacyr",
  "_realowner": "quanteda",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.9.0",
      "date": "2017-05-20"
    },
    {
      "version": "0.9.3",
      "date": "2017-11-10"
    },
    {
      "version": "0.9.6",
      "date": "2018-02-18"
    },
    {
      "version": "0.9.9",
      "date": "2018-04-17"
    },
    {
      "version": "0.9.91",
      "date": "2018-07-16"
    },
    {
      "version": "1.0",
      "date": "2018-12-15"
    },
    {
      "version": "1.2",
      "date": "2019-07-04"
    },
    {
      "version": "1.2.1",
      "date": "2020-03-04"
    },
    {
      "version": "1.3.0",
      "date": "2023-12-08"
    },
    {
      "version": "1.4.0",
      "date": "2026-11-04"
    }
  ],
  "_authors": [
    {
      "name": "Kenneth Benoit",
      "email": "kbenoit@lse.ac.uk",
      "orcid": "0000-0002-0797-564X",
      "role": [
        "cre",
        "aut",
        "cph"
      ]
    },
    {
      "name": "Akitaka Matsuo",
      "email": "a.matsuo@lse.ac.uk",
      "orcid": "0000-0002-3323-6330",
      "role": [
        "aut"
      ]
    },
    {
      "name": "Johannes Gruber",
      "email": "johannesb.gruber@gmail.com",
      "orcid": "0000-0001-9177-1772",
      "role": [
        "ctb"
      ]
    },
    {
      "name": "European Research Council",
      "role": [
        "fnd"
      ]
    }
  ],
  "_exports": [
    "as_entity_patterns",
    "as_index",
    "entity_consolidate",
    "entity_extract",
    "entity_patterns_read",
    "entity_patterns_write",
    "entity_visualize",
    "find_spacy",
    "get_attrs",
    "get_dependency",
    "get_named_entities",
    "get_noun_phrases",
    "get_ntokens",
    "get_ntokens_by_sent",
    "get_tags",
    "get_tokens",
    "nounphrase_consolidate",
    "nounphrase_extract",
    "process_document",
    "spacy_download_langmodel",
    "spacy_download_langmodel_virtualenv",
    "spacy_extract_entity",
    "spacy_extract_nounphrases",
    "spacy_finalize",
    "spacy_initialize",
    "spacy_install",
    "spacy_install_virtualenv",
    "spacy_installed",
    "spacy_is_installed",
    "spacy_match",
    "spacy_parse",
    "spacy_tokenize",
    "spacy_uninstall",
    "spacy_upgrade"
  ],
  "_datasets": [
    {
      "name": "data_char_paragraph",
      "title": "A short paragraph of text for testing",
      "object": "data_char_paragraph",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "data_char_sentences",
      "title": "Sample short documents for testing",
      "object": "data_char_sentences",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "spacyr-package",
      "title": "An R wrapper to the spaCy NLP system",
      "topics": [
        "spacyr-package",
        "spacyr"
      ]
    },
    {
      "page": "as_entity_patterns",
      "title": "Create patterns for rule-based named entities",
      "topics": [
        "as_entity_patterns",
        "as_entity_patterns.character",
        "as_entity_patterns.data.frame",
        "as_entity_patterns.dictionary2",
        "as_entity_patterns.list"
      ]
    },
    {
      "page": "as_index",
      "title": "Convert matches, entities or noun phrases to a quanteda index",
      "topics": [
        "as_index"
      ]
    },
    {
      "page": "as.dictionary.spacyr_entity_patterns",
      "title": "Convert entity patterns of phrases to a quanteda dictionary",
      "topics": [
        "as.dictionary.spacyr_entity_patterns"
      ]
    },
    {
      "page": "data_char_paragraph",
      "title": "A short paragraph of text for testing",
      "topics": [
        "data_char_paragraph"
      ]
    },
    {
      "page": "data_char_sentences",
      "title": "Sample short documents for testing",
      "topics": [
        "data_char_sentences"
      ]
    },
    {
      "page": "entity_extract",
      "title": "Extract or consolidate entities from parsed documents",
      "topics": [
        "entity_consolidate",
        "entity_extract"
      ]
    },
    {
      "page": "entity_patterns_read",
      "title": "Read and write entity patterns",
      "topics": [
        "entity_patterns_read",
        "entity_patterns_write"
      ]
    },
    {
      "page": "entity_visualize",
      "title": "Visualize the named entities of parsed documents",
      "topics": [
        "entity_visualize"
      ]
    },
    {
      "page": "nounphrase_extract",
      "title": "Extract or consolidate noun phrases from parsed documents",
      "topics": [
        "nounphrase_consolidate",
        "nounphrase_extract"
      ]
    },
    {
      "page": "quanteda-methods",
      "title": "quanteda methods for parsed texts",
      "topics": [
        "as.tokens.spacyr_parsed",
        "docnames.spacyr_parsed",
        "ndoc.spacyr_parsed",
        "nsentence.spacyr_parsed",
        "ntoken.spacyr_parsed",
        "ntype.spacyr_parsed",
        "quanteda-methods"
      ]
    },
    {
      "page": "spacy_download_langmodel",
      "title": "Download spaCy language models",
      "topics": [
        "spacy_download_langmodel"
      ]
    },
    {
      "page": "spacy_download_langmodel_virtualenv",
      "title": "Install a language model in a conda or virtual environment",
      "topics": [
        "spacy_download_langmodel_virtualenv"
      ]
    },
    {
      "page": "spacy_extract_entity",
      "title": "Extract named entities from texts using spaCy",
      "topics": [
        "spacy_extract_entity"
      ]
    },
    {
      "page": "spacy_extract_nounphrases",
      "title": "Extract noun phrases from texts using spaCy",
      "topics": [
        "spacy_extract_nounphrases"
      ]
    },
    {
      "page": "spacy_finalize",
      "title": "Finalize spaCy",
      "topics": [
        "spacy_finalize"
      ]
    },
    {
      "page": "spacy_initialize",
      "title": "Initialize spaCy",
      "topics": [
        "spacy_initialize"
      ]
    },
    {
      "page": "spacy_install",
      "title": "Install spaCy in a virtual environment",
      "topics": [
        "spacy_install"
      ]
    },
    {
      "page": "spacy_install_virtualenv",
      "title": "Install spaCy to a virtual environment",
      "topics": [
        "spacy_install_virtualenv"
      ]
    },
    {
      "page": "spacy_is_installed",
      "title": "Check whether spaCy is installed",
      "topics": [
        "spacy_is_installed"
      ]
    },
    {
      "page": "spacy_match",
      "title": "Match patterns in texts using spaCy",
      "topics": [
        "spacy_match"
      ]
    },
    {
      "page": "spacy_parse",
      "title": "Parse a text using spaCy",
      "topics": [
        "spacy_parse"
      ]
    },
    {
      "page": "spacy_tokenize",
      "title": "Tokenize text with spaCy",
      "topics": [
        "spacy_tokenize"
      ]
    },
    {
      "page": "spacy_uninstall",
      "title": "Uninstall the spaCy environment",
      "topics": [
        "spacy_uninstall"
      ]
    },
    {
      "page": "spacy_upgrade",
      "title": "Shorthand function to upgrade spaCy",
      "topics": [
        "spacy_upgrade"
      ]
    }
  ],
  "_readme": "https://github.com/quanteda/spacyr/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "here",
    "jsonlite",
    "lattice",
    "Matrix",
    "png",
    "rappdirs",
    "Rcpp",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "using_spacyr.Rmd",
      "filename": "using_spacyr.html",
      "title": "A Guide to Using spacyr",
      "author": "Kenneth Benoit and Akitaka Matsuo",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Starting a spacyr session",
        "Tokenizing and tagging texts",
        "Extracting language properties from texts",
        "Entity and noun phrase recognition",
        "Dependency parsing",
        "Extracting additional token attributes",
        "Using other language models",
        "Integrating spacyr with other text analysis packages",
        "With quanteda",
        "With tidytext",
        "Adherence to the \"TIF\" standard",
        "Finishing a session"
      ],
      "created": "2018-12-13 13:02:32",
      "modified": "2026-11-14 12:27:25",
      "commits": 11
    }
  ],
  "_score": 10.942589493156996,
  "_indexed": true,
  "_nocasepkg": "spacyr",
  "_universes": [
    "quanteda",
    "kbenoit"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0.9000",
      "date": "2026-12-01T04:39:58.000Z",
      "distro": "resolute",
      "commit": "51f9e75a86bf545a0d610e69964b6ddf3003fdc8",
      "fileid": "https://r2.ropensci.org/6905d199c746a930d1af3cc353b5d215815d0379c205a1a099394950c89465ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quanteda/actions/runs/46576670863"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.4.0.9000",
      "date": "2026-12-01T04:40:01.000Z",
      "distro": "resolute",
      "commit": "51f9e75a86bf545a0d610e69964b6ddf3003fdc8",
      "fileid": "https://r2.ropensci.org/4f23ab7eed9dd7aec0cf5531ca6b21afdc091e448a51e28fd10bd0accb4b223c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quanteda/actions/runs/46576670863"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0.9000",
      "date": "2026-12-01T04:39:39.000Z",
      "commit": "51f9e75a86bf545a0d610e69964b6ddf3003fdc8",
      "fileid": "https://r2.ropensci.org/7879a00d9278aabd47a8553f06256f34f28497d10627c8d8840461b8a977d6bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quanteda/actions/runs/46576670863"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.4.0.9000",
      "date": "2026-12-01T04:39:31.000Z",
      "commit": "51f9e75a86bf545a0d610e69964b6ddf3003fdc8",
      "fileid": "https://r2.ropensci.org/61698b7ea7ebe08da3504b71fb1d40b827ce206716a94c96828722dacd1b8b2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quanteda/actions/runs/46576670863"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0.9000",
      "date": "2026-12-01T04:39:50.000Z",
      "commit": "51f9e75a86bf545a0d610e69964b6ddf3003fdc8",
      "fileid": "https://r2.ropensci.org/045756df9b51b8a645c3d620acc914784b7aa772fa2f46b5967d5ed5a468ef36",
      "status": "success",
      "buildurl": "https://github.com/r-universe/quanteda/actions/runs/46576670863"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0.9000",
      "date": "2026-12-01T04:39:03.000Z",
      "commit": "51f9e75a86bf545a0d610e69964b6ddf3003fdc8",
      "fileid": "https://r2.ropensci.org/5a282d8fb6454daa7eb5d8d650d9f9ed20d9adb6fbc4112e01a083d4eba317fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quanteda/actions/runs/46576670863"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0.9000",
      "date": "2026-12-01T04:39:10.000Z",
      "commit": "51f9e75a86bf545a0d610e69964b6ddf3003fdc8",
      "fileid": "https://r2.ropensci.org/e724ef47c538c7e728fc78166327d939c3b6e131a4db410cd10381564eebe9fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quanteda/actions/runs/46576670863"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.4.0.9000",
      "date": "2026-12-01T04:38:53.000Z",
      "commit": "51f9e75a86bf545a0d610e69964b6ddf3003fdc8",
      "fileid": "https://r2.ropensci.org/54b7d42399d9fc5c8dfe5cf72bb081a6e5f22f7f75924b06a97240dab063a8fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quanteda/actions/runs/46576670863"
    }
  ]
}