arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.05120cs.CL
收藏

《古兰经》对话:使用阿拉伯语NLP技术开发古兰经语义搜索工具

Quranic Conversations: Developing a Semantic Search tool for the Quran using Arabic NLP Techniques

Meta;University of British Columbia(不列颠哥伦比亚大学)

Yasser Shohoud, Maged Shoman, Sarah Abdelazim

AI总结:

针对穆斯林难以快速定位古兰经相关经文的问题,研究团队利用阿拉伯语NLP技术,基于30多部经注数据集训练模型,结合余弦相似度开发语义搜索工具,使用SNxLM模型最高取得0.97的余弦相似度分数。

摘要:

《古兰经》被认为是真主(安拉)在约23年的时间里向先知穆罕默德(愿主福安之)降示的真言。在这部经典中,真主为如何过上正直公正的生活提供指引,强调诚实、同情、慈善和正义等原则,同时也对个人品行、家庭事务、商业伦理等诸多方面制定了准则。然而,由于语言和《古兰经》文本组织结构相关的限制,穆斯林很难找到与某一事项或感兴趣的查询相关的所有阿亚(经文)。因此,我们开发了一款古兰经语义搜索工具,用于查找与用户查询或提示相关的经文。为实现这一目标,我们在包含30多部经注的大型数据集上训练了多个模型——通常每部经注对应《古兰经》中的一节经文,再利用余弦相似度,获取与目标提示张量最相似的经注张量,随后用该张量索引对应的古兰经阿亚。使用SNxLM模型时,我们取得了高达0.97的余弦相似度分数,该结果对应一节涉及财务事务经文的abdu经注。

英文摘要:

The Holy Book of Quran is believed to be the literal word of God (Allah) as revealed to the Prophet Muhammad (PBUH) over a period of approximately 23 years. It is the book where God provides guidance on how to live a righteous and just life, emphasizing principles like honesty, compassion, charity and justice, as well as providing rules for personal conduct, family matters, business ethics and much more. However, due to constraints related to the language and the Quran organization, it is challenging for Muslims to get all relevant ayahs (verses) pertaining to a matter or inquiry of interest. Hence, we developed a Quran semantic search tool which finds the verses pertaining to the user inquiry or prompt. To achieve this, we trained several models on a large dataset of over 30 tafsirs, where typically each tafsir corresponds to one verse in the Quran and, using cosine similarity, obtained the tafsir tensor which is most similar to the prompt tensor of interest, which was then used to index for the corresponding ayah in the Quran. Using the SNxLM model, we were able to achieve a cosine similarity score as high as 0.97 which corresponds to the abdu tafsir for a verse relating to financial matters.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑