Skip to contents

text2map 0.4.0

Additions

  • added weight_ppmi() for Positive Pointwise Mutual Information weighting of term co-occurrence matrices; sparse-aware implementation operating on dgCMatrix slots directly, with smooth parameter for count smoothing before marginal estimation

Changes

  • moved text2vec, igraph, ClusterR, and RSpectra from Imports to Suggests with requireNamespace() checks for CI/CD compatibility
  • added data-raw/ to .gitignore

Corrections

  • fixed empty dtm_stats test by adding missing assertions
  • fixed dfm cbind warning: early-return now only for pure dgCMatrix, not subclasses like dfm
  • suppress plot windows in tests with pdf(NULL)

text2map 0.3.0

text2map 0.2.3

CRAN release: 2026-02-11

Additions

  • adding relco method to test_anchors

Corrections

  • fix error in calculating sig cutoff values for CoCA (Thanks to Bianca Kang!)

text2map 0.2.0

CRAN release: 2024-04-11

  • fix testing Suggests for CRAN
  • minor change to output labeling for test_anchor
  • updated documentation for test_anchor
  • added vignette for test_anchor

text2map 0.1.9.9000

  • minor change to output labeling for test_anchor
  • updated documentation for test_anchor
  • added vignette for test_anchor

text2map 0.1.9

CRAN release: 2024-03-12

Added test_anchor Added more unit tests Fixed a bug in doc_centrality using the centroid method

text2map 0.1.8

CRAN release: 2024-01-15

Fixes for changes to the Matrix package Updating documentation and added examples

text2map 0.1.6.9003

Fix encoding issue for non-ASCII characters to work with fastmatch Add functionality - perm_tester for Monte Carlo Permutation Tests for Model P-Values - rancor_builder creates random corpus based on provided term probabilities - rancors_builder creates multiple random corpora

Include additional tests, updated documentation and vignettes

text2map 0.1.6.9001

Working on an encoding error in fastmatch which shows inconsistent behavior with non-ASCII characters. This dev version provides a temporary fix.

text2map 0.1.6

CRAN release: 2022-08-17

Improvements

  • Add functionality
    • doc_centrality calculates four graph-based centrality metrics using DTMs
    • doc_similarity calculates four document similarity measures using DTMs

text2map 0.1.5

CRAN release: 2022-05-23

Improvements

  • Replaced dependency
    • using ClusterR for get_regions, instead of mlpack
    • Uses the Armadillo library k-means algorithm only (no longer provides an option)
  • Added functionality:
    • seq_builder creates a token-integer sequence representation
  • Added Shakespeare metadata for examples
  • Import Matrix package methods

text2map 0.1.4

CRAN release: 2022-04-12

Improvements

  • Added functionality
    • dtm_builder includes an option to return a dense base R matrix
    • dtm_stopper includes an option to remove based on a terms rank (e.g., top 10), stopping based on count and proportion are now two separate options

text2map 0.1.3

CRAN release: 2022-01-24

Improvements

text2map 0.1.1

CRAN release: 2021-10-22

Improvements

  • Added functionality to dtm_stopper() to stop words by document or term frequencies
    • Nomenclature was changed, stop_freq was changed to stop_termfreq
  • Added functionality to dtm_resampler() to resample proportion and fixed N lengths
  • Added and clarified documentation
  • Added a NEWS.md file to track changes to the package.