Skip to content
This repository was archived by the owner on Mar 8, 2021. It is now read-only.

Commit aed87e4

Browse files
committed
add directory to story indexed pdfs
1 parent cad3b14 commit aed87e4

3 files changed

+21
-195
lines changed

Chapter 7 - Archiving and Searching.ipynb

+20-186
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"metadata": {
33
"name": "",
4-
"signature": "sha256:5b35c0e8179cd66f54db226c9f3d40046e5ccee01cabf5fd15244833d9fae2d7"
4+
"signature": "sha256:49458f20d29e98294fa4c67f076f5dce18895a225d73d2cb7cea0c447aa1f047"
55
},
66
"nbformat": 3,
77
"nbformat_minor": 0,
@@ -235,17 +235,7 @@
235235
],
236236
"language": "python",
237237
"metadata": {},
238-
"outputs": [
239-
{
240-
"output_type": "stream",
241-
"stream": "stdout",
242-
"text": [
243-
"True\n",
244-
"True\n"
245-
]
246-
}
247-
],
248-
"prompt_number": 1
238+
"outputs": []
249239
},
250240
{
251241
"cell_type": "markdown",
@@ -268,17 +258,7 @@
268258
],
269259
"language": "python",
270260
"metadata": {},
271-
"outputs": [
272-
{
273-
"output_type": "stream",
274-
"stream": "stdout",
275-
"text": [
276-
"True\n",
277-
"True\n"
278-
]
279-
}
280-
],
281-
"prompt_number": 29
261+
"outputs": []
282262
},
283263
{
284264
"cell_type": "markdown",
@@ -300,16 +280,7 @@
300280
],
301281
"language": "python",
302282
"metadata": {},
303-
"outputs": [
304-
{
305-
"output_type": "stream",
306-
"stream": "stdout",
307-
"text": [
308-
"True\n"
309-
]
310-
}
311-
],
312-
"prompt_number": 30
283+
"outputs": []
313284
},
314285
{
315286
"cell_type": "markdown",
@@ -465,17 +436,7 @@
465436
],
466437
"language": "python",
467438
"metadata": {},
468-
"outputs": [
469-
{
470-
"output_type": "stream",
471-
"stream": "stdout",
472-
"text": [
473-
"True\n",
474-
"True\n"
475-
]
476-
}
477-
],
478-
"prompt_number": 164
439+
"outputs": []
479440
},
480441
{
481442
"cell_type": "markdown",
@@ -506,16 +467,7 @@
506467
],
507468
"language": "python",
508469
"metadata": {},
509-
"outputs": [
510-
{
511-
"output_type": "stream",
512-
"stream": "stdout",
513-
"text": [
514-
"{'a', 'c'}\n"
515-
]
516-
}
517-
],
518-
"prompt_number": 45
470+
"outputs": []
519471
},
520472
{
521473
"cell_type": "markdown",
@@ -587,17 +539,7 @@
587539
],
588540
"language": "python",
589541
"metadata": {},
590-
"outputs": [
591-
{
592-
"output_type": "stream",
593-
"stream": "stdout",
594-
"text": [
595-
"True\n",
596-
"True\n"
597-
]
598-
}
599-
],
600-
"prompt_number": 165
542+
"outputs": []
601543
},
602544
{
603545
"cell_type": "markdown",
@@ -656,8 +598,7 @@
656598
],
657599
"language": "python",
658600
"metadata": {},
659-
"outputs": [],
660-
"prompt_number": 166
601+
"outputs": []
661602
},
662603
{
663604
"cell_type": "markdown",
@@ -675,8 +616,7 @@
675616
],
676617
"language": "python",
677618
"metadata": {},
678-
"outputs": [],
679-
"prompt_number": 167
619+
"outputs": []
680620
},
681621
{
682622
"cell_type": "markdown",
@@ -693,26 +633,7 @@
693633
],
694634
"language": "python",
695635
"metadata": {},
696-
"outputs": [
697-
{
698-
"metadata": {},
699-
"output_type": "pyout",
700-
"prompt_number": 168,
701-
"text": [
702-
"[('The Ancient Allan 5746.txt', 161),\n",
703-
" ('Red Eve 3094.txt', 125),\n",
704-
" ('Lysbeth, a Tale of the Dutch 5754.txt', 116),\n",
705-
" ('The Virgin of the Sun 3153.txt', 90),\n",
706-
" ('The Brethren 2762.txt', 65),\n",
707-
" ('Fair Margaret 9780.txt', 61),\n",
708-
" ('The Lady of Blossholme 3813.txt', 60),\n",
709-
" (\"Wisdom's Daughter (1923) 0200181.txt\", 58),\n",
710-
" ('Pearl-Maiden 5175.txt', 57),\n",
711-
" ('Finished 1724.txt', 37)]"
712-
]
713-
}
714-
],
715-
"prompt_number": 168
636+
"outputs": []
716637
},
717638
{
718639
"cell_type": "markdown",
@@ -792,17 +713,7 @@
792713
],
793714
"language": "python",
794715
"metadata": {},
795-
"outputs": [
796-
{
797-
"output_type": "stream",
798-
"stream": "stdout",
799-
"text": [
800-
"True\n",
801-
"True\n"
802-
]
803-
}
804-
],
805-
"prompt_number": 169
716+
"outputs": []
806717
},
807718
{
808719
"cell_type": "markdown",
@@ -931,16 +842,7 @@
931842
],
932843
"language": "python",
933844
"metadata": {},
934-
"outputs": [
935-
{
936-
"output_type": "stream",
937-
"stream": "stdout",
938-
"text": [
939-
"True\n"
940-
]
941-
}
942-
],
943-
"prompt_number": 170
845+
"outputs": []
944846
},
945847
{
946848
"cell_type": "markdown",
@@ -1005,16 +907,7 @@
1005907
],
1006908
"language": "python",
1007909
"metadata": {},
1008-
"outputs": [
1009-
{
1010-
"output_type": "stream",
1011-
"stream": "stdout",
1012-
"text": [
1013-
"True\n"
1014-
]
1015-
}
1016-
],
1017-
"prompt_number": 172
910+
"outputs": []
1018911
},
1019912
{
1020913
"cell_type": "markdown",
@@ -1109,19 +1002,7 @@
11091002
],
11101003
"language": "python",
11111004
"metadata": {},
1112-
"outputs": [
1113-
{
1114-
"ename": "ImportError",
1115-
"evalue": "No module named 'statistics'",
1116-
"output_type": "pyerr",
1117-
"traceback": [
1118-
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m\n\u001b[0;31mImportError\u001b[0m Traceback (most recent call last)",
1119-
"\u001b[0;32m<ipython-input-40-f92b26ac929d>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mglob\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mos\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 2\u001b[0;31m \u001b[0;32mfrom\u001b[0m \u001b[0mstatistics\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mmean\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 3\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0;32mclass\u001b[0m \u001b[0mIRSystem\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 5\u001b[0m \"\"\"A very simple Information Retrieval System. The constructor \n",
1120-
"\u001b[0;31mImportError\u001b[0m: No module named 'statistics'"
1121-
]
1122-
}
1123-
],
1124-
"prompt_number": 40
1005+
"outputs": []
11251006
},
11261007
{
11271008
"cell_type": "markdown",
@@ -1141,8 +1022,7 @@
11411022
],
11421023
"language": "python",
11431024
"metadata": {},
1144-
"outputs": [],
1145-
"prompt_number": 218
1025+
"outputs": []
11461026
},
11471027
{
11481028
"cell_type": "code",
@@ -1152,25 +1032,7 @@
11521032
],
11531033
"language": "python",
11541034
"metadata": {},
1155-
"outputs": [
1156-
{
1157-
"output_type": "stream",
1158-
"stream": "stdout",
1159-
"text": [
1160-
"460.36 | Regeneration 13434.txt\n",
1161-
"250.53 | The Ancient Allan 5746.txt\n",
1162-
"242.67 | Smith and the Pharaohs, and other Tales 6073.txt\n",
1163-
"223.03 | Ayesha, the Return of She 5228.txt\n",
1164-
"209.67 | A Winter Pilgrimage (1901) 0600121.txt\n",
1165-
"25.79 | Long Odds 1918.txt\n",
1166-
"22.96 | Marie An Episode in The Life of the late Allan Quatermain 1690.txt\n",
1167-
"22.93 | Stories by English Authors: Africa (Selected by Scribners) 1980.txt\n",
1168-
"22.82 | Eric Brighteyes 2721.txt\n",
1169-
"21.13 | Colonel Quaritch, V.C. A Tale of Country Life 11882.txt\n"
1170-
]
1171-
}
1172-
],
1173-
"prompt_number": 222
1035+
"outputs": []
11741036
},
11751037
{
11761038
"cell_type": "markdown",
@@ -1200,8 +1062,7 @@
12001062
],
12011063
"language": "python",
12021064
"metadata": {},
1203-
"outputs": [],
1204-
"prompt_number": 223
1065+
"outputs": []
12051066
},
12061067
{
12071068
"cell_type": "code",
@@ -1211,8 +1072,7 @@
12111072
],
12121073
"language": "python",
12131074
"metadata": {},
1214-
"outputs": [],
1215-
"prompt_number": 224
1075+
"outputs": []
12161076
},
12171077
{
12181078
"cell_type": "code",
@@ -1222,25 +1082,7 @@
12221082
],
12231083
"language": "python",
12241084
"metadata": {},
1225-
"outputs": [
1226-
{
1227-
"output_type": "stream",
1228-
"stream": "stdout",
1229-
"text": [
1230-
"444.83 | Regeneration 13434.txt\n",
1231-
"270.99 | The Ancient Allan 5746.txt\n",
1232-
"253.73 | Ayesha, the Return of She 5228.txt\n",
1233-
"242.67 | Smith and the Pharaohs, and other Tales 6073.txt\n",
1234-
"209.67 | A Winter Pilgrimage (1901) 0600121.txt\n",
1235-
"53.06 | The World's Desire 2763.txt\n",
1236-
"50.81 | Fair Margaret 9780.txt\n",
1237-
"50.70 | Queen of the Dawn (1925) 0200381.txt\n",
1238-
"46.82 | Morning Star 2722.txt\n",
1239-
"45.77 | A Yellow God: an Idol of Africa 2857.txt\n"
1240-
]
1241-
}
1242-
],
1243-
"prompt_number": 235
1085+
"outputs": []
12441086
},
12451087
{
12461088
"cell_type": "markdown",
@@ -1328,7 +1170,7 @@
13281170
"output_type": "pyout",
13291171
"prompt_number": 1,
13301172
"text": [
1331-
"<IPython.core.display.HTML at 0x105424c90>"
1173+
"<IPython.core.display.HTML at 0x105fc2550>"
13321174
]
13331175
}
13341176
],
@@ -1342,14 +1184,6 @@
13421184
"\n",
13431185
"Licensed under the [GNU Free Documentation License](http://www.gnu.org/copyleft/fdl.html)"
13441186
]
1345-
},
1346-
{
1347-
"cell_type": "code",
1348-
"collapsed": false,
1349-
"input": [],
1350-
"language": "python",
1351-
"metadata": {},
1352-
"outputs": []
13531187
}
13541188
],
13551189
"metadata": {}

Chapter 9 - Learning from Examples.ipynb

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"metadata": {
33
"name": "",
4-
"signature": "sha256:9c4f189328f7bcdfb6a6712ea0a60f3d59f38125773549703574e6ecc776eb9e"
4+
"signature": "sha256:8423692324c2606000b02d12633ea2fc3e619b5e6fd38a0536e238da8417802e"
55
},
66
"nbformat": 3,
77
"nbformat_minor": 0,
@@ -1731,14 +1731,6 @@
17311731
"\n",
17321732
"Licensed under the [GNU Free Documentation License](http://www.gnu.org/copyleft/fdl.html)"
17331733
]
1734-
},
1735-
{
1736-
"cell_type": "code",
1737-
"collapsed": false,
1738-
"input": [],
1739-
"language": "python",
1740-
"metadata": {},
1741-
"outputs": []
17421734
}
17431735
],
17441736
"metadata": {}

images/Arabian_nights_manuscript.jpg

56.1 KB
Loading

0 commit comments

Comments
 (0)