quranic search v2
1.0.0

从古兰经中检索信息是古兰经学者,穆斯林研究人员和阿拉伯语爱好者的重要领域。古兰经搜索技术有两种流行的类型:基于词汇或关键字的基于语义或基于概念的词法,这是一项具有挑战性的任务,尤其是在复杂的语料库中,例如Holy Quran。 Quranic Search代表了《古兰经》中的词汇和语义搜索。
![]() | ![]() |
古兰经搜索的开发是为了帮助所有人,尤其是穆斯林,以更轻松,更快地处理圣古兰经,使他们可以通过关键字或概念主题在《古兰经》中搜索特定的经文。
古兰经被认为是世界各地约16亿穆斯林的主要参考,是古典阿拉伯语的主要资源。穆斯林以及非穆斯林都需要从古兰经中搜索某些信息或检索讨论特定主题,有各种主题的经文,例如;道德,伊斯兰法,婚姻和家庭法,货币交易,道德以及伊斯兰/穆斯林与其他世界宗教之间的关系。
当您进行词汇搜索时:
当您进行语义搜索时:
该项目中使用的工具。
| 工具 | 描述 | |
|---|---|---|
![]() | Visual Studio代码 | IDE |
![]() | React.js | 前端框架 |
![]() | Django | 词汇搜索后端框架 |
![]() | 烧瓶 | 语义搜索API后端框架 |
![]() | Gensim | 主题建模(Word2Vec,键控器) |
![]() | sqlite3 | 对于古兰经数据库 |
quranic-search-v2
├── README.md < - This top-level README for this project
├── LICENSE
├── assets
│ ├── screenshots < - Screenshots from the project
│ └── tools < - Used tools in the project
├── backend
│ ├── api
│ │ ├── lexical
│ │ │ ├── api/ < - Lexical Django project with settings
│ │ │ ├── db/ < - Used databases in the project
│ │ │ ├── search/ < - Search application (static, templates, models, serializers, urls, views, tests, ..etc)
│ │ │ ├── db.sqlite3 < - Migrated database
│ │ │ ├── manage.py < - A command-line utility to interact with this Django project
│ │ │ └── requirements.txt < - All needed for installing the lexical search API
│ │ └── semantic
│ │ ├── data
│ │ │ ├── external/ < - Data from third-party sources
│ │ │ └── processed/ < - The final, canonical data sets for modeling
│ │ ├── models/ < - Trained and serialized models, model predictions, or model summaries
│ │ ├── notebooks/ < - All Jupyter notebooks
│ │ ├── src < - Source code for use in this project
│ │ │ ├── __init__.py < - Makes src a Python module
│ │ │ └── models < - Scripts to train models and then use trained models to make predictions
│ │ │ ├── pooling.py < - Pooling algorithms for sentence embeddings
│ │ │ ├── predict.py < - Resources of the semantic search API
│ │ │ ├── preprocess.py < - The frequent preprocessing methods
│ │ │ └── semantic_methods.py < - The semantic (word/sentence) search methods
│ │ ├── app.py < - The Flask application (entry point)
│ │ └── requirements.txt < - All needed for installing the semantic search API
│ └── run.sh < - Bootstrapping script to run the APIs
├── frontend
│ ├── node_modules < - Node.js modules
│ ├── public
│ │ ├── fonts < - Fonts used in the project
│ │ │ ├── amiri/
│ │ │ └── kufi/
│ │ ├── images
│ │ │ └── quran-logo.png
│ │ ├── 404.html
│ │ ├── index.html
│ │ ├── manifest.json
│ │ └── robots.txt
│ ├── src
│ │ ├── components < - React components
│ │ │ ├── HomeForm
│ │ │ │ ├── HomeForm.css
│ │ │ │ └── HomeForm.js
│ │ │ ├── Navbar/
│ │ │ ├── ResultsForm/
│ │ │ └── Verse/
│ │ ├── containers < - React containers/pages
│ │ │ ├── About
│ │ │ │ ├── About.css
│ │ │ │ └── About.js
│ │ │ ├── Bookmarks/
│ │ │ ├── Home/
│ │ │ └── Results/
│ │ ├── App.css < - CSS for the application
│ │ ├── App.js < - The application file
│ │ ├── App.test.js < - The application file for testing
│ │ ├── index.css < - CSS for the root (entire application)
│ │ ├── index.js < - The root application file
│ │ ├── reportWebVitals.js < - WebVitals reporting script
│ │ └── setupTests.js < - Setup script for testing
│ ├── package-lock.json < - Used to install dependencies
│ └── package.json < - Used to install dependencies
├── .github
│ └── workflows < - GitHub Actions workflows
│ ├── django.yml
│ └── node.js.yml
└── .gitignore该项目除了运行(后端/前端)外,还使用多个预训练的模型。您可以首先使用助手脚本下载轻型模型并在运行之前安装所有要求:
sh scripts/start.shgit clone https://github.com/ahr9n/quranic-search-v2.git
cd quranic-search-v2?所有命令必须在项目的根部执行。
sh scripts/run.shhttp://localhost:3000?现在你很好!
?请注意,所有服务器均应使用脚本在后台运行,因此您可以使用以下命令关闭所有服务器:
sh scripts/down.sh奥马尔·沙姆克(Omar Shamkh) | 艾哈迈德·阿尔玛格拉比(Ahmad Almaghraby) | 艾哈迈德·阿卜杜拉曼(Ahmad Abdulrahman) | ABD El-Twab M. Fakhry | 艾哈迈德·阿蒂亚(Ahmad Ateya) |
根据GPL-V3许可证获得许可。