Git Product home page Git Product logo

hadith_analysis's Introduction

Hadith and Ravis Analysis Project

dashboard dashboard dashboard

This project involves scraping and analyzing hadiths and their narrators (ravis) from Hadis Veritabanı.

Data Overview

  • Hadith Count: 284,363

  • Ravis Count: 13,595

Hadith Example

id,arabic,turkish,musannif,book,topic,chain,page_index
6b6be2db-2159-49d1-b8b5-886f25724268, حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِى شَيْبَةَ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ إِدْرِيسَ عَنْ إِسْمَاعِيلَ بْنِ أَبِى خَالِدٍ عَنْ قَيْسِ بْنِ أَبِى حَازِمٍ قَالَ دَخَلْنَا عَلَى خَبَّابٍ وَقَدِ اكْتَوَى سَبْعَ كَيَّاتٍ فِى بَطْنِهِ فَقَالَ لَوْمَا أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَانَا أَنْ نَدْعُوَ بِالْمَوْتِ لَدَعَوْتُ بِهِ ., Müslim, Sahîh-i Müslim, "KTB, ÖLÜM", 136; 778; 85; 688; 52, 6.4

Ravi Example


ravi_id, narrator_name, tribe, nisbesi, degree, reliability

1,Süfyân b. Uyeyne b. Meymûn,Âmir b. Sa'sa',"el-Hilâlî, el-Kûfî, el-Mekkî",Etbau'-Tabiîn,"Sika, hafız, hüccet"

Aim

The goal of this project is to analyze hadiths by grouping them based on the ravis' tribe, degree of confidence, and other attributes.

Tech Stack

  • Data Scraping: Python with BeautifulSoup

  • Database: PostgreSQL

  • Frontend: React

  • Backend: .NET V8.0

  • Data Visualization: Chart.js, Leaflet

  • Other Tools: Axios

Setup and Usage

Prerequisites

  • .NET V8.0

  • PostgreSQL

  • Python

  • React

Installation

  1. Clone the repository:
git clone https://github.com/ahmethedev/hadith_analysis.git

cd hadith_analysis
  1. Install frontend dependencies:
cd ../frontend

npm install
  1. Backend Startup :
cd ../backend_dotnet

You need to create appsetting.cs inorder to create connection string for db.

  1. Set up the database:
  • Create a PostgreSQL database and update the connection details in your backend configuration.
  1. Run the backend server:
run program.cs
  1. Run the frontend server:
cd ../frontend

npm start

Data Scraping

  • The data scraping scripts are written in Python using BeautifulSoup. Ensure you have Python installed, then run the scraping scripts to gather data from the source website.

  • You can access to the scraper and the zipped data in /scraping_and_data

Data Analysis and Visualization

  • Data analysis and visualization are done using Chart.js integrated with the React frontend. The backend handles the data fetching and serves the API endpoints.

Contributing

Feel free to submit issues, fork the repository, and send pull requests. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License. See the LICENSE file for details.

hadith_analysis's People

Contributors

ahmethedev avatar saintpeterslibiri avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.