The document discusses a domain-based chunking approach using a grammar-based annotation methodology to automate the generation of annotated training corpora for natural language processing tasks. By employing a transformer-based deep neural network model with additional recurrent neural network components, the study achieves a high classification F1 score of 96.97% in categorizing input sentences within the specific domain of advertising and marketing. The findings demonstrate that this grammar-based technique effectively addresses the challenges of manual data annotation and enhances model performance in chunking tasks.