text is a package for analysing natural language using transformer-based language models. It provides functions for converting text into numerical representations and applying those representations to statistical analysis, prediction and the investigation of linguistic meaning.
The package forms part of the R Language Analysis Suite, which includes related tools for spoken language and topic analysis. Its principal focus is on making pretrained language models accessible within R-based research workflows.
Researchers can use text to examine semantic similarities, derive numerical features from language and investigate relationships between textual information and other measured variables. The package integrates with models available through the Hugging Face ecosystem and provides higher-level functions for a range of language-analysis tasks.
This is free and open source software.
Key Features
- Generates contextual text embeddings using pretrained transformer models.
- Provides functions for calculating semantic similarity between texts.
- Computes distance and similarity matrices from text representations.
- Supports dimensionality reduction and visualisation of embedding spaces.
- Provides text-based prediction and statistical modelling functions.
- Offers facilities for fine-tuning models for specific tasks or domains.
- Supports named entity recognition using compatible language models.
- Provides functions for text generation and question answering.
- Offers tokenisation and token-counting utilities.
- Supports analysis and aggregation of embedding representations.
- Provides functions for examining model layers and extracting representations.
- Supports text-based topic exploration and topic visualisation.
- Integrates numerical language representations into conventional statistical workflows.
- Provides an interface to pretrained language models available through Hugging Face.
Website: github.com/OscarKjell/text
Support:
Developer: Oscar Kjell
License: GNU General Public License v3.0
text is written in R. Learn R with our recommended free books and free tutorials.
Related Software
| R Natural Language Processing Tools | |
|---|---|
| tidytext | Text mining using dplyr, ggplot2, and other tidy tools |
| quanteda | R package for Quantitative Analysis of Textual Data |
| text2vec | Framework with API for text analysis and natural language processing |
| tm | Text Mining Infrastructure in R |
| srtringi | Fast and portable character string processing in R |
| Stringr | String manipulation in R |
| UDPipe | Tokenization, Tagging, Lemmatization and Dependency Parsing |
| tokenizers | Convert natural language text into tokens |
| spacyr | R wrapper around the Python spaCy package |
| Word Vectors | Build and explore embedding models |
| syuzhet | Extraction of sentiment and sentiment-based plot arcs from text |
| textTinyR | Text processing for small or big data |
| textrecipes | Prepares text features for machine learning with tidymodels |
| stm | Fits structural topic models to analyse document collections |
| sentimentr | Dictionary based sentiment analysis |
| word2vec | Trains word embedding models and explores semantic relationships |
| textclean | Collection of tools to clean and normalize text |
| TALL | Explore, model, and visualize textual data |
| corpustools | Various tools for analyzing text corpora |
| wordvector | Trains and explores word and document vector representations |
| topicmodels | Interface to LDA and CTM models |
| text | Analyzing natural language with transformers-based large language models |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.