Zero-shot hashtag segmentation for multilingual sentiment analysis

Ruan Chaves Rodrigues, Marcelo Akira Inuzuka, Juliana Resplande Sant'Anna Gomes, Acquila Santos Rocha, Iacer Calixto +1 more
12/6/2021
cs.CL

Official code: ruanchaves/hashformers (79 stars, Python, MIT, last commit 2026-08-04).

Abstract

Hashtag segmentation, also known as hashtag decomposition, is a common step in preprocessing pipelines for social media datasets. It usually precedes tasks such as sentiment analysis and hate speech detection.

Show full abstract

For sentiment analysis in medium to low-resourced languages, previous research has demonstrated that a multilingual approach that resorts to machine translation can be competitive or superior to previous approaches to the task. We develop a zero-shot hashtag segmentation framework and demonstrate how it can be used to improve the accuracy of multilingual sentiment analysis pipelines. Our zero-shot framework establishes a new state-of-the-art for hashtag segmentation datasets, surpassing even previous approaches that relied on feature engineering and language models trained on in-domain data.

View on arXivView PDF

Code Implementations(1)

MIT

Transformer-powered hashtag segmentation with beam search, RRF ensembles, and agent-ready MCP workflows. A scalable alternative to heuristic splitters and massive LLMs.

796Python, Jupyter NotebookMay 21, 20203 months agoMIT
deep-learninghashtag-segmentorlarge-language-modelsllmsnatural-language-processing+15 more

Similar Papers

Cite this paper

@article{rodrigues2021zeroshot,
  title  = {Zero-shot hashtag segmentation for multilingual sentiment analysis},
  author = {Ruan Chaves Rodrigues and Marcelo Akira Inuzuka and Juliana Resplande Sant'Anna Gomes and Acquila Santos Rocha and Iacer Calixto and Hugo Alexandre Dantas do Nascimento},
  year   = {2021},
  eprint = {2112.03213},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.03213}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.03213.svg)](https://codeofpaper.com/paper/2112.03213)

Discussion