Skip to content
Conference

A Comparative Performance Evaluation of Named Entity Recognition using spaCy and NLTK on Benchmark and Custom Datasets

Jul 2026 · 2026 4th International Conference on Sustainable Computing and Smart Systems (ICSCSS) · pp. 1837-1841 · 0 citations · 13 references

Abstract

With the rapid growth of digital text data, automatically extracting meaningful information from unstructured text has become essential for applications such as information retrieval, knowledge extraction, and question answering. Named Entity Recognition (NER) is a key task in Natural Language Processing (NLP) that identifies and classifies entities such as persons, organizations, locations, dates, and monetary values into predefined categories. A large portion of real-world data is unstructured, making NER essential for extracting structured information. This study evaluates two widely used Python-based NLP libraries, spaCy and NLTK, on a benchmark dataset (CoNLL-2003) and a custom news dataset from Kaggle. Performance was measured using precision, recall, and F1-score. Results show that spaCy outperforms NLTK in both accuracy and efficiency, especially for real-world text data, demonstrating its suitability for robust and scalable NER applications. BERT-based and transformer-based models are discussed in the related work section to provide insight into recent advancements in Named Entity Recognition techniques.

View source

Similar papers

Open access Jul 2026

General-purpose named entity recognition using transformer-based fine-tuned approach

A transformer-based fully fine-tuned XLNet model with 117M parameters is proposed, designed to recognize and extract named entities form general domain data and can be used for content recommendation, information retrieval in Q&A systems.

Parth Goel, A. Bhatt, Biswajeet Pradhan et al. · 0 citations

Approaches for Extracting Research Infrastructure Information from Text

It is shown that the usage of CRF weights in BERT-based architectures achieves noteworthy improvements in the overall NER task by approximately 12 %, and that in few-shot learning set-ups the effectiveness of CRF weights is much higher in smaller training sets.

Georgios Cheirmpos, Seyed Amin Tabatabaei, Evangelos Kanoulas et al. · 0 citations
#large language models Open access Sep 2026

Research on Text Information Extraction and Imbalanced Classification Methods for Enterprise Profiling

This research focuses on enterprise profiling in scenarios where large volumes of diverse texts—such as registration records, annual reports, news articles, and bidding notices—are continuously generated. Instead of relying solely on a single data representation or classification model, we developed a comprehensive natural language processing (NLP) pipeline for extracting key information and identifying industries. The pipeline consists of several steps. First, we use a BERT-BiLSTM-CRF model to identify core e/nterprise entities. Then, we combine TF-IDF with BERT embeddings to create a hybrid feature scheme that captures both lexical cues and contextual semantics. To address the challenge of imbalanced industry labels, we apply SMOTE in the dense semantic space and pair it with Focal Loss to enhance learning for minority classes. Additionally, we introduce a Stacking strategy to integrate outputs from different models, making predictions more stable. Tests on a self-compiled dataset covering ten national economic sectors and about 50,000 enterprises show that our method achieves a macro-F1 score of 95.4%. It outperforms traditional machine learning baselines and single deep learning models, offering more reliable recognition for minority classes. These results suggest that our framework is well-suited for applications such as supply chain partner discovery, industrial mapping, and targeted investment promotion.

Xin-Yi Xu · 0 citations
Open access 2026

Kannada Named Entity Recognition Using Deep Learning Techniques

Named Entity Recognition (NER) is a natural language processing task concerned with identifying mentions of named entities and classifying them according to a predefined set of categories. Despite the success of NER in domains, where such data is abundant it remains a formidable challenge for low-resource languages such as Kannada. In this paper we discuss the possible ways to approach NER for the Kannada language. We explore various research directions including rule-based methods statistical machine learning neural networks and transformers based tagging methodologies. We highlight the various challenges in achieving NER for such a language and propose a transformer based contextual tagging framework for labelling sequences. We propose to use mBERT IndicBERT and XLM-RoBERTa language models pretrained on target and other related Indic language corpora and further fine-tune these models for the NER task. We discuss various aspects for experimentation including data collection labelling data preparation methods data-splits evaluation metrics comparison with other models hyper parameter tuning entity-wise analysis and error analysis.

P. M., H. G, S. N · 0 citations
Open access Aug 2026

Biomedical Text Mining and Information Extraction Using Prompt-Enhanced and LoRA-Adapted Large Language Models

Biomedical named entity recognition (NER) and relation extraction (RE) remain challenging because biomedical texts contain ambiguous abbreviations, complex entity boundaries, domain-specific terminology, and implicit relations. This study proposes a prompt-enhanced and QLoRA-adapted large language model framework for biomedical information extraction. For NER, abbreviation-aware prompting supports candidate detection, contextual interpretation, boundary-aware generation, and schema-constrained outputs. For RE, entity markers identify a predefined target pair, while filtered UMLS and MeSH concepts provide concise evidence. DeepSeek-R1-Distill-Qwen-7B is adapted using LoRA over a 4-bit quantized frozen backbone. Experiments cover three NER and three RE datasets. Across three training seeds, the dataset-level macro-average F1 values are 0.909 ± 0.001 for NER and 0.787 ± 0.001 for RE. Seed-balanced paired bootstrap resampling with 10,000 aligned instance-level resamples confirms significant improvements over a matched deterministic simple-prompt baseline on all six datasets after Holm–Bonferroni correction (adjusted p < 0.001), with absolute F1 gains from +0.091 to +0.131. Repeated-run ablations show low variability and complementary contributions from task-structured prompting, knowledge filtering, deterministic validation, and parameter-efficient adaptation.

Feng Yan, Dequan Zheng, Feng Yu et al. · 0 citations
Conference Aug 2026

Evaluation of the BERT model for text semantic similarity

This study validates the effectiveness of the BERT model in semantic similarity calculation, providing more accurate technical support for related application scenarios, and laying the foundation for subsequent model optimization and lightweighting research.

Jiachen Gao · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.