Skip to content
/ text2map Public

❗ This is a read-only mirror of the CRAN R package repository. text2map — R Tools for Text Matrices, Embeddings, and Networks. Homepage: https://gitlab.com/culturalcartography/text2map Report bugs for this package: https://gitlab.com/culturalcartography/text2map/-/issues

License

Notifications You must be signed in to change notification settings

cran/text2map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text2map: R Tools for Text Matrices

This is an R Package with libraries and utility functions for computational text analysis.

The functions are optimized for working with various kinds of text matrices. Focusing on the text matrix as the primary object -- which is represented either as a base R dense matrix or a Matrix package sparse matrix -- allows for a consistent and intuitive interface that stays close to the underlying mathematical foundation of computational text analysis. In particular, the package includes functions for working with word embeddings, text networks, and document-term matrices.

Please check out our book Mapping Texts: Computational Text Analysis for the Social Sciences

Installation

Install the CRAN version:

install.packages("text2map")

Or install the latest development version from GitLab:

library(remotes)
install_gitlab("culturalcartography/text2map")

Related Packages

There are four related packages hosted on GitLab:

The above packages can be installed using the following:

library(remotes)
install_gitlab("culturalcartography/text2map.theme")
install_gitlab("culturalcartography/text2map.corpora")
install_gitlab("culturalcartography/text2map.pretrained")
install_gitlab("culturalcartography/text2map.dictionaries")

Contributions and Support

We welcome contributions!

For any contributions, feel free to fork the package repository on GitLab or submit pull requests. We follow the Tidyverse and rOpensci style guides (see also Advanced R). In terms of adding functions, we encourage any method that works with base R matrices or the Matrix package's dgCMatrix class.

Please report any issues or bugs here: https://gitlab.com/culturalcartography/text2map/-/issues

Any questions and requests for support can also be directed to the package maintainers (maintainers [at] textmapping [dot] com).

CRAN

pipeline

DOI

coverage

repo status

license

About

❗ This is a read-only mirror of the CRAN R package repository. text2map — R Tools for Text Matrices, Embeddings, and Networks. Homepage: https://gitlab.com/culturalcartography/text2map Report bugs for this package: https://gitlab.com/culturalcartography/text2map/-/issues

Resources

License

Stars

Watchers

Forks

Packages

No packages published