Coder Social home page Coder Social logo

omarshafie / hadith Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 2.0 983.82 MB

a search engine which provides Visual analysis of Hadith Isnad tree

Home Page: https://dev.omarshafie.com/hadith/

License: GNU General Public License v3.0

HTML 38.33% JavaScript 51.31% CSS 10.35%

hadith's Introduction

Hi there 👋

hadith's People

Contributors

omarshafie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hadith's Issues

Scraping 2.0

Get more resource data/books.
Scale to all available Sunnah Books+, show kunya and nasab and name of each rawi onHover

Places view

We can create sankey that reflect the places (instead of the narrators.
and represent the links of the narrator that links the places.

or have a places view, of the collection, by grouping locations in links

MMA 2.0

cluster hadiths together highrarically and sort them by edit distances.
if multiple hadiths (matn-based not takhreej based) are shown, then create multiple consensus rows with side arrow.

add implicit matns

add shawahid collection

Export Tree

To provide export feature as png or pdf of the tree

Information Retrieval

  • search for hadith (content) full ranking system
  • prefix and suffix + ignore punctuations?
  • hadith similarity

add the node of the prophet

I would like to diffrentiate between a hadith that is mmarfoo, and mawqoof ..

add a last node for the prophet pbuh

البحث لا يعمل في الموقع

Describe the bug
البحث لا يعمل في الموقع حتي باستخدام المثال الموجود

To Reproduce
Steps to reproduce the behavior:

  1. Go to hadith website
  2. اكتب 'الأعمال بالنيات'
  3. str is undefined تظهر عبارة

Expected behavior
إظهار شجرة الرواة

Screenshots
image

Desktop:

  • OS: Windows 10
  • Browser Firefox
  • Version 102.0

search over hadiths instead of over route

( for analytics, not necessarily for non coder user)

I would like to be able to perform searches over hadiths instead of over routes

Not sure how to have such solution yet :)

Please suggest a way you can think of..

It is quite common to call routes hadiths in scholarly literature

Keyboard shortcuts

L to lock popup, preventing it from disappearing, and allow copying without opening the slide window

F full screen the alignment to see in details

Narrator identifier

Given X where X is undefined narrator, and P known properties, recommend the closest narrator that can be X or a replacement of X.
This is to be used once we suspect a mistake in the name of the narrator or we have a missing node in the sequence. This can also be used once we suspect that another narrator can be used to support the narration.

Properties / Calculation measure can be:
Name: edit distance, normalized, root, character level and word level.
Time: if we know a date range / tabaqah
Place: from the teacher/student
Teachers, number of narrations
Students, number of narrations

Data Challenges

Narration term between the links (صيغ الأداء) to show connection

Coloring by Matn & Sanad

I would like a way to be able to extract the info related to the path of the hadith without the need to manually track it.

I suggest to group similar hadiths using coloring mechanisms, 2 in particular:
to color by sanad
or by matn
or by both
or by none (which is the current)

For example the color by matn groups the same hadiths in one color, thus visually alone, I can understand how many exactly are hadiths displayed in the generated tree.
Color by sanad however, shows how the same hadith has traversed the nodes, as output links are not associated with input links in any way.

In specific, this is very useful for the following hadiths:
خيركم من تعلم القرآن وعلمه

To color by both just is further analysis.

Usage Manual

ثم إضافة هذه الفوائد في وصف الحديث/الراوي

Grouped Matn

color each group by a unique color + color each zyadah by a n-bit binary colors, where nth bit is existance of zyadah.

adjust weights of links

As number of hadiths increases within a search, the link widths (weight) grows linearly, this makes presenting a comparison really difficult as heavy links significantly outlarge lighter ones..

I suggest that as the knowing the exact accumulation of number of hadith in one link is not of sifnificant value to make visual wight in the link grows very slowly..

It is worth trying:
(logarithmic scale)
Harmonic scale?

Seo for engine

Advertize for the engine in
social media
Contact relevant personal
Add to papers
Seo and meta

show MMA links

click on MMA card on a word to show the relevant node.

Arabic UI

I want the UI to be bilingual friendly

Collapse(delete) nodes

Collapse(delete) nodes to simplify the presented tree as needed

the usability:

click on any node and a button to delete the selected node would be enabled

then after the delete has occurred, the input links would go skip the deleted node and skip it to the following one on the chain

this new link will be highlighted with a new color to show that it has been edited and not orginal

also a new reset button should be visible to be able to just reset the graph to the original

this would probably mean that it will be storing the edits in a stach somewhere

سبر analysis for any route

Compute سبر مرويات الراوي من كل طريق ثم سبر المرويات على الشيوخ ثم مقارنة الرواية مع ما رواه الثقات من المتابعات وترتيب الطرق بعدد المرويات

Badges on narrators

Suppose that the database has properties tags on narrators,

Then I can search isnad by badges pattern, in addition, i can create a custom badge maker using adaptive filtering.

If so, I would not need to have seperate legend for اختلاط and Tadlees.

Hover on the narrator to see their badges and evidence insight.

Badges table is expected as the following:

Rawi id | Badge Symbol | evidence

Build an index for god's sake

How can I call this a search engine with no index implemented?

build one for narrators, and another for text.

Sadly, Can't, will defeat the purpose of grammars

Color Nodes based on a criteria of grading

When I examine the tree, I might be interested in switching the criteria of grade if the narrator:

The color should follow such logic:

Option1: the color of a specific scholar

Option2: Multiple scholars: arrows on the legend to highlight different options ... normalizing the difference

scrape معلقات

the original scrape has ignored any معلقات البخاري

scrape by mainID use vizbug

Order of links is not ideal

The order of links between 2 nodes does seem to follow a sorting convention, not random

The ideal view is to have the same order consistent for clarity

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.