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許可證獲得許可。