NUSS: An R package for mixed N-grams and unigram sequence segmentation

NUSS is an R package for segmenting compound text sequences, such as hashtags, using a dual strategy that integrates n-gram segmentation with unigram sequence segmentation. Designed for context-sensitive analysis without training data, it builds custom dictionaries from any corpus and balances segmentation accuracy with computational efficiency. NUSS enhances preprocessing pipelines in text mining, particularly for social media data, and enables robust analysis in sentiment research, topic modeling, and digital discourse studies. It is the first CRAN-published R package dedicated to text segmentation.

Authors

Institutions

Publication Details

Journal
SoftwareX
Published
2025-08-18
DOI
https://doi.org/10.1016/j.softx.2025.102309
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

NUSS: An R package for mixed N-grams and unigram sequence segmentation

Oskar Kosch
SoftwareX
Natural Language Processing Techniques
article

NUSS: An R package for mixed N-grams and unigram sequence segmentation

Oskar Kosch
article en

Abstract

NUSS is an R package for segmenting compound text sequences, such as hashtags, using a dual strategy that integrates n-gram segmentation with unigram sequence segmentation. Designed for context-sensitive analysis without training data, it builds custom dictionaries from any corpus and balances segmentation accuracy with computational efficiency. NUSS enhances preprocessing pipelines in text mining, particularly for social media data, and enables robust analysis in sentiment research, topic modeling, and digital discourse studies. It is the first CRAN-published R package dedicated to text segmentation.

SoftwareXVol. 31
Krakow University of Economics (PL)
Uniwersytet Ekonomiczny w Krakowie
Openalex Percentile: Top 89%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.