Collaboration between Convolutional Neural Network and Semantic Search for English Hadith Search Using Automatic Topic Classification, TF-IDF, and Sentence-BERT
Building of Informatics, Technology and Science (BITS) · 26.12.2025 · 7 (3) · 2017-2024
DOI: 10.47065/bits.v7i3.8861 ↗Kurz gefasst
Fachartikel in der Zeitschrift Building of Informatics, Technology and Science (BITS), online erschienen am 26.12.2025. Verfasst von Akmal Sidki Razaka und 1 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).
Abstract (Originalsprache)
This research was conducted with the intention of developing an English-language hadith search system that is not only syntactically accurate, but also contextually appropriate. The system was developed using a combination of convolutional neural networks (CNN) and two text representation methods, namely Term Frequency–Inverse Document Frequency (TF-IDF) and Sentence-BERT (SBERT). CNN is used to classify hadiths into seven main categories based on chapter titles. In the semantic retrieval stage, TF-IDF and SBERT were utilized to represent the text of the hadith and user queries, then both were evaluated using cosine similarity. Testing was conducted using five queries commonly used in Islamic studies, then evaluated manually for semantic similarity. As a result, the tuned CNN achieved a classification accuracy of 94%. On the other hand, although the TF-IDF approach produced greater similarity results, SBERT proved to be superior in generating more relevant results in semantic searches. These results indicate that TF-IDF is superior in terms of speed, but SBERT is better at understanding sentence context in depth. This research contributes to the development of a meaning-based hadith search system and emphasizes the importance of a semantic approach in religious text search. Moving forward, system development can be directed toward multilingual support and evaluation on a larger scale.
Zitieren
APA
Razaka, A. S., & Lhaksmana, K. M. (2025). Collaboration between Convolutional Neural Network and Semantic Search for English Hadith Search Using Automatic Topic Classification, TF-IDF, and Sentence-BERT. Building of Informatics, Technology and Science (BITS), 7(3), 2017-2024. https://doi.org/10.47065/bits.v7i3.8861
Vancouver
Razaka AS, Lhaksmana KM. Collaboration between Convolutional Neural Network and Semantic Search for English Hadith Search Using Automatic Topic Classification, TF-IDF, and Sentence-BERT. Building of Informatics, Technology and Science (BITS). 2025;7(3):2017-2024. doi:10.47065/bits.v7i3.8861
BibTeX
@article{Razaka2025,
author = {Razaka, Akmal Sidki and Lhaksmana, Kemas Muslim},
title = {Collaboration between Convolutional Neural Network and Semantic Search for English Hadith Search Using Automatic Topic Classification, TF-IDF, and Sentence-BERT},
journal = {Building of Informatics, Technology and Science (BITS)},
year = {2025},
volume = {7},
number = {3},
pages = {2017--2024},
doi = {10.47065/bits.v7i3.8861}
}
EUVIMED