"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1 book Consider Phlebas, chapter 1, sentence 1, line 1Everything about us, book Consider Phlebas, chapter 1, sentence 1, line 2everything around us, book Consider Phlebas, chapter 1, sentence 1, line 3everything we know and can know of book Consider Phlebas, chapter 1, sentence 1, line 3is composed ultimately of patterns of nothing; book Consider Phlebas, chapter 1, sentence 1, line 4that’s the bottom line, the final truth.
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1
sentence
line book Consider Phlebas, chapter 1, sentence 1, line 1
line book Consider Phlebas, chapter 1, sentence 1, line 2
line book Consider Phlebas, chapter 1, sentence 1, line 3
line book Consider Phlebas, chapter 1, sentence 1, line 3
line book Consider Phlebas, chapter 1, sentence 1, line 4
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"### line 103\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1 book Consider Phlebas, chapter 1, sentence 1, line 1Everything about us,
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1
line book Consider Phlebas, chapter 1, sentence 1, line 1
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"### word 1\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1 Everything
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"typeShow(A)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Banks (outdated app)"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"App `banksOld` requires API version 2 but Text-Fabric provides 3.\n",
"Your copy of the TF app `banksOld` is outdated for this version of TF.\n",
"Recommendation: obtain a newer version of `banksOld`.\n",
"Hint: load the app in one of the following ways:\n",
"\n",
" banksOld\n",
" banksOld:latest\n",
" banksOld:hot\n",
"\n",
" For example:\n",
"\n",
" The Text-Fabric browser:\n",
"\n",
" text-fabric banksOld:latest\n",
"\n",
" In a program/notebook:\n",
"\n",
" A = use('banksOld:latest', hoist=globals())\n",
"\n"
]
}
],
"source": [
"A = use('./banksOld', checkout=\"clone\", hoist=globals())"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Banks (unofficial app)"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"data: ~/github/annotation/banks/tf/0.2"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Text-Fabric: Text-Fabric API 8.3.0, app-banks, Search Reference
Data: BANKS, Character table, Feature docs
Features:
Two quotes from Consider Phlebas by Iain M. Banks
author
gap
letters
number
otype
punc
terminator
title
oslots
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
""
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"A = use('./banks', checkout=\"clone\", hoist=globals())"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [
{
"data": {
"text/markdown": [
"### book 100\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"### chapter 101\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1
chapter Consider Phlebas 1
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"### sentence 115\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1 Everything about us, everything around us, everything we know and can know of is composed ultimately of patterns of nothing; that’s the bottom line, the final truth.
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"### line 103\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1 book Consider Phlebas, chapter 1, sentence 1, line 1Everything about us,
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"### word 1\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1 Everything
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"typeShow(A)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Banks (as app)"
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"TF-app: ~/github/annotation/app-banks/code"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"data: ~/github/annotation/banks/tf/0.2"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Text-Fabric: Text-Fabric API 8.3.0, app-banks, Search Reference
Data: BANKS, Character table, Feature docs
Features:
Two quotes from Consider Phlebas by Iain M. Banks
author
gap
letters
number
otype
punc
terminator
title
oslots
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
""
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"A = use('banks:clone', checkout=\"clone\", hoist=globals())"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" 0.97s [100, 101, 115, 103, 1, 2, 3, 104, 4, 5, 6, 105, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 106, 21, 22, 23, 24, 25, 26, 27, 116, 107, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 108, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 109, 52, 53, 54, 55, 102, 117, 110, 56, 111, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 112, 76, 77, 78, 79, 80, 81, 82, 83, 113, 84, 85, 86, 87, 88, 114, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99]\n"
]
}
],
"source": [
"TF.info(N.sortNodes(range(1,118)))"
]
},
{
"cell_type": "code",
"execution_count": 19,
"metadata": {},
"outputs": [
{
"data": {
"text/markdown": [
"### book 100\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"### chapter 101\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1
chapter Consider Phlebas 1
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"### sentence 115\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1 Everything about us, everything around us, everything we know and can know of is composed ultimately of patterns of nothing; that’s the bottom line, the final truth.
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"### line 103\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1 Everything about us,
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"### word 1\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1 Everything
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"typeShow(A)"
]
},
{
"cell_type": "code",
"execution_count": 20,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"Consider Phlebas 1:1 Everything about us, everything around us, everything we know and can know of is composed ultimately of patterns of nothing; that’s the bottom line, the final truth.
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"A.plain(115, highlights={3})"
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"Consider Phlebas 1:1 Everything about us, everything around us, everything we know and can know of is composed ultimately of patterns of nothing; that’s the bottom line, the final truth.
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"A.plain(115, plainGaps=False)"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"Consider Phlebas 1:1
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"A.pretty(115, withNodes=True)"
]
},
{
"cell_type": "code",
"execution_count": 23,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"<0> TOP\n",
" <1> line 103 {1-3} \n",
" <2> word 1 {1} \n",
" <2> word 2 {2} \n",
" <2> word 3 {3} \n"
]
},
{
"data": {
"text/html": [
"Consider Phlebas 1:1 1031Everything 2about 3us,
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"A.plain(103, standardFeatures=False, withTypes=False, withNodes=True, highlights={1, 2, 3}, explain=True)"
]
},
{
"cell_type": "code",
"execution_count": 24,
"metadata": {},
"outputs": [
{
"data": {
"text/markdown": [
"banks app context
\n",
"\n",
"1. afterChild
\n",
"\n",
"{}\n",
"\n",
" \n",
"2. allowedValues
\n",
"\n",
"\n",
"* **`baseTypes`**: \n",
" * `line`\n",
" * `word`\n",
"* **`condenseType`**: \n",
" * `book`\n",
" * `chapter`\n",
" * `sentence`\n",
" * `line`\n",
"* **`hiddenTypes`**: \n",
" * `line`\n",
"* **`textFormat`**: \n",
" * **`layout-orig-full`**: `word`\n",
" * **`line-default`**: `word`\n",
" * **`line-term`**: `line`\n",
" * **`text-orig-full`**: `word`\n",
"\n",
" \n",
"3. apiVersion
\n",
"\n",
"None\n",
"\n",
" \n",
"4. appName
\n",
"\n",
"`banks`\n",
"\n",
" \n",
"5. appPath
\n",
"\n",
"`~/github/annotation/app-banks/code`\n",
"\n",
" \n",
"6. baseTypes
\n",
"\n",
"\n",
"1. `word`\n",
"\n",
" \n",
"7. bigTypes
\n",
"\n",
"set()\n",
"\n",
" \n",
"8. browseContentPretty
\n",
"\n",
"False\n",
"\n",
" \n",
"9. browseNavLevel
\n",
"\n",
"`2`\n",
"\n",
" \n",
"10. charText
\n",
"\n",
"`How TF features represent text`\n",
"\n",
" \n",
"11. charUrl
\n",
"\n",
"`https://annotation.github.io/text-fabric/writing/.html`\n",
"\n",
" \n",
"12. childType
\n",
"\n",
"\n",
"* **`book`**: \n",
" * `chapter`\n",
"* **`chapter`**: \n",
" * `sentence`\n",
"* **`line`**: \n",
" * `word`\n",
"* **`sentence`**: \n",
" * `line`\n",
" * `word`\n",
"\n",
" \n",
"13. commit
\n",
"\n",
"None\n",
"\n",
" \n",
"14. condenseType
\n",
"\n",
"`sentence`\n",
"\n",
" \n",
"15. corpus
\n",
"\n",
"`Two quotes from Consider Phlebas by Iain M. Banks`\n",
"\n",
" \n",
"16. css
\n",
"\n",
"*empty*\n",
"\n",
" \n",
"17. dataDisplay
\n",
"\n",
"\n",
"* **`textFormats`**: \n",
" * **`layout-orig-full`**: \n",
" * **`method`**: `layoutRich`\n",
" * **`style`**: `normal`\n",
"\n",
" \n",
"18. defaultClsOrig
\n",
"\n",
"`txtu`\n",
"\n",
" \n",
"19. descendantType
\n",
"\n",
"\n",
"* **`book`**: \n",
" * `book`\n",
" * `chapter`\n",
" * `line`\n",
" * `sentence`\n",
" * `word`\n",
"* **`chapter`**: \n",
" * `chapter`\n",
" * `line`\n",
" * `sentence`\n",
" * `word`\n",
"* **`line`**: \n",
" * `line`\n",
" * `word`\n",
"* **`sentence`**: \n",
" * `line`\n",
" * `sentence`\n",
" * `word`\n",
"\n",
" \n",
"20. direction
\n",
"\n",
"`ltr`\n",
"\n",
" \n",
"21. docBase
\n",
"\n",
"`https://nbviewer.jupyter.org/github/annotation/banks/blob/master/programs`\n",
"\n",
" \n",
"22. docExt
\n",
"\n",
"`.ipynb`\n",
"\n",
" \n",
"23. docPage
\n",
"\n",
"`convert`\n",
"\n",
" \n",
"24. docRoot
\n",
"\n",
"`https://nbviewer.jupyter.org/github`\n",
"\n",
" \n",
"25. docUrl
\n",
"\n",
"`https://nbviewer.jupyter.org/github/annotation/banks/blob/master/programs/convert.ipynb`\n",
"\n",
" \n",
"26. docs
\n",
"\n",
"\n",
"* **`charText`**: `How TF features represent text`\n",
"* **`charUrl`**: `https://annotation.github.io/text-fabric/writing/.html`\n",
"* **`docBase`**: `https://nbviewer.jupyter.org/github/annotation/banks/blob/master/programs`\n",
"* **`docExt`**: `.ipynb`\n",
"* **`docPage`**: `convert`\n",
"* **`docRoot`**: `https://nbviewer.jupyter.org/github`\n",
"* **`docUrl`**: `https://nbviewer.jupyter.org/github/annotation/banks/blob/master/programs/convert.ipynb`\n",
"* **`featureBase`**: `https://nbviewer.jupyter.org/github/annotation/banks/blob/master/programs`\n",
"* **`featurePage`**: `convert`\n",
"\n",
" \n",
"27. doi
\n",
"\n",
"`10.5281/zenodo.2630416`\n",
"\n",
" \n",
"28. exampleSection
\n",
"\n",
"`Consider Phlebas 1:1`\n",
"\n",
" \n",
"29. exampleSectionHtml
\n",
"\n",
"`Consider Phlebas 1:1
`\n",
"\n",
" \n",
"30. excludedFeatures
\n",
"\n",
"set()\n",
"\n",
" \n",
"31. exclusions
\n",
"\n",
"{}\n",
"\n",
" \n",
"32. extension
\n",
"\n",
"*empty*\n",
"\n",
" \n",
"33. featureBase
\n",
"\n",
"`https://nbviewer.jupyter.org/github/annotation/banks/blob/master/programs`\n",
"\n",
" \n",
"34. featurePage
\n",
"\n",
"`convert`\n",
"\n",
" \n",
"35. features
\n",
"\n",
"\n",
"* **`book`**: \n",
" * []\n",
" * {}\n",
"* **`line`**: \n",
" * \n",
" * `terminator`\n",
" * {}\n",
"* **`word`**: \n",
" * \n",
" * `gap`\n",
" * {}\n",
"\n",
" \n",
"36. featuresBare
\n",
"\n",
"\n",
"* **`book`**: \n",
" * \n",
" * `author`\n",
" * {}\n",
"* **`line`**: \n",
" * []\n",
" * {}\n",
"* **`word`**: \n",
" * []\n",
" * {}\n",
"\n",
" \n",
"37. formatCls
\n",
"\n",
"\n",
"* **`layout-orig-full`**: `txtn`\n",
"* **`line-default`**: `txtn`\n",
"* **`line-term`**: `txtn`\n",
"* **`text-orig-full`**: `txtu`\n",
"\n",
" \n",
"38. formatHtml
\n",
"\n",
"\n",
"1. `layout-orig-full`\n",
"\n",
" \n",
"39. formatMethod
\n",
"\n",
"\n",
"* **`layout-orig-full`**: `layoutRich`\n",
"\n",
" \n",
"40. formatStyle
\n",
"\n",
"\n",
"* **`normal`**: `txtn`\n",
"* **`orig`**: `txtu`\n",
"* **`phono`**: `txtp`\n",
"* **`source`**: `txto`\n",
"* **`trans`**: `txtt`\n",
"\n",
" \n",
"41. graphicsRelative
\n",
"\n",
"None\n",
"\n",
" \n",
"42. hasGraphics
\n",
"\n",
"set()\n",
"\n",
" \n",
"43. hiddenTypes
\n",
"\n",
"set()\n",
"\n",
" \n",
"44. interfaceDefaults
\n",
"\n",
"\n",
"* **`condensed`**: False\n",
"* **`hideTypes`**: `True`\n",
"* **`lineNumbers`**: None\n",
"* **`plainGaps`**: `True`\n",
"* **`prettyTypes`**: `True`\n",
"* **`queryFeatures`**: `True`\n",
"* **`showGraphics`**: None\n",
"* **`standardFeatures`**: False\n",
"* **`withNodes`**: False\n",
"* **`withTypes`**: False\n",
"\n",
" \n",
"45. isCompatible
\n",
"\n",
"`True`\n",
"\n",
" \n",
"46. labels
\n",
"\n",
"\n",
"* **`book`**: \n",
" * `True`\n",
" * ()\n",
"* **`chapter`**: \n",
" * `True`\n",
" * ()\n",
"* **`line`**: \n",
" * `{number}`\n",
" * \n",
" * `number`\n",
"* **`sentence`**: \n",
" * *empty*\n",
" * ()\n",
"* **`word`**: \n",
" * `True`\n",
" * ()\n",
"\n",
" \n",
"47. language
\n",
"\n",
"*empty*\n",
"\n",
" \n",
"48. levelCls
\n",
"\n",
"\n",
"* **`book`**: \n",
" * **`children`**: `children hor wrap`\n",
" * **`container`**: `contnr c4`\n",
" * **`label`**: `lbl c4`\n",
"* **`chapter`**: \n",
" * **`children`**: `children hor wrap`\n",
" * **`container`**: `contnr c4`\n",
" * **`label`**: `lbl c4`\n",
"* **`line`**: \n",
" * **`children`**: `children hor wrap`\n",
" * **`container`**: `contnr c3`\n",
" * **`label`**: `lbl c3`\n",
"* **`sentence`**: \n",
" * **`children`**: `children hor wrap`\n",
" * **`container`**: `contnr c3`\n",
" * **`label`**: `lbl c3`\n",
"* **`word`**: \n",
" * **`children`**: *empty*\n",
" * **`container`**: `contnr c0`\n",
" * **`label`**: `lbl c0`\n",
"\n",
" \n",
"49. levels
\n",
"\n",
"\n",
"* **`book`**: \n",
" * **`flow`**: `hor`\n",
" * **`level`**: `4`\n",
" * **`stretch`**: `True`\n",
" * **`wrap`**: `True`\n",
"* **`chapter`**: \n",
" * **`flow`**: `hor`\n",
" * **`level`**: `4`\n",
" * **`stretch`**: `True`\n",
" * **`wrap`**: `True`\n",
"* **`line`**: \n",
" * **`flow`**: `hor`\n",
" * **`level`**: `3`\n",
" * **`stretch`**: `True`\n",
" * **`wrap`**: `True`\n",
"* **`sentence`**: \n",
" * **`flow`**: `hor`\n",
" * **`level`**: `3`\n",
" * **`stretch`**: `True`\n",
" * **`wrap`**: `True`\n",
"* **`word`**: \n",
" * **`flow`**: `ver`\n",
" * **`level`**: 0\n",
" * **`stretch`**: False\n",
" * **`wrap`**: False\n",
"\n",
" \n",
"50. lexMap
\n",
"\n",
"{}\n",
"\n",
" \n",
"51. lexTypes
\n",
"\n",
"set()\n",
"\n",
" \n",
"52. lineNumberFeature
\n",
"\n",
"{}\n",
"\n",
" \n",
"53. local
\n",
"\n",
"`clone`\n",
"\n",
" \n",
"54. localDir
\n",
"\n",
"`~/github/annotation/banks/_temp`\n",
"\n",
" \n",
"55. moduleSpecs
\n",
"\n",
"()\n",
"\n",
" \n",
"56. noDescendTypes
\n",
"\n",
"set()\n",
"\n",
" \n",
"57. noneValues
\n",
"\n",
"\n",
"1. None\n",
"\n",
" \n",
"58. org
\n",
"\n",
"`annotation`\n",
"\n",
" \n",
"59. plainCustom
\n",
"\n",
"{}\n",
"\n",
" \n",
"60. prettyCustom
\n",
"\n",
"{}\n",
"\n",
" \n",
"61. provenanceSpec
\n",
"\n",
"\n",
"* **`corpus`**: `Two quotes from Consider Phlebas by Iain M. Banks`\n",
"* **`doi`**: `10.5281/zenodo.2630416`\n",
"* **`graphicsRelative`**: None\n",
"* **`moduleSpecs`**: ()\n",
"* **`org`**: `annotation`\n",
"* **`relative`**: `tf`\n",
"* **`repo`**: `banks`\n",
"* **`version`**: `0.2`\n",
"* **`webBase`**: None\n",
"* **`webHint`**: None\n",
"* **`webLang`**: None\n",
"* **`webLexId`**: None\n",
"* **`webUrl`**: None\n",
"* **`webUrlLex`**: None\n",
"* **`zip`**: None\n",
"\n",
" \n",
"62. relative
\n",
"\n",
"`tf`\n",
"\n",
" \n",
"63. release
\n",
"\n",
"None\n",
"\n",
" \n",
"64. repo
\n",
"\n",
"`banks`\n",
"\n",
" \n",
"65. sectionSep1
\n",
"\n",
"` `\n",
"\n",
" \n",
"66. sectionSep2
\n",
"\n",
"`:`\n",
"\n",
" \n",
"67. showVerseInTuple
\n",
"\n",
"False\n",
"\n",
" \n",
"68. styles
\n",
"\n",
"{}\n",
"\n",
" \n",
"69. templates
\n",
"\n",
"\n",
"* **`book`**: \n",
" * `True`\n",
" * ()\n",
"* **`chapter`**: \n",
" * `True`\n",
" * ()\n",
"* **`line`**: \n",
" * `{number}`\n",
" * \n",
" * `number`\n",
"* **`sentence`**: \n",
" * *empty*\n",
" * ()\n",
"* **`word`**: \n",
" * `True`\n",
" * ()\n",
"\n",
" \n",
"70. textFormat
\n",
"\n",
"`text-orig-full`\n",
"\n",
" \n",
"71. tfDoc
\n",
"\n",
"`https://annotation.github.io/text-fabric`\n",
"\n",
" \n",
"72. transform
\n",
"\n",
"{}\n",
"\n",
" \n",
"73. typeDisplay
\n",
"\n",
"\n",
"* **`book`**: \n",
" * **`featuresBare`**: `author`\n",
"* **`line`**: \n",
" * **`features`**: `terminator`\n",
" * **`label`**: `{number}`\n",
" * **`template`**: `{number}`\n",
" * **`verselike`**: `True`\n",
"* **`word`**: \n",
" * **`features`**: `gap`\n",
"\n",
" \n",
"74. urlGh
\n",
"\n",
"`https://github.com`\n",
"\n",
" \n",
"75. urlNb
\n",
"\n",
"`https://nbviewer.jupyter.org/github`\n",
"\n",
" \n",
"76. verseTypes
\n",
"\n",
"\n",
"1. `line`\n",
"2. `sentence`\n",
"\n",
" \n",
"77. version
\n",
"\n",
"`0.2`\n",
"\n",
" \n",
"78. webBase
\n",
"\n",
"None\n",
"\n",
" \n",
"79. webHint
\n",
"\n",
"None\n",
"\n",
" \n",
"80. webLang
\n",
"\n",
"None\n",
"\n",
" \n",
"81. webLexId
\n",
"\n",
"None\n",
"\n",
" \n",
"82. webUrl
\n",
"\n",
"None\n",
"\n",
" \n",
"83. webUrlLex
\n",
"\n",
"None\n",
"\n",
" \n",
"84. writing
\n",
"\n",
"*empty*\n",
"\n",
" \n",
"85. zip
\n",
"\n",
"\n",
"1. `banks`\n",
"\n",
" \n",
" \n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"A.showContext()"
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"outputs": [
{
"data": {
"text/markdown": [
"current display options
\n",
"\n",
"1. baseTypes
\n",
"\n",
"\n",
"1. `word`\n",
"\n",
" \n",
"2. colorMap
\n",
"\n",
"None\n",
"\n",
" \n",
"3. condenseType
\n",
"\n",
"`sentence`\n",
"\n",
" \n",
"4. condensed
\n",
"\n",
"False\n",
"\n",
" \n",
"5. end
\n",
"\n",
"None\n",
"\n",
" \n",
"6. extraFeatures
\n",
"\n",
"\n",
"1. ()\n",
"2. {}\n",
"\n",
" \n",
"7. fmt
\n",
"\n",
"None\n",
"\n",
" \n",
"8. full
\n",
"\n",
"False\n",
"\n",
" \n",
"9. hiddenTypes
\n",
"\n",
"set()\n",
"\n",
" \n",
"10. hideTypes
\n",
"\n",
"`True`\n",
"\n",
" \n",
"11. highlights
\n",
"\n",
"{}\n",
"\n",
" \n",
"12. lineNumbers
\n",
"\n",
"None\n",
"\n",
" \n",
"13. noneValues
\n",
"\n",
"\n",
"1. None\n",
"\n",
" \n",
"14. plainGaps
\n",
"\n",
"`True`\n",
"\n",
" \n",
"15. prettyTypes
\n",
"\n",
"`True`\n",
"\n",
" \n",
"16. queryFeatures
\n",
"\n",
"`True`\n",
"\n",
" \n",
"17. showGraphics
\n",
"\n",
"None\n",
"\n",
" \n",
"18. skipCols
\n",
"\n",
"set()\n",
"\n",
" \n",
"19. standardFeatures
\n",
"\n",
"False\n",
"\n",
" \n",
"20. start
\n",
"\n",
"None\n",
"\n",
" \n",
"21. suppress
\n",
"\n",
"set()\n",
"\n",
" \n",
"22. tupleFeatures
\n",
"\n",
"()\n",
"\n",
" \n",
"23. withNodes
\n",
"\n",
"False\n",
"\n",
" \n",
"24. withPassage
\n",
"\n",
"`True`\n",
"\n",
" \n",
"25. withTypes
\n",
"\n",
"False\n",
"\n",
" \n",
" \n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"A.displayShow()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"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.7.7"
}
},
"nbformat": 4,
"nbformat_minor": 4
}