← Back to team overview

team4alfanous team mailing list archive

[Branch ~team4alfanous/alfanous/alfanous-git] Rev 320: Merge github.com:Alfanous-team/alfanous

 

Merge authors:
  Assem Chelli (عاصم شلي) (assem-ch)
------------------------------------------------------------
revno: 320 [merge]
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Fri 2012-08-24 14:25:07 +0100
message:
  Merge github.com:Alfanous-team/alfanous
modified:
  src/alfanous/README.rst


--
lp:alfanous
https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git

Your team Alfanous team is subscribed to branch lp:alfanous.
To unsubscribe from this branch go to https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git/+edit-subscription
=== modified file 'src/alfanous/README.rst'
--- src/alfanous/README.rst	2012-08-17 12:14:23 +0000
+++ src/alfanous/README.rst	2012-08-24 09:45:07 +0000
@@ -6,6 +6,7 @@
 -------
 Install
 -------
+To install the API from the source:
 .. code-block:: sh
 
     $ sudo python setup.py install
@@ -242,6 +243,8 @@
        "aya_theme_info":  True,
        "aya_stat_info":  True,
        "aya_sajda_info":  True,
+       "annotation_word": True,
+       "annotation_aya": True,
        "translation":"None",
        "recitation": 1
 
@@ -251,7 +254,204 @@
 
 .. code-block:: python
     
-    {}
+    {
+        
+        "search": {
+                    "runtime": 1.0951571464538574, 
+                    "interval": {
+                                    "start": 1, 
+                                    "total": 1, 
+                                    "end": 1
+                                }
+                    "words": {
+                                "global": {
+                                            "nb_words": 1,
+                                            "nb_matches": 1, 
+                                            "nb_vocalizations": 1, 
+                                            },
+                                "1": {
+                                        "word": "\u0627\u0644\u0643\u0648\u062b\u0631", 
+                                        "nb_matches": 1, 
+                                        "nb_ayas": 1,
+                                        "nb_vocalizations": 1, 
+                                        "vocalizations": ["\u0627\u0644\u0652\u0643\u064e\u0648\u0652\u062b\u064e\u0631\u064e"], 
+                                      }, 
+
+                             }, 
+
+                    "ayas": {
+                                "1": {
+                                        
+                                            "identifier": {
+                                                                "gid": 6205, 
+                                                                "aya_id": 1,
+                                                                "sura_id": 108, 
+                                                                "sura_name": "\u0627\u0644\u0643\u0648\u062b\u0631", 
+
+                                                             }, 
+                                            "aya": {
+                                                    "id": 1,
+                                                    "text": "\u0625\u0650\u0646\u0651\u064e\u0627 \u0623\u064e\u0639\u0652\u0637\u064e\u064a\u0652\u0646\u064e\u0627\u0643\u064e <span class=\"match term0\">\u0627\u0644\u0652\u0643\u064e\u0648\u0652\u062b\u064e\u0631\u064e</span>",
+                                                    "recitation": "http://www.everyayah.com/data/Abdul_Basit_Murattal_64kbps/108001.mp3";, 
+                                                    "translation": null, 
+                                                    "prev_aya": {
+                                                                    "id": 7, 
+                                                                    "sura": "\u0627\u0644\u0645\u0627\u0639\u0648\u0646",
+                                                                    "text": "\u0648\u064e\u064a\u064e\u0645\u0652\u0646\u064e\u0639\u064f\u0648\u0646\u064e \u0627\u0644\u0652\u0645\u064e\u0627\u0639\u064f\u0648\u0646\u064e", 
+                                                                }, 
+                                                    "next_aya": {
+                                                                    "id": 2, 
+                                                                    "sura": "\u0627\u0644\u0643\u0648\u062b\u0631",
+                                                                    "text": "\u0641\u064e\u0635\u064e\u0644\u0651\u0650 \u0644\u0650\u0631\u064e\u0628\u0651\u0650\u0643\u064e \u0648\u064e\u0627\u0646\u0652\u062d\u064e\u0631\u0652", 
+                                                                }, 
+                                                    },
+
+
+                                            "sura": {
+                                                        "id": 108,
+                                                        "name": "\u0627\u0644\u0643\u0648\u062b\u0631", 
+                                                        "type": "\u0645\u0643\u064a\u0629", 
+                                                        "order": 15, 
+                                                        "stat": {
+                                                                    "ayas": 3, 
+                                                                    "words": 10,
+                                                                    "letters": 42, 
+                                                                    "godnames": 0, 
+
+                                                                  }, 
+                                                    }, 
+                                            "theme": {
+                                                                "chapter": "\u0623\u0631\u0643\u0627\u0646 \u0627\u0644\u0625\u0633\u0644\u0627\u0645 ", 
+                                                                "topic": "\u0627\u0644\u062d\u062c \u0648\u0627\u0644\u0639\u0645\u0631\u0629 ", 
+                                                                "subtopic": null
+                                                      }, 
+
+                                            
+                                            "position": {
+                                                            "rub": 0, 
+                                                            "manzil": 7, 
+                                                            "ruku": 550, 
+                                                            "hizb": 60, 
+                                                            "page": 602
+                                                        }, 
+                                            "sajda": {
+                                                        "exist": false, 
+                                                        "id": null,
+                                                        "type": null
+                                                     }, 
+            
+                                            "stat": {
+                                                        "letters": 16, 
+                                                        "godnames": 0, 
+                                                        "words": 3
+                                                    }, 
+                                            "annotations": {
+                                                                "1": {
+                                                                        "arabicroot": null, 
+                                                                        "arabicmood": null, 
+                                                                        "number": null, 
+                                                                        "spelled": "\u0627\u0646\u0627\u0653", 
+                                                                        "aspect": null, "word_gid": 75871, 
+                                                                        "word_id": 1, 
+                                                                        "mood": null, 
+                                                                        "arabicspecial": "\u0625\u0650\u0646\u0651", 
+                                                                        "state": null, 
+                                                                        "arabiclemma": "\u0625\u0650\u0646\u0651", 
+                                                                        "gid": 116333, 
+                                                                        "type": "Particles", 
+                                                                        "aya_id": 1, 
+                                                                        "arabictoken": null, 
+                                                                        "form": null, 
+                                                                        "pos": "Accusative particle", 
+                                                                        "arabiccase": "\u0645\u0646\u0635\u0648\u0628", 
+                                                                        "part": "\u062c\u0630\u0639", 
+                                                                        "normalized": "\u0625\u0646\u0627\u0653", 
+                                                                        "case": "Accusative case", 
+                                                                        "sura_id": 108, 
+                                                                        "word": "\u0625\u0650\u0646\u0651\u064e\u0627\u0653", 
+                                                                        "derivation": null, 
+                                                                        "arabicpos": "\u062d\u0631\u0641 \u0646\u0635\u0628", 
+                                                                        "person": null, 
+                                                                        "token": null, 
+                                                                        "gender": null, 
+                                                                        "voice": null, 
+                                                                        "order": 1
+                                                                     }, 
+                                                                "2": {
+                                                                        "arabicroot": "\u0639\u0637\u0648", 
+                                                                        "arabicmood": null, 
+                                                                        "number": "\u062c\u0645\u0639", 
+                                                                        "spelled": "\u0627\u0639\u0637\u064a\u0646\u0670\u0643", 
+                                                                        "aspect": "Perfect verb", 
+                                                                        "word_gid": 75872, 
+                                                                        "word_id": 2, 
+                                                                        "mood": null, 
+                                                                        "arabicspecial": null, 
+                                                                        "state": null, 
+                                                                        "arabiclemma": null, 
+                                                                        "gid": 116335, 
+                                                                        "type": "Verbs", 
+                                                                        "aya_id": 1, 
+                                                                        "arabictoken": null, 
+                                                                        "form": "Fourth form", 
+                                                                        "pos": "Verb", 
+                                                                        "arabiccase": null, 
+                                                                        "part": "\u062c\u0630\u0639", 
+                                                                        "normalized": "\u0623\u0639\u0637\u064a\u0646\u0670\u0643", 
+                                                                        "case": null, 
+                                                                        "sura_id": 108, 
+                                                                        "word": "\u0623\u064e\u0639\u0652\u0637\u064e\u064a\u0652\u0646\u064e\u0670\u0643\u064e", 
+                                                                        "derivation": null, 
+                                                                        "arabicpos": "\u0641\u0639\u0644", 
+                                                                        "person": "\u0645\u062a\u0643\u0644\u0645", 
+                                                                        "token": null, 
+                                                                        "gender": "\u0645\u0630\u0651\u0643\u0631", 
+                                                                        "voice": null, 
+                                                                        "order": 1
+                                                                     }, 
+                                                                "3": {
+                                                                        "arabicroot": null, 
+                                                                        "arabicmood": null, 
+                                                                        "number": null, 
+                                                                        "spelled": "\u0671\u0644\u0643\u0648\u062b\u0631", 
+                                                                        "aspect": null, 
+                                                                        "word_gid": 75873, 
+                                                                        "word_id": 3, 
+                                                                        "mood": null, 
+                                                                        "arabicspecial": null, 
+                                                                        "state": null, 
+                                                                        "arabiclemma": null, 
+                                                                        "gid": 116337, 
+                                                                        "type": "determiner", 
+                                                                        "aya_id": 1, 
+                                                                        "arabictoken": "\u0627\u0644", 
+                                                                        "form": null, 
+                                                                        "pos": null, 
+                                                                        "arabiccase": null, 
+                                                                        "part": "\u0633\u0627\u0628\u0642", 
+                                                                        "normalized": "\u0671\u0644\u0643\u0648\u062b\u0631", 
+                                                                        "case": null, 
+                                                                        "sura_id": 108, 
+                                                                        "word": "\u0671\u0644\u0652\u0643\u064e\u0648\u0652\u062b\u064e\u0631\u064e", 
+                                                                        "derivation": null, 
+                                                                        "arabicpos": null, 
+                                                                        "person": null, 
+                                                                        "token": "al", 
+                                                                        "gender": null, 
+                                                                        "voice": null, 
+                                                                        "order": 1
+                                                                     }
+                                                            },
+                                                },
+                            }, 
+                    "translation_info": {}, 
+                    }, 
+
+        "error": {
+                    "code": 0,
+                    "msg": "success ## action=search ; query=\u0627\u0644\u0643\u0648\u062b\u0631", 
+                 }
+        }
 
 ------------
 Translations