Abstract
Text classification, a fundamental task in natural language processing (NLP),aims to categorize textual data into predefined labels. Traditional methodsstruggled with complex linguistic structures and semantic dependencies. Theadvent of deep learning, particularly recurrent neural networks (RNNs) andTransformer-based models, has significantly advanced the field by enablingnuanced feature extraction and context-aware predictions. Despite improvements,existing models exhibit limitations in balancing interpretability,computational efficiency, and long-range contextual understanding. This paperproposes the Dynamic Bidirectional Elman with Attention Network (DBEAN), whichintegrates bidirectional temporal modelling with self-attention mechanisms.DBEAN dynamically assigns weights to critical segments of input, improvingcontextual representation while maintaining computational efficiency.