{"about":{"non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","site":"https://codewithpapers.app","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/hadiths-classification-using-a-novel-author","title":"Hadiths Classification Using a Novel Author-Based Hadith Classification Dataset (ABCD)","arxiv_id":null,"date":"2023-08-14","proceeding":"Big Data Cogn. Comput. 2023 8","authors":["Ahmed Ramzy","Marwan Torki","Mohamed Abdeen","Omar Saif","Mustafa ElNainay","AbdAllah Alshanqiti","Emad Nabil"],"abstract":"Religious studies are a rich land for Natural Language Processing (NLP). The reason is\r\nthat all religions have their instructions as written texts. In this paper, we apply NLP to Islamic\r\nHadiths, which are the written traditions, sayings, actions, approvals, and discussions of the Prophet\r\nMuhammad, his companions, or his followers. A Hadith is composed of two parts: the chain of\r\nnarrators (Sanad) and the content of the Hadith (Matn). A Hadith is transmitted from its author to a\r\nHadith book author using a chain of narrators. The problem we solve focuses on the classification\r\nof Hadiths based on their origin of narration. This is important for several reasons. First, it helps\r\ndetermine the authenticity and reliability of the Hadiths. Second, it helps trace the chain of narration\r\nand identify the narrators involved in transmitting Hadiths. Finally, it helps understand the historical\r\nand cultural contexts in which Hadiths were transmitted, and the different levels of authority\r\nattributed to the narrators. To the best of our knowledge, and based on our literature review, this\r\nproblem is not solved before using machine/deep learning approaches. To solve this classification\r\nproblem, we created a novel Author-Based Hadith Classification Dataset (ABCD) collected from\r\nclassical Hadiths’ books. The ABCD size is 29 K Hadiths and it contains unique 18 K narrators, with\r\nall their information. We applied machine learning (ML), and deep learning (DL) approaches. ML\r\nwas applied on Sanad and Matn separately; then, we did the same with DL. The results revealed that\r\nML performs better than DL using the Matn input data, with a 77% F1-score. DL performed better\r\nthan ML using the Sanad input data, with a 92% F1-score. We used precision and recall alongside the\r\nF1-score; details of the results are explained at the end of the paper. We claim that the ABCD and the\r\nreported results will motivate the community to work in this new area. Our dataset and results will\r\nrepresent a baseline for further research on the same problem.","url_abs":"https://www.mdpi.com/2504-2289/7/3/141","url_pdf":"https://www.mdpi.com/2504-2289/7/3/141","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"hadiths-classification-using-a-novel-author","repo_url":"https://github.com/emadnabilcs/ABCD","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"tf","reach":null}],"tasks":[{"task_slug":"16k","task_name":"16k"},{"task_slug":"classification-1","task_name":"Classification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers","held":null,"reason":"no_arxiv_id","checked_against":null,"by_repo":[{"repo":"emadnabilcs/ABCD","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0}],"by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"a2acf6f998ccce280d1f19c8783891ce36216d829cb44f2e8be8dd7f5776e5bd","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}