D-Nikud: Enhancing Hebrew Diacritization with LSTM and Pretrained Models
Adi Rosenthal, Nadav Shaked
TL;DR
Hebrew diacritization is critical for NLP and TTS but remains challenging due to morphology and data diversity. D-Nikud fuses TavBERT-based embeddings with Bi-LSTM sequence tagging to predict Nikud, Dagesh, and Sin, trained on Nakdimon and Dicta data. The paper introduces a three-class letter representation, full-script reconciliation, and a practical training-prediction pipeline. Experiments show state-of-the-art performance across multiple Hebrew genres and faster inference than competing systems, highlighting potential for real-time diacritization in modern Hebrew text including gender forms.
Abstract
D-Nikud, a novel approach to Hebrew diacritization that integrates the strengths of LSTM networks and BERT-based (transformer) pre-trained model. Inspired by the methodologies employed in Nakdimon, we integrate it with the TavBERT pre-trained model, our system incorporates advanced architectural choices and diverse training data. Our experiments showcase state-of-the-art results on several benchmark datasets, with a particular emphasis on modern texts and more specified diacritization like gender.
