Lune

EMNLP Findings2023

Consonant is all you need: a compact representation of English text for efficient NLP

Maged Saeed AlShaibani, Irfan Ahmad

Abstract

In natural language processing (NLP), the representation of text plays a crucial role in various tasks such as language modeling, sentiment analysis, and machine translation. The standard approach is to represent text in the same way as we, as humans, read and write. In this paper, we propose a novel approach to represent text with only consonants which presents a compact representation of English text that offers improved efficiency without sacrificing performance. We exploit the fact that consonants are more discriminative than vowels and by representing text using consonants, we can significantly reduce the overall memory and compute footprint required for storing and processing textual data.

We present two alternative representations: 'consonants-only', where we completely remove the vowels from the text, and 'maskedvowels', where we mask all the vowels into one special symbol. To evaluate our approaches, we conducted experiments on various NLP tasks, including text classification, part-of-speech (POS) tagging, named-entity recognition (NER), and neural machine translation (NMT), in addition to language modeling. Our results demonstrate that the proposed consonant-based representation achieves comparable performance compared to the standard text representation while requiring significantly fewer computational resources. Furthermore, we show that our representation can be seamlessly integrated with existing NLP models and frameworks, providing a practical solution for efficient text processing.

Last but not the least, we present a technique to retrieve the vowel information from our processed text representation keeping in mind the need to reproduce text in human readable form in some NLP applications. The experiments implementation for this study is made publicly available 1 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Robust Open-Vocabulary Translation from Visual Text RepresentationsElizabeth Salesky, David Etter, Matt PostEMNLP 2021 · 33 citations

Related papers

  1. All Word Embeddings from One EmbeddingSho Takase, Sosuke KobayashiNeurIPS 2020 · 16 citations
  2. Coding Textual Inputs Boosts the Accuracy of Neural NetworksAbdul Rafae Khan, Jia Xu, Weiwei SunEMNLP 2020 · 2 citations
  3. Soundwave: Less is More for Speech-Text Alignment in LLMsYuhao Zhang, Zhiheng Liu, Fan Bu, Ruiyu Zhang et al.ACL 2025 · 11 citations
  4. Discrete Latent Variable Representations for Low-Resource Text ClassificationShuning Jin, Sam Wiseman, Karl Stratos, Karen LivescuACL 2020 · 12 citations
  5. Context Minimization for Resource-Constrained Text Classification: Optimizing Performance-Efficiency Trade-offs through Linguistic FeaturesNahid Hossain, Md Faisal KabirEMNLP Findings 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines