{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "\n", "\n", "\n", "\n", "---\n", "\n", "To get started: consult [start](start.ipynb)\n", "\n", "---\n", "\n", "# Search Introduction\n", "\n", "*Search* in Text-Fabric is a template based way of looking for structural patterns in your dataset.\n", "\n", "Within Text-Fabric we have the unique possibility to combine the ease of formulating search templates for\n", "complicated syntactical patterns with the power of programmatically processing the results.\n", "\n", "This notebook will show you how to get up and running.\n", "\n", "## Easy command\n", "\n", "Search is as simple as saying (just an example)\n", "\n", "```python\n", "results = A.search(template)\n", "A.show(results)\n", "```\n", "\n", "See all ins and outs in the\n", "[search template docs](https://annotation.github.io/text-fabric/tf/about/searchusage.html)." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "%load_ext autoreload\n", "%autoreload 2" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "ExecuteTime": { "end_time": "2018-05-24T10:06:39.818664Z", "start_time": "2018-05-24T10:06:39.796588Z" } }, "outputs": [], "source": [ "from tf.app import use" ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "ExecuteTime": { "end_time": "2018-05-24T10:06:51.615044Z", "start_time": "2018-05-24T10:06:50.161456Z" } }, "outputs": [ { "data": { "text/html": [ "TF-app: ~/text-fabric-data/q-ran/quran/app" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "data: ~/text-fabric-data/q-ran/quran/tf/0.4" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "This is Text-Fabric 9.2.3\n", "Api reference : https://annotation.github.io/text-fabric/tf/cheatsheet.html\n", "\n", "40 features found and 0 ignored\n" ] }, { "data": { "text/html": [ "Text-Fabric: Text-Fabric API 9.2.3, q-ran/quran/app v3, Search Reference
Data: QURAN, Character table, Feature docs
Features:
\n", "
Quran\n", "
\n", "\n", "
\n", "
\n", "a\n", "
\n", "
str
\n", "
\n", " not yet understood\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "ascii\n", "
\n", "
str
\n", "
\n", " transliterated text of word\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "ax\n", "
\n", "
str
\n", "
\n", " not yet understood\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "case\n", "
\n", "
str
\n", "
\n", " case of word\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "component\n", "
\n", "
str
\n", "
\n", " role of the word in its word group (prefix, main, or suffix)\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "definite\n", "
\n", "
int
\n", "
\n", " whether the word is definite\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "f\n", "
\n", "
str
\n", "
\n", " not yet understood\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "formation\n", "
\n", "
str
\n", "
\n", " stem formation of verb\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "fx\n", "
\n", "
str
\n", "
\n", " not yet understood\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "gn\n", "
\n", "
str
\n", "
\n", " gender of word (masculine, feminine)\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "interjection\n", "
\n", "
str
\n", "
\n", " kind of interjection\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "l\n", "
\n", "
str
\n", "
\n", " not yet understood\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "lemma\n", "
\n", "
str
\n", "
\n", " lemma of word\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "lx\n", "
\n", "
str
\n", "
\n", " not yet understood\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "mood\n", "
\n", "
str
\n", "
\n", " mood of a verb (subj, jus, ...)\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "n\n", "
\n", "
str
\n", "
\n", " not yet understood\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "name\n", "
\n", "
str
\n", "
\n", " Name of sura in Arabic\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
language:
\n", "
arabic
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "name@ll\n", "
\n", "
str
\n", "
\n", " Name of sura in English\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
language:
\n", "
english
\n", "
\n", "\n", "
\n", "
languageCode:
\n", "
en
\n", "
\n", "\n", "
\n", "
languageEnglish:
\n", "
English
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "nameAscii\n", "
\n", "
str
\n", "
\n", " Name of sura in Arabic, transliterated\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
language:
\n", "
arabic
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "nameTrans\n", "
\n", "
str
\n", "
\n", " Name of sura in Arabic, transcribed\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
language:
\n", "
arabic
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "nu\n", "
\n", "
str
\n", "
\n", " number of word (singular, dual, plural)\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:55Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "number\n", "
\n", "
int
\n", "
\n", " Number of sura, aya, word group, or word\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:56Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "order\n", "
\n", "
int
\n", "
\n", " ordinal number of sura\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:56Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "otype\n", "
\n", "
str
\n", "
\n", " Quran: plain text plus morphological annotations at the word level\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:56Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "pos\n", "
\n", "
str
\n", "
\n", " part-of-speech of word, main class\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:56Z
\n", "
\n", "\n", "
\n", "
documentation:
\n", "
http://corpus.quran.com/documentation/tagset.jsp
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "posx\n", "
\n", "
str
\n", "
\n", " part-of-speech of word, refined class\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:56Z
\n", "
\n", "\n", "
\n", "
documentation:
\n", "
http://corpus.quran.com/documentation/tagset.jsp
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "ps\n", "
\n", "
str
\n", "
\n", " person of word (1st, 2nd, 3rd)\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:56Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "root\n", "
\n", "
str
\n", "
\n", " root of word\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:56Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "sp\n", "
\n", "
str
\n", "
\n", " not yet understood\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:56Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "space\n", "
\n", "
str
\n", "
\n", " material between this word and the next\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:56Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "tense\n", "
\n", "
str
\n", "
\n", " tense of a verb (perfect, imperfect, ...)\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:56Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "translation@ll\n", "
\n", "
str
\n", "
\n", " english translation of whole aya\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:56Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
translator:
\n", "
Arthur Arberry (1955), https://en.wikipedia.org/wiki/Arthur_John_Arberry
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "type\n", "
\n", "
str
\n", "
\n", " type of sura\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:56Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "unicode\n", "
\n", "
str
\n", "
\n", " unicode arabic text of word\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:56Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "voice\n", "
\n", "
str
\n", "
\n", " voice of a verb (active, passive)\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:57Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "w\n", "
\n", "
str
\n", "
\n", " not yet understood\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:57Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "wx\n", "
\n", "
str
\n", "
\n", " not yet understood\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:57Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n", "oslots\n", "
\n", "
none
\n", "
\n", " Quran: plain text plus morphological annotations at the word level\n", "
\n", "\n", "
\n", "
acronym:
\n", "
quran
\n", "
\n", "\n", "
\n", "
convertedBy:
\n", "
Dirk Roorda and Cornelis van Lit
\n", "
\n", "\n", "
\n", "
createdBy:
\n", "
Kais Dukes
\n", "
\n", "\n", "
\n", "
createdDate:
\n", "
2011
\n", "
\n", "\n", "
\n", "
dateWritten:
\n", "
2019-05-13T07:17:57Z
\n", "
\n", "\n", "
\n", "
license1:
\n", "
Open Source, unspecified, see http://corpus.quran.com/releasenotes.jsp
\n", "
\n", "\n", "
\n", "
license2:
\n", "
Creative Commons BY-ND 3.0 Unported
\n", "
\n", "\n", "
\n", "
source1:
\n", "
Morphology: Quranic Arabic Corpus 0.4 (2011) by Kais Dukes
\n", "
\n", "\n", "
\n", "
source1Url:
\n", "
http://corpus.quran.com
\n", "
\n", "\n", "
\n", "
source2:
\n", "
Text: Tanzil Quran Text (Uthmani, version 1.0.2)
\n", "
\n", "\n", "
\n", "
source2Url:
\n", "
http://tanzil.net/docs/home
\n", "
\n", "\n", "
\n", "
writtenBy:
\n", "
Text-Fabric
\n", "
\n", "\n", "
\n", "
\n", "
\n", "\n", "
\n", "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "\n", "\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
Text-Fabric API: names N F E L T S C TF directly usable

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A = use(\"q-ran/quran\", hoist=globals())" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Basic search command\n", "\n", "We start with the most simple form of issuing a query.\n", "Let's look for the words in sura 1.\n", "\n", "All work involved in searching takes place under the hood." ] }, { "cell_type": "code", "execution_count": 5, "metadata": { "ExecuteTime": { "end_time": "2018-05-24T07:46:55.998382Z", "start_time": "2018-05-24T07:46:55.137956Z" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ " 0.11s 80 results\n" ] }, { "data": { "text/html": [ "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "
npsuraayaword
11:11بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِبِ
21:11بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِسْمِ
31:11بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِٱللَّهِ
41:11بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِٱل
51:11بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِرَّحْمَٰنِ
61:11بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِٱل
71:11بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِرَّحِيمِ
81:21ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَٱلْ
91:21ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَحَمْدُ
101:21ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَلِ
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "query = \"\"\"\n", "sura number=1|2|3\n", " aya number<4\n", " word\n", "\"\"\"\n", "results = A.search(query)\n", "A.table(results, end=10)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "The hyperlinks take us to aya on Tanzil.\n", "\n", "Note that we can choose start and/or end points in the results list." ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "ExecuteTime": { "end_time": "2018-05-24T07:47:03.299872Z", "start_time": "2018-05-24T07:47:03.261873Z" } }, "outputs": [ { "data": { "text/html": [ "\n", "\n", "\n", "\n", "\n", "\n", "
npsuraayaword
81:21ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَٱلْ
91:21ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَحَمْدُ
101:21ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَلِ
111:21ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَلَّهِ
121:21ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَرَبِّ
131:21ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَٱلْ
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A.table(results, start=8, end=13)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "We can show the results more fully with `show()`." ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [], "source": [ "A.displaySetup(queryFeatures=False)" ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [ { "data": { "text/html": [ "

result 1

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
sura 1
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "

result 2

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
sura 1
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "

result 3

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
sura 1
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A.show(results, start=1, end=3)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "We can show all results condensed by *aya*:" ] }, { "cell_type": "code", "execution_count": 9, "metadata": { "ExecuteTime": { "end_time": "2018-05-24T07:47:06.875859Z", "start_time": "2018-05-24T07:47:06.757345Z" } }, "outputs": [ { "data": { "text/html": [ "

aya 1

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "

aya 2

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
aya
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "

aya 3

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "

aya 4

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
aya
group
الٓمٓ
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "

aya 5

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
aya
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "

aya 6

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
aya
group
group
بِ
ٱلْ
group
وَ
ونَ
group
group
نَٰ
هُمْ
group
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "

aya 7

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
aya
group
الٓمٓ
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "

aya 8

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
aya
group
group
هُوَ
group
group
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "

aya 9

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
aya
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A.show(results, condensed=True)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Meaningful queries\n", "\n", "Let's turn to a bit more meaningful query:\n", "\n", "all ayas with a verb immediately followed by the word for Allah." ] }, { "cell_type": "code", "execution_count": 10, "metadata": { "ExecuteTime": { "end_time": "2018-04-25T13:58:11.225978Z", "start_time": "2018-04-25T13:58:11.220671Z" } }, "outputs": [], "source": [ "query = \"\"\"\n", "aya\n", " word pos=verb\n", " <: word pos=noun posx=proper root=Alh\n", "\"\"\"" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "We run it with `A.search()`:" ] }, { "cell_type": "code", "execution_count": 11, "metadata": { "ExecuteTime": { "end_time": "2018-04-25T13:58:18.022692Z", "start_time": "2018-04-25T13:58:14.862389Z" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ " 0.22s 529 results\n" ] } ], "source": [ "results = A.search(query)" ] }, { "cell_type": "code", "execution_count": 12, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "
npayawordword
102:80وَقَالُوا۟ لَن تَمَسَّنَا ٱلنَّارُ إِلَّآ أَيَّامًا مَّعْدُودَةً قُلْ أَتَّخَذْتُمْ عِندَ ٱللَّهِ عَهْدًا فَلَن يُخْلِفَ ٱللَّهُ عَهْدَهُۥٓ أَمْ تَقُولُونَ عَلَى ٱللَّهِ مَا لَا تَعْلَمُونَيُخْلِفَ ٱللَّهُ
112:90بِئْسَمَا ٱشْتَرَوْا۟ بِهِۦٓ أَنفُسَهُمْ أَن يَكْفُرُوا۟ بِمَآ أَنزَلَ ٱللَّهُ بَغْيًا أَن يُنَزِّلَ ٱللَّهُ مِن فَضْلِهِۦ عَلَىٰ مَن يَشَآءُ مِنْ عِبَادِهِۦ فَبَآءُو بِغَضَبٍ عَلَىٰ غَضَبٍ وَلِلْكَٰفِرِينَ عَذَابٌ مُّهِينٌأَنزَلَ ٱللَّهُ
122:90بِئْسَمَا ٱشْتَرَوْا۟ بِهِۦٓ أَنفُسَهُمْ أَن يَكْفُرُوا۟ بِمَآ أَنزَلَ ٱللَّهُ بَغْيًا أَن يُنَزِّلَ ٱللَّهُ مِن فَضْلِهِۦ عَلَىٰ مَن يَشَآءُ مِنْ عِبَادِهِۦ فَبَآءُو بِغَضَبٍ عَلَىٰ غَضَبٍ وَلِلْكَٰفِرِينَ عَذَابٌ مُّهِينٌيُنَزِّلَ ٱللَّهُ
132:91وَإِذَا قِيلَ لَهُمْ ءَامِنُوا۟ بِمَآ أَنزَلَ ٱللَّهُ قَالُوا۟ نُؤْمِنُ بِمَآ أُنزِلَ عَلَيْنَا وَيَكْفُرُونَ بِمَا وَرَآءَهُۥ وَهُوَ ٱلْحَقُّ مُصَدِّقًا لِّمَا مَعَهُمْ قُلْ فَلِمَ تَقْتُلُونَ أَنۢبِيَآءَ ٱللَّهِ مِن قَبْلُ إِن كُنتُم مُّؤْمِنِينَأَنزَلَ ٱللَّهُ
142:109وَدَّ كَثِيرٌ مِّنْ أَهْلِ ٱلْكِتَٰبِ لَوْ يَرُدُّونَكُم مِّنۢ بَعْدِ إِيمَٰنِكُمْ كُفَّارًا حَسَدًا مِّنْ عِندِ أَنفُسِهِم مِّنۢ بَعْدِ مَا تَبَيَّنَ لَهُمُ ٱلْحَقُّ فَٱعْفُوا۟ وَٱصْفَحُوا۟ حَتَّىٰ يَأْتِىَ ٱللَّهُ بِأَمْرِهِۦٓ إِنَّ ٱللَّهَ عَلَىٰ كُلِّ شَىْءٍ قَدِيرٌيَأْتِىَ ٱللَّهُ
152:116وَقَالُوا۟ ٱتَّخَذَ ٱللَّهُ وَلَدًا سُبْحَٰنَهُۥ بَل لَّهُۥ مَا فِى ٱلسَّمَٰوَٰتِ وَٱلْأَرْضِ كُلٌّ لَّهُۥ قَٰنِتُونَٱتَّخَذَ ٱللَّهُ
162:143وَكَذَٰلِكَ جَعَلْنَٰكُمْ أُمَّةً وَسَطًا لِّتَكُونُوا۟ شُهَدَآءَ عَلَى ٱلنَّاسِ وَيَكُونَ ٱلرَّسُولُ عَلَيْكُمْ شَهِيدًا وَمَا جَعَلْنَا ٱلْقِبْلَةَ ٱلَّتِى كُنتَ عَلَيْهَآ إِلَّا لِنَعْلَمَ مَن يَتَّبِعُ ٱلرَّسُولَ مِمَّن يَنقَلِبُ عَلَىٰ عَقِبَيْهِ وَإِن كَانَتْ لَكَبِيرَةً إِلَّا عَلَى ٱلَّذِينَ هَدَى ٱللَّهُ وَمَا كَانَ ٱللَّهُ لِيُضِيعَ إِيمَٰنَكُمْ إِنَّ ٱللَّهَ بِٱلنَّاسِ لَرَءُوفٌ رَّحِيمٌهَدَى ٱللَّهُ
172:143وَكَذَٰلِكَ جَعَلْنَٰكُمْ أُمَّةً وَسَطًا لِّتَكُونُوا۟ شُهَدَآءَ عَلَى ٱلنَّاسِ وَيَكُونَ ٱلرَّسُولُ عَلَيْكُمْ شَهِيدًا وَمَا جَعَلْنَا ٱلْقِبْلَةَ ٱلَّتِى كُنتَ عَلَيْهَآ إِلَّا لِنَعْلَمَ مَن يَتَّبِعُ ٱلرَّسُولَ مِمَّن يَنقَلِبُ عَلَىٰ عَقِبَيْهِ وَإِن كَانَتْ لَكَبِيرَةً إِلَّا عَلَى ٱلَّذِينَ هَدَى ٱللَّهُ وَمَا كَانَ ٱللَّهُ لِيُضِيعَ إِيمَٰنَكُمْ إِنَّ ٱللَّهَ بِٱلنَّاسِ لَرَءُوفٌ رَّحِيمٌكَانَ ٱللَّهُ
182:164إِنَّ فِى خَلْقِ ٱلسَّمَٰوَٰتِ وَٱلْأَرْضِ وَٱخْتِلَٰفِ ٱلَّيْلِ وَٱلنَّهَارِ وَٱلْفُلْكِ ٱلَّتِى تَجْرِى فِى ٱلْبَحْرِ بِمَا يَنفَعُ ٱلنَّاسَ وَمَآ أَنزَلَ ٱللَّهُ مِنَ ٱلسَّمَآءِ مِن مَّآءٍ فَأَحْيَا بِهِ ٱلْأَرْضَ بَعْدَ مَوْتِهَا وَبَثَّ فِيهَا مِن كُلِّ دَآبَّةٍ وَتَصْرِيفِ ٱلرِّيَٰحِ وَٱلسَّحَابِ ٱلْمُسَخَّرِ بَيْنَ ٱلسَّمَآءِ وَٱلْأَرْضِ لَءَايَٰتٍ لِّقَوْمٍ يَعْقِلُونَأَنزَلَ ٱللَّهُ
192:170وَإِذَا قِيلَ لَهُمُ ٱتَّبِعُوا۟ مَآ أَنزَلَ ٱللَّهُ قَالُوا۟ بَلْ نَتَّبِعُ مَآ أَلْفَيْنَا عَلَيْهِ ءَابَآءَنَآ أَوَلَوْ كَانَ ءَابَآؤُهُمْ لَا يَعْقِلُونَ شَيْـًٔا وَلَا يَهْتَدُونَأَنزَلَ ٱللَّهُ
202:174إِنَّ ٱلَّذِينَ يَكْتُمُونَ مَآ أَنزَلَ ٱللَّهُ مِنَ ٱلْكِتَٰبِ وَيَشْتَرُونَ بِهِۦ ثَمَنًا قَلِيلًا أُو۟لَٰٓئِكَ مَا يَأْكُلُونَ فِى بُطُونِهِمْ إِلَّا ٱلنَّارَ وَلَا يُكَلِّمُهُمُ ٱللَّهُ يَوْمَ ٱلْقِيَٰمَةِ وَلَا يُزَكِّيهِمْ وَلَهُمْ عَذَابٌ أَلِيمٌأَنزَلَ ٱللَّهُ
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A.table(results, start=10, end=20)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Here it comes: the `A.show()` function asks you for some limits (it will not show more than 100 at a time), and then it displays them.\n", "\n", "It lists the results as follows:\n", "\n", "* a heading showing which result in the sequence of all results this is\n", "* an overview of the nodes in the tuple of this result\n", "* a display of all verses that have result material, with the places highlighted that\n", " correspond to a node in the result tuple" ] }, { "cell_type": "code", "execution_count": 13, "metadata": { "ExecuteTime": { "end_time": "2018-04-25T13:58:23.002898Z", "start_time": "2018-04-25T13:58:21.622054Z" } }, "outputs": [ { "data": { "text/html": [ "

result 10

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
aya:128306
group:135738
2219 وَ
2221 وا۟
group:135739
2222 لَن
group:135740
2224 نَا
group:135741
2225 ٱل
group:135742
group:135743
group:135744
group:135745
group:135746
2231 أَ
2233 تُمْ
group:135747
group:135748
group:135749
group:135750
2237 فَ
2238 لَن
group:135751
group:135752
group:135753
2242 هُۥٓ
group:135754
group:135755
2245 ونَ
group:135756
group:135757
group:135758
2248 مَا
group:135759
2249 لَا
group:135760
2251 ونَ
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "

result 11

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
aya:128316
group:135954
group:135955
2598 وْا۟
group:135956
2599 بِ
2600 هِۦٓ
group:135957
2602 هُمْ
group:135958
2603 أَن
group:135959
2605 وا۟
group:135960
2606 بِ
2607 مَآ
group:135961
group:135962
group:135963
group:135964
2611 أَن
group:135965
group:135966
group:135967
2614 مِن
group:135968
2616 هِۦ
group:135969
group:135970
2618 مَن
group:135971
group:135972
group:135973
2622 هِۦ
group:135974
2623 فَ
2625 و
group:135975
2626 بِ
group:135976
group:135977
group:135978
2630 وَ
2631 لِ
2632 لْ
group:135979
group:135980
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "

result 12

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
aya:128316
group:135954
group:135955
2598 وْا۟
group:135956
2599 بِ
2600 هِۦٓ
group:135957
2602 هُمْ
group:135958
2603 أَن
group:135959
2605 وا۟
group:135960
2606 بِ
2607 مَآ
group:135961
group:135962
group:135963
group:135964
2611 أَن
group:135965
group:135966
group:135967
2614 مِن
group:135968
2616 هِۦ
group:135969
group:135970
2618 مَن
group:135971
group:135972
group:135973
2622 هِۦ
group:135974
2623 فَ
2625 و
group:135975
2626 بِ
group:135976
group:135977
group:135978
2630 وَ
2631 لِ
2632 لْ
group:135979
group:135980
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "

result 13

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
aya:128317
group:135981
2636 وَ
group:135982
group:135983
2639 لَ
2640 هُمْ
group:135984
2642 وا۟
group:135985
2643 بِ
2644 مَآ
group:135986
group:135987
group:135988
2648 وا۟
group:135989
group:135990
2650 بِ
2651 مَآ
group:135991
group:135992
2654 نَا
group:135993
2655 وَ
2657 ونَ
group:135994
2658 بِ
2659 مَا
group:135995
2661 هُۥ
group:135996
2662 وَ
2663 هُوَ
group:135997
2664 ٱلْ
group:135998
group:135999
2667 لِّ
2668 مَا
group:136000
2670 هُمْ
group:136001
group:136002
2672 فَ
2673 لِ
2674 مَ
group:136003
2676 ونَ
group:136004
group:136005
group:136006
2679 مِن
group:136007
group:136008
2681 إِن
group:136009
2682 كُن
2683 تُم
group:136010
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "

result 14

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
aya:128335
group:136349
group:136350
group:136351
group:136352
group:136353
3245 ٱلْ
group:136354
group:136355
3249 ونَ
3250 كُم
group:136356
group:136357
group:136358
3254 كُمْ
group:136359
group:136360
group:136361
group:136362
group:136363
3260 هِم
group:136364
group:136365
group:136366
3263 مَا
group:136367
group:136368
3265 لَ
3266 هُمُ
group:136369
3267 ٱلْ
group:136370
3269 فَ
3271 وا۟
group:136371
3272 وَ
3274 وا۟
group:136372
group:136373
group:136374
group:136375
3278 بِ
3280 هِۦٓ
group:136376
group:136377
group:136378
group:136379
group:136380
group:136381
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A.show(results, start=10, end=14, withNodes=True)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "We can also package the results tuples in other things than ayas, e.g. pages:" ] }, { "cell_type": "code", "execution_count": 14, "metadata": { "ExecuteTime": { "end_time": "2018-04-25T13:58:23.002898Z", "start_time": "2018-04-25T13:58:21.622054Z" } }, "outputs": [ { "data": { "text/html": [ "

page 12

" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
page:217019
aya:128396
group:137497
5156 وَ
group:137498
group:137499
5159 لَ
5160 هُمُ
group:137500
5162 وا۟
group:137501
5163 مَآ
group:137502
group:137503
group:137504
5167 وا۟
group:137505
group:137506
group:137507
5170 مَآ
group:137508
5172 نَا
group:137509
5174 هِ
group:137510
5176 نَآ
group:137511
5177 أَ
5178 وَ
group:137512
group:137513
5182 هُمْ
group:137514
5183 لَا
group:137515
5185 ونَ
group:137516
group:137517
5187 وَ
5188 لَا
group:137518
5190 ونَ
aya:128397
group:137519
5191 وَ
group:137520
group:137521
5195 وا۟
group:137522
5196 كَ
group:137523
group:137524
group:137525
5200 بِ
5201 مَا
group:137526
5202 لَا
group:137527
group:137528
group:137529
group:137530
5206 وَ
group:137531
group:137532
group:137533
group:137534
5211 فَ
5212 هُمْ
group:137535
5213 لَا
group:137536
5215 ونَ
aya:128398
group:137537
5216 يَٰٓ
group:137538
group:137539
5220 وا۟
group:137540
5222 وا۟
group:137541
5223 مِن
group:137542
group:137543
5225 مَا
group:137544
5227 نَٰ
5228 كُمْ
group:137545
5229 وَ
5231 وا۟
group:137546
5232 لِ
group:137547
5234 إِن
group:137548
5235 كُن
5236 تُمْ
group:137549
group:137550
5239 ونَ
aya:128399
group:137551
group:137552
group:137553
5244 كُمُ
group:137554
5245 ٱلْ
group:137555
5247 وَ
5248 ٱل
group:137556
5250 وَ
group:137557
5252 ٱلْ
group:137558
5254 وَ
5255 مَآ
group:137559
group:137560
5257 بِ
5258 هِۦ
group:137561
5259 لِ
group:137562
group:137563
5262 فَ
group:137564
group:137565
group:137566
group:137567
5267 وَ
5268 لَا
group:137568
group:137569
5270 فَ
5271 لَآ
group:137570
group:137571
5274 هِ
group:137572
group:137573
group:137574
group:137575
aya:128400
group:137576
group:137577
group:137578
5282 ونَ
group:137579
5283 مَآ
group:137580
group:137581
group:137582
group:137583
5287 ٱلْ
group:137584
5289 وَ
5291 ونَ
group:137585
5292 بِ
5293 هِۦ
group:137586
group:137587
group:137588
group:137589
5297 مَا
group:137590
5299 ونَ
group:137591
5300 فِى
group:137592
5302 هِمْ
group:137593
group:137594
5304 ٱل
group:137595
5306 وَ
5307 لَا
group:137596
5309 هُمُ
group:137597
group:137598
group:137599
5312 ٱلْ
group:137600
5314 وَ
5315 لَا
group:137601
5317 هِمْ
group:137602
5318 وَ
5319 لَ
5320 هُمْ
group:137603
group:137604
aya:128401
group:137605
group:137606
group:137607
5326 وُا۟
group:137608
5327 ٱل
group:137609
5329 بِ
5330 ٱلْ
group:137610
5332 وَ
5333 ٱلْ
group:137611
5335 بِ
5336 ٱلْ
group:137612
5338 فَ
5339 مَآ
group:137613
5341 هُمْ
group:137614
group:137615
5343 ٱل
aya:128402
group:137616
group:137617
5346 بِ
group:137618
group:137619
group:137620
5350 ٱلْ
group:137621
5352 بِ
5353 ٱلْ
group:137622
5355 وَ
group:137623
group:137624
5359 وا۟
group:137625
5360 فِى
group:137626
5361 ٱلْ
group:137627
5363 لَ
5364 فِى
group:137628
group:137629
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A.show(results, start=12, end=12, withNodes=True, condensed=True, condenseType=\"page\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "---\n", "\n", "All chapters:\n", "\n", "* **[start](start.ipynb)** introduction to computing with your corpus\n", "* **[display](display.ipynb)** become an expert in creating pretty displays of your text structures\n", "* **search** turbo charge your hand-coding with search templates\n", "* **[exportExcel](exportExcel.ipynb)** make tailor-made spreadsheets out of your results\n", "* **[share](share.ipynb)** draw in other people's data and let them use yours\n", "* **[similarAyas](similarAyas.ipynb)** spot the similarities between lines\n", "* **[rings](rings.ipynb)** ring structures in sura 2\n", "\n", "CC-BY Dirk Roorda" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.2" }, "widgets": { "application/vnd.jupyter.widget-state+json": { "state": {}, "version_major": 2, "version_minor": 0 } } }, "nbformat": 4, "nbformat_minor": 4 }