Skip to content
  • Categories
  • Recent
  • Users
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Free Minds Forum Icon
  1. Home
  2. General Issues / Questions
  3. General Issues / Questions
  4. New Quran Browser version in the works...

New Quran Browser version in the works...

Scheduled Pinned Locked Moved General Issues / Questions
10 Posts 6 Posters 159 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lrhazi
    wrote on last edited by
    #1

    Salam All,

    I decided it was time to work a little on my search and browser web app http//yaqb.lrhazi.com , and instead of just adding and fixing little here little there, I decided to restart from scratch.

    A very early version is available alreayd http//yaqb3.lrhazi.com

    It has one extra translation The Message )

    Please check it out and leave your comments on this thread.

    Thanks and more will be comming soon Inchaa Allah. One major feature I'd like to add is for the users to be able to add their own comments to the verses as they browse them.

    Mohamed~

    1 Reply Last reply
    0
    • T Offline
      T Offline
      truth
      wrote on last edited by
      #2

      Peace Mohamed,

      Excellent stuff. What I would urge you to include is the ability to search for partial terms.

      For example typing 'rahm' should match lilrahman and alrrahmanu if an option is selected. The word 'utter' should match utters and utterance for example.

      This makes some sorts of search where one is not sure of the exact term alot more useful.

      Peace and good work once again. God bless.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lrhazi
        wrote on last edited by
        #3

        Peace Mohamed,

        Excellent stuff. What I would urge you to include is the ability to search for partial terms.

        For example typing 'rahm' should match lilrahman and alrrahmanu if an option is selected. The word 'utter' should match utters and utterance for example.

        This makes some sorts of search where one is not sure of the exact term alot more useful.

        Ok, try it out now!!!!

        Joking apart, the system will provide some level of what you are asking for.... and yes, do try it out now.

        You can not search the Arabic transliteration yet, and partial search there might not be available in the intial release.

        For the English translations, here how it works

        I am using PosgreSQL for database backend and tsearch2 (http//www.sai.msu.su/~megera/postgres/gist/tsearch/V2/) for indexing and searching.

        The way I indexed the text was using the english language mode, with the english word list provided by GNU Ispell/Aspell project. Basically, it adds some intellegence to the indexer so that when you search for "work" you will get "work" and "worked" and "working"...

        This intellegence is limited though and does not count for irregular words in English... so if you searched for "woman", you will only get "woman", not "women", same for "see" which would not match "saw"

        To try and improve the system a bit more, I built my own list of "similar" words that.... and the way I did it is I wrote a script to do

        • Fetch all the words that tsearch2 indexed (basically all the words in all the English translations)
        • Grab all available defintions of those words in webster 1913 dictionary (using http//dictd.org software), calcluate the hash value to each of those defintions
        • Now go though all of the words again, and build lists of "similar words" that is words that have at least one definition in common.

        Now this allows for a search for "man" to turn into a search for "man" OR "men" and so on... at the same time it introduces some weirdo bugs... whereby some words are classified as "similar" to others when they really should not be... I am still working on trying to fix that...

        Examples of such "similar words" that my script built
        3 Family 4398/5992 Family 4398
        3 Family 4418/5992 Family 4418
        3 Family 4462/5992 Family 4462
        3 Family 4535/5992 Family 4535
        3 Family 4546/5992 Family 4546
        3 Family 4557/5992 Family 4557
        3 Family 4570/5992 Family 4570
        3 Family 4591/5992 Family 4591
        3 Family 462/5992 Family 462
        3 Family 4634/5992 Family 4634

        Examples of stange groups

        4 is_suspicious Family 2403/5992 Family 2403
        4 is_suspicious Family 2618/5992 Family 2618
        4 is_suspicious Family 3128/5992 Family 3128
        4 is_suspicious Family 3160/5992 Family 3160
        4 is_suspicious Family 3245/5992 Family 3245
        4 is_suspicious Family 3339/5992 Family 3339
        4 is_suspicious Family 350/5992 Family 350
        4 is_suspicious Family 3613/5992 Family 3613
        4 is_suspicious Family 4021/5992 Family 4021
        4 is_suspicious Family 4581/5992 Family 4581
        4 is_suspicious Family 4644/5992 Family 4644
        4 is_suspicious Family 5332/5992 Family 5332
        4 is_suspicious Family 5397/5992 Family 5397
        4 is_suspicious Family 697/5992 Family 697
        4 is_suspicious Family 828/5992 Family 828
        4 is_suspicious Family 836/5992 Family 836
        4 is_suspicious Family 847/5992 Family 847
        4 is_suspicious Family 874/5992 Family 874
        5 Family 4521/5992 Family 4521
        5 Family 546/5992 Family 546
        5 is_suspicious Family 267/5992 Family 267
        5 is_suspicious Family 503/5992 Family 503
        5 is_suspicious Family 813/5992 Family 813
        6 is_suspicious Family 2103/5992 Family 2103
        6 is_suspicious Family 94/5992 Family 94
        7 is_suspicious Family 1532/5992 Family 1532
        8 is_suspicious Family 3180/5992 Family 3180
        9 is_suspicious Family 482/5992 Family 482

        I guess I ll just have to go though them manually and undo the questionable associations...

        Mohamed~

        1 Reply Last reply
        0
        • K Offline
          K Offline
          khalil
          wrote on last edited by
          #4

          Peace Irhazi

          This is very cool and usefull. Good stuff indeed, thank you. )

          pz

          1 Reply Last reply
          0
          • LaythL Offline
            LaythL Offline
            Layth
            wrote on last edited by
            #5

            Peace Mohammed,

            Great work as usual )

            If you don't mind, can you refer to translation of the Quran being used on the new browser (http//yaqb3.lrhazi.com/) as "The Message" or "ProgressiveMuslims".

            Thanks.

            1 Reply Last reply
            0
            • L Offline
              L Offline
              lrhazi
              wrote on last edited by
              #6

              Peace Mohammed,

              Great work as usual )

              If you don't mind, can you refer to translation of the Quran being used on the new browser (http//yaqb3.lrhazi.com/) as "The Message" or "ProgressiveMuslims".

              Thanks.

              Thanks Bro. And sure, I ll call it "The Message" and feel free to request any change any time.

              Mohamed~

              1 Reply Last reply
              0
              • S Offline
                S Offline
                savage_carrot
                wrote on last edited by
                #7

                Peace brother,

                Great work! Just a question...can we search for a particular verse with two or however many words present in the verse? Like for example the verse 'which hadith after this will they believe'...so if i were to type hadith with the required operator 'and' after, it would take me to the verse in question? I tried using and...but it didn't work...could you let me know what operators would be required? Tia.

                Nadia

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  lrhazi
                  wrote on last edited by
                  #8

                  Peace brother,

                  Great work! Just a question...can we search for a particular verse with two or however many words present in the verse?

                  In the site is finished and released I will hopefull make the usage info clearer.

                  But yes it should work as foolwos You type in things and hit eneter or submit

                  • If there isa number (digit) in what you typed, w will assume you are submitting verses references and we will look for anything that looks like that and look it up you could put multiple references such as

                  34
                  21-45

                  if there are no digits than we assume it is a word search

                  If you enter several words, we will add the AND operator between them and find all verses, if any, that contain all the words at the same time.

                  You can sepecify the expression your self using the following operators
                  | (the pipe character or vertical bar) logical OR
                  & logical AND
                  ! logical negation
                  and you can group words using parenthesis

                  So this expression ( jesus| mary) & !moses
                  would mean find all verses containing the word jesus or mary. but not moses

                  This might not be all working right now, I am stll developing some of the backend stuff... but you should be able to try few things....

                  Peace,
                  Mohamd~

                  1 Reply Last reply
                  0
                  • L Offline
                    L Offline
                    lrhazi
                    wrote on last edited by
                    #9

                    French translation added http//yaqb3.lrhazi.com/

                    Search not available yet for this translation, nor is it ready for the transliteration.

                    Translation "stolen" from http//islamfrance.free.fr/coran.html

                    Tip If the site seems to hang after you submitted a query, try STOP button in your browser then resubmit again. Please let me know if this happens often.

                    Mohamed~

                    1 Reply Last reply
                    0
                    • H Offline
                      H Offline
                      humility
                      wrote on last edited by
                      #10

                      This is great. I was actually looking for a french translation ... just for comparision, etc. )

                      French translation added http//yaqb3.lrhazi.com/

                      Search not available yet for this translation, nor is it ready for the transliteration.

                      Translation "stolen" from http//islamfrance.free.fr/coran.html

                      Tip If the site seems to hang after you submitted a query, try STOP button in your browser then resubmit again. Please let me know if this happens often.

                      Mohamed~

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Users