{
  "_id": "6ad072c6e2d863f662954973",
  "Type": "Package",
  "Package": "text2map",
  "Title": "R Tools for Text Matrices, Embeddings, and Networks",
  "Version": "0.4.0",
  "Authors@R": "c(person(given = \"Dustin\",\nfamily = \"Stoltz\",\nemail = c(\"dss219@lehigh.edu\"),\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-4774-0765\")),\nperson(given = \"Marshall\",\nfamily = \"Taylor\",\nemail = \"mtaylor2@nmsu.edu\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-7440-0723\")))",
  "Author": "Dustin Stoltz [aut, cre]\n(<https://orcid.org/0000-0002-4774-0765>), Marshall Taylor\n[aut] (<https://orcid.org/0000-0002-7440-0723>)",
  "Description": "This is a collection of functions optimized for working\nwith various kinds of text matrices. Focusing on the text\nmatrix as the primary object - represented either as a base R\ndense matrix or a 'Matrix' package sparse matrix - allows for a\nconsistent and intuitive interface that stays close to the\nunderlying mathematical foundation of computational text\nanalysis. In particular, the package includes functions for\nworking with word embeddings, text networks, and document-term\nmatrices. Methods developed in Stoltz and Taylor (2019)\n<doi:10.1007/s42001-019-00048-6>, Taylor and Stoltz (2020)\n<doi:10.1007/s42001-020-00075-8>, Taylor and Stoltz (2020)\n<doi:10.15195/v7.a23>, and Stoltz and Taylor (2021)\n<doi:10.1016/j.poetic.2021.101567>.",
  "URL": "https://culturalcartography.gitlab.io/text2map",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "BugReports": "https://gitlab.com/culturalcartography/text2map/-/issues",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "rmarkdown",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libglpk-dev libicu-dev libxml2-dev",
  "Repository": "https://dustinstoltz.r-universe.dev",
  "Date/Publication": "2026-09-14 23:58:45 UTC",
  "RemoteUrl": "https://gitlab.com/culturalcartography/text2map",
  "RemoteRef": "HEAD",
  "RemoteSha": "4771f8f24abdf6b0f02cb86e43fa431f2a686f73",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-15 06:17:50 UTC",
    "User": "root"
  },
  "Maintainer": "Dustin Stoltz <dss219@lehigh.edu>",
  "_user": "dustinstoltz",
  "_type": "src",
  "_file": "text2map_0.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/6b1b52c3c6d95e4444099c9c9072acff75a63ae5d01162048e72327686ea9573",
  "_filesize": 856962,
  "_sha256": "6b1b52c3c6d95e4444099c9c9072acff75a63ae5d01162048e72327686ea9573",
  "_expires": "2027-01-23T06:29:24.000Z",
  "_created": "2026-10-15T06:17:50.000Z",
  "_published": "2026-10-15T06:29:26.487Z",
  "_buildurl": "https://github.com/r-universe/dustinstoltz/actions/runs/38691235606",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116278540242,
      "time": 229,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11951314404"
    },
    {
      "job": 116278540145,
      "time": 185,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11952346394"
    },
    {
      "job": 116278540248,
      "time": 217,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11951544789"
    },
    {
      "job": 116278540252,
      "time": 299,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11953290136"
    },
    {
      "job": 116277472113,
      "time": 206,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11951348870"
    },
    {
      "job": 116278540403,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11952770871"
    },
    {
      "job": 116278540277,
      "time": 165,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11952516203"
    },
    {
      "job": 116278540244,
      "time": 153,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11951739078"
    },
    {
      "job": 116278540149,
      "time": 119,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11952491094"
    }
  ],
  "_upstream": "https://gitlab.com/culturalcartography/text2map",
  "_commit": {
    "id": "4771f8f24abdf6b0f02cb86e43fa431f2a686f73",
    "author": "Dustin Stoltz <stoltzd@fastmail.com>",
    "committer": "Dustin Stoltz <stoltzd@fastmail.com>",
    "message": "fix spellchecker\n",
    "time": 1789430325
  },
  "_maintainer": {
    "name": "Dustin Stoltz",
    "email": "dss219@lehigh.edu",
    "login": "dustinstoltz",
    "mastodon": "@dustinstoltz@fediscience.org",
    "description": "Sociologist. Computational Social Scientist. I mostly use GitLab.",
    "uuid": 6200517,
    "orcid": "0000-0002-4774-0765"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Matrix",
      "version": ">= 1.4.2",
      "role": "Depends"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "kit",
      "role": "Imports"
    },
    {
      "package": "fastmatch",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "rsvd",
      "role": "Imports"
    },
    {
      "package": "permute",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "pillar",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "text2vec",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "version": ">= 1.2.6",
      "role": "Imports"
    },
    {
      "package": "RhpcBLASctl",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.2.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "lintr",
      "role": "Suggests"
    },
    {
      "package": "tm",
      "role": "Suggests"
    },
    {
      "package": "quanteda",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ClusterR",
      "role": "Suggests"
    },
    {
      "package": "RSpectra",
      "role": "Suggests"
    }
  ],
  "_owner": "gitlab-culturalcartography",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 5
    },
    {
      "week": "2026-06",
      "n": 2
    },
    {
      "week": "2026-07",
      "n": 2
    },
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 36
    },
    {
      "week": "2026-17",
      "n": 12
    },
    {
      "week": "2026-23",
      "n": 2
    },
    {
      "week": "2026-29",
      "n": 3
    },
    {
      "week": "2026-30",
      "n": 10
    },
    {
      "week": "2026-31",
      "n": 3
    },
    {
      "week": "2026-37",
      "n": 2
    },
    {
      "week": "2026-38",
      "n": 2
    }
  ],
  "_tags": [],
  "_userbio": {
    "uuid": 6200517,
    "type": "user",
    "name": "Dustin Stoltz",
    "followers": 56,
    "description": "Sociologist. Computational Social Scientist. I mostly use GitLab."
  },
  "_downloads": {
    "count": 485,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/text2map"
  },
  "_devurl": "https://gitlab.com/culturalcartography/text2map",
  "_pkgdown": "https://culturalcartography.gitlab.io/text2map",
  "_searchresults": 28,
  "_rbuild": "4.6.1",
  "_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/text2map.html",
    "LICENSE"
  ],
  "_homeurl": "https://gitlab.com/culturalcartography/text2map",
  "_realowner": "dustinstoltz",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-08-24"
    },
    {
      "version": "0.1.1",
      "date": "2021-10-22"
    },
    {
      "version": "0.1.3",
      "date": "2022-01-24"
    },
    {
      "version": "0.1.4",
      "date": "2022-04-12"
    },
    {
      "version": "0.1.5",
      "date": "2022-05-23"
    },
    {
      "version": "0.1.6",
      "date": "2022-08-17"
    },
    {
      "version": "0.1.7",
      "date": "2023-06-20"
    },
    {
      "version": "0.1.8",
      "date": "2024-01-15"
    },
    {
      "version": "0.1.9",
      "date": "2024-03-12"
    },
    {
      "version": "0.2.0",
      "date": "2024-04-11"
    },
    {
      "version": "0.2.3",
      "date": "2026-02-16"
    },
    {
      "version": "0.4.0",
      "date": "2026-09-15"
    }
  ],
  "_exports": [
    "cmdist",
    "CMDist",
    "coca",
    "CoCA",
    "doc_centrality",
    "doc_similarity",
    "dtm_builder",
    "dtm_melter",
    "dtm_resampler",
    "dtm_stats",
    "dtm_stopper",
    "find_projection",
    "find_rejection",
    "find_transformation",
    "get_anchors",
    "get_centroid",
    "get_centroids",
    "get_direction",
    "get_regions",
    "get_stoplist",
    "perm_tester",
    "rancor_builder",
    "rancors_builder",
    "seq_builder",
    "test_anchors",
    "tiny_gender_tagger",
    "vocab_builder",
    "weight_ppmi"
  ],
  "_datasets": [
    {
      "name": "anchor_lists",
      "title": "A dataset of anchor lists",
      "object": "anchor_lists",
      "file": "anchor_lists.rda",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "pole1",
        "pole2",
        "relation",
        "domain"
      ],
      "rows": 668,
      "table": true,
      "tojson": true
    },
    {
      "name": "ft_wv_sample",
      "title": "Sample of fastText embeddings",
      "object": "ft_wv_sample",
      "file": "ft_wv_sample.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 770,
      "table": true,
      "tojson": true
    },
    {
      "name": "jfk_speech",
      "title": "Full Text of JFK's Rice Speech",
      "object": "jfk_speech",
      "file": "jfk_speech.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sentence_id",
        "sentence"
      ],
      "rows": 84,
      "table": true,
      "tojson": true
    },
    {
      "name": "meta_shakespeare",
      "title": "Metadata for Shakespeare's First Folio",
      "object": "meta_shakespeare",
      "file": "meta_shakespeare.rda",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "short_title",
        "gutenberg_title",
        "gutenberg_id",
        "genre",
        "year",
        "body_count",
        "boas_problem_plays",
        "death"
      ],
      "rows": 37,
      "table": true,
      "tojson": true
    },
    {
      "name": "stoplists",
      "title": "A dataset of stoplists",
      "object": "stoplists",
      "file": "stoplists.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "word",
        "fox1990",
        "nltk2009",
        "onix2000",
        "smart1993",
        "snowball2001",
        "snowball2014",
        "tiny2020",
        "van1979"
      ],
      "rows": 754,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "anchor_lists",
      "title": "A dataset of anchor lists",
      "topics": [
        "anchor_lists"
      ]
    },
    {
      "page": "CMDist",
      "title": "Calculate Concept Mover's Distance",
      "topics": [
        "CMDist",
        "cmdist"
      ]
    },
    {
      "page": "CoCA",
      "title": "Performs Concept Class Analysis (CoCA)",
      "topics": [
        "CoCA",
        "coca"
      ]
    },
    {
      "page": "doc_centrality",
      "title": "Find a specified document centrality metric",
      "topics": [
        "doc_centrality"
      ]
    },
    {
      "page": "doc_similarity",
      "title": "Find a similarities between documents",
      "topics": [
        "doc_similarity"
      ]
    },
    {
      "page": "dtm_builder",
      "title": "A fast unigram DTM builder",
      "topics": [
        "dtm_builder"
      ]
    },
    {
      "page": "dtm_melter",
      "title": "Melt a DTM into a triplet data frame",
      "topics": [
        "dtm_melter"
      ]
    },
    {
      "page": "dtm_resampler",
      "title": "Resamples an input DTM to generate new DTMs",
      "topics": [
        "dtm_resampler"
      ]
    },
    {
      "page": "dtm_stats",
      "title": "Gets DTM summary statistics",
      "topics": [
        "dtm_stats"
      ]
    },
    {
      "page": "dtm_stopper",
      "title": "Removes terms from a DTM based on rules",
      "topics": [
        "dtm_stopper"
      ]
    },
    {
      "page": "find_projection",
      "title": "Find the 'projection matrix' to a semantic vector",
      "topics": [
        "find_projection"
      ]
    },
    {
      "page": "find_rejection",
      "title": "Find the 'rejection matrix' from a semantic vector",
      "topics": [
        "find_rejection"
      ]
    },
    {
      "page": "find_transformation",
      "title": "Find a specified matrix transformation",
      "topics": [
        "find_transformation"
      ]
    },
    {
      "page": "ft_wv_sample",
      "title": "Sample of fastText embeddings",
      "topics": [
        "ft_wv_sample"
      ]
    },
    {
      "page": "get_anchors",
      "title": "Gets anchor terms from precompiled anchor lists",
      "topics": [
        "get_anchors"
      ]
    },
    {
      "page": "get_centroid",
      "title": "Word embedding semantic centroid extractor",
      "topics": [
        "get_centroid"
      ]
    },
    {
      "page": "get_centroids",
      "title": "Compute multiple centroids",
      "topics": [
        "get_centroids"
      ]
    },
    {
      "page": "get_direction",
      "title": "Word embedding semantic direction extractor",
      "topics": [
        "get_direction"
      ]
    },
    {
      "page": "get_regions",
      "title": "Word embedding semantic region extractor",
      "topics": [
        "get_regions"
      ]
    },
    {
      "page": "get_stoplist",
      "title": "Gets stoplist from precompiled lists",
      "topics": [
        "get_stoplist"
      ]
    },
    {
      "page": "jfk_speech",
      "title": "Full Text of JFK's Rice Speech",
      "topics": [
        "jfk_speech"
      ]
    },
    {
      "page": "meta_shakespeare",
      "title": "Metadata for Shakespeare's First Folio",
      "topics": [
        "meta_shakespeare"
      ]
    },
    {
      "page": "perm_tester",
      "title": "Monte Carlo Permutation Tests for Model P-Values",
      "topics": [
        "perm_tester"
      ]
    },
    {
      "page": "plot.CMDist",
      "title": "Plot CMDist estimates",
      "topics": [
        "plot.CMDist"
      ]
    },
    {
      "page": "plot.CoCA",
      "title": "Plot CoCA",
      "topics": [
        "plot.CoCA"
      ]
    },
    {
      "page": "print.CMDist",
      "title": "Print CMDist estimates",
      "topics": [
        "print.CMDist"
      ]
    },
    {
      "page": "print.CoCA",
      "title": "Prints CoCA class information",
      "topics": [
        "print.CoCA"
      ]
    },
    {
      "page": "rancor_builder",
      "title": "Build a Random Corpus",
      "topics": [
        "rancor_builder"
      ]
    },
    {
      "page": "rancors_builder",
      "title": "Build Multiple Random Corpora",
      "topics": [
        "rancors_builder"
      ]
    },
    {
      "page": "seq_builder",
      "title": "Represent Documents as Token-Integer Sequences",
      "topics": [
        "seq_builder"
      ]
    },
    {
      "page": "stoplists",
      "title": "A dataset of stoplists",
      "topics": [
        "stoplists"
      ]
    },
    {
      "page": "test_anchors",
      "title": "Evaluate anchor sets in defining semantic relations",
      "topics": [
        "test_anchors"
      ]
    },
    {
      "page": "tiny_gender_tagger",
      "title": "A very tiny \"gender\" tagger",
      "topics": [
        "tiny_gender_tagger"
      ]
    },
    {
      "page": "vocab_builder",
      "title": "A fast unigram vocabulary builder",
      "topics": [
        "vocab_builder"
      ]
    },
    {
      "page": "weight_ppmi",
      "title": "Positive Pointwise Mutual Information Weighting",
      "topics": [
        "weight_ppmi"
      ]
    }
  ],
  "_pkglogo": "https://gitlab.com/culturalcartography/text2map/raw/HEAD/man/figures/logo.png",
  "_readme": "https://gitlab.com/culturalcartography/text2map/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "data.table",
    "digest",
    "doParallel",
    "dplyr",
    "fastmatch",
    "float",
    "foreach",
    "generics",
    "glue",
    "igraph",
    "iterators",
    "kit",
    "lattice",
    "lgr",
    "lifecycle",
    "magrittr",
    "Matrix",
    "MatrixExtra",
    "mlapi",
    "permute",
    "pillar",
    "pkgconfig",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "RhpcBLASctl",
    "rlang",
    "rsparse",
    "rsvd",
    "stringi",
    "text2vec",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 4.260071387985075,
  "_indexed": true,
  "_nocasepkg": "text2map",
  "_universes": [
    "dustinstoltz",
    "gitlab-culturalcartography"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-10-15T06:20:48.000Z",
      "distro": "resolute",
      "commit": "4771f8f24abdf6b0f02cb86e43fa431f2a686f73",
      "fileid": "https://r2.ropensci.org/7d094648595c633b6942a736019cd5eb8334f273cf5066cd9371a28782a8894e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dustinstoltz/actions/runs/38691235606"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-10-15T06:20:24.000Z",
      "distro": "resolute",
      "commit": "4771f8f24abdf6b0f02cb86e43fa431f2a686f73",
      "fileid": "https://r2.ropensci.org/f01081a8120d78684472b3dad472a188a012a4c16da97e72488cd18ce8b4c2e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dustinstoltz/actions/runs/38691235606"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-10-15T06:24:23.000Z",
      "commit": "4771f8f24abdf6b0f02cb86e43fa431f2a686f73",
      "fileid": "https://r2.ropensci.org/025f2b6bdd2080b3f2ec58ec2b4c620d9c7c54a8a4404483bdba8fa38a5764b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dustinstoltz/actions/runs/38691235606"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-10-15T06:27:39.000Z",
      "commit": "4771f8f24abdf6b0f02cb86e43fa431f2a686f73",
      "fileid": "https://r2.ropensci.org/b38f2c436b2e5d0e288d7a40327aeb6449c772d7e625ec4e3702367e5e51618a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dustinstoltz/actions/runs/38691235606"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-10-15T06:20:20.000Z",
      "commit": "4771f8f24abdf6b0f02cb86e43fa431f2a686f73",
      "fileid": "https://r2.ropensci.org/e844c55403d84dcf887a604d3e2f82d8ab877b5c3de50e3626d82f8c4830da27",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dustinstoltz/actions/runs/38691235606"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-15T06:19:41.000Z",
      "commit": "4771f8f24abdf6b0f02cb86e43fa431f2a686f73",
      "fileid": "https://r2.ropensci.org/2230cba9fc7e2757f57c52643f873f5966f4ccbe980ee056a11444650dd9643d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dustinstoltz/actions/runs/38691235606"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-15T06:19:30.000Z",
      "commit": "4771f8f24abdf6b0f02cb86e43fa431f2a686f73",
      "fileid": "https://r2.ropensci.org/93a3c3399d07aa8fed1263b637ac8efa94771748be456d3cc5f8a31c3b7e845c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dustinstoltz/actions/runs/38691235606"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-15T06:19:17.000Z",
      "commit": "4771f8f24abdf6b0f02cb86e43fa431f2a686f73",
      "fileid": "https://r2.ropensci.org/ea2b86b5d6ba278aac8a9db88b141f0e64e3ca340c68a335344662c3654429a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dustinstoltz/actions/runs/38691235606"
    }
  ]
}