|
1 | 1 | {
|
2 | 2 | "metadata": {
|
3 | 3 | "name": "",
|
4 |
| - "signature": "sha256:5b35c0e8179cd66f54db226c9f3d40046e5ccee01cabf5fd15244833d9fae2d7" |
| 4 | + "signature": "sha256:49458f20d29e98294fa4c67f076f5dce18895a225d73d2cb7cea0c447aa1f047" |
5 | 5 | },
|
6 | 6 | "nbformat": 3,
|
7 | 7 | "nbformat_minor": 0,
|
|
235 | 235 | ],
|
236 | 236 | "language": "python",
|
237 | 237 | "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": [] |
249 | 239 | },
|
250 | 240 | {
|
251 | 241 | "cell_type": "markdown",
|
|
268 | 258 | ],
|
269 | 259 | "language": "python",
|
270 | 260 | "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": [] |
282 | 262 | },
|
283 | 263 | {
|
284 | 264 | "cell_type": "markdown",
|
|
300 | 280 | ],
|
301 | 281 | "language": "python",
|
302 | 282 | "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": [] |
313 | 284 | },
|
314 | 285 | {
|
315 | 286 | "cell_type": "markdown",
|
|
465 | 436 | ],
|
466 | 437 | "language": "python",
|
467 | 438 | "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": [] |
479 | 440 | },
|
480 | 441 | {
|
481 | 442 | "cell_type": "markdown",
|
|
506 | 467 | ],
|
507 | 468 | "language": "python",
|
508 | 469 | "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": [] |
519 | 471 | },
|
520 | 472 | {
|
521 | 473 | "cell_type": "markdown",
|
|
587 | 539 | ],
|
588 | 540 | "language": "python",
|
589 | 541 | "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": [] |
601 | 543 | },
|
602 | 544 | {
|
603 | 545 | "cell_type": "markdown",
|
|
656 | 598 | ],
|
657 | 599 | "language": "python",
|
658 | 600 | "metadata": {},
|
659 |
| - "outputs": [], |
660 |
| - "prompt_number": 166 |
| 601 | + "outputs": [] |
661 | 602 | },
|
662 | 603 | {
|
663 | 604 | "cell_type": "markdown",
|
|
675 | 616 | ],
|
676 | 617 | "language": "python",
|
677 | 618 | "metadata": {},
|
678 |
| - "outputs": [], |
679 |
| - "prompt_number": 167 |
| 619 | + "outputs": [] |
680 | 620 | },
|
681 | 621 | {
|
682 | 622 | "cell_type": "markdown",
|
|
693 | 633 | ],
|
694 | 634 | "language": "python",
|
695 | 635 | "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": [] |
716 | 637 | },
|
717 | 638 | {
|
718 | 639 | "cell_type": "markdown",
|
|
792 | 713 | ],
|
793 | 714 | "language": "python",
|
794 | 715 | "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": [] |
806 | 717 | },
|
807 | 718 | {
|
808 | 719 | "cell_type": "markdown",
|
|
931 | 842 | ],
|
932 | 843 | "language": "python",
|
933 | 844 | "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": [] |
944 | 846 | },
|
945 | 847 | {
|
946 | 848 | "cell_type": "markdown",
|
|
1005 | 907 | ],
|
1006 | 908 | "language": "python",
|
1007 | 909 | "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": [] |
1018 | 911 | },
|
1019 | 912 | {
|
1020 | 913 | "cell_type": "markdown",
|
|
1109 | 1002 | ],
|
1110 | 1003 | "language": "python",
|
1111 | 1004 | "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": [] |
1125 | 1006 | },
|
1126 | 1007 | {
|
1127 | 1008 | "cell_type": "markdown",
|
|
1141 | 1022 | ],
|
1142 | 1023 | "language": "python",
|
1143 | 1024 | "metadata": {},
|
1144 |
| - "outputs": [], |
1145 |
| - "prompt_number": 218 |
| 1025 | + "outputs": [] |
1146 | 1026 | },
|
1147 | 1027 | {
|
1148 | 1028 | "cell_type": "code",
|
|
1152 | 1032 | ],
|
1153 | 1033 | "language": "python",
|
1154 | 1034 | "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": [] |
1174 | 1036 | },
|
1175 | 1037 | {
|
1176 | 1038 | "cell_type": "markdown",
|
|
1200 | 1062 | ],
|
1201 | 1063 | "language": "python",
|
1202 | 1064 | "metadata": {},
|
1203 |
| - "outputs": [], |
1204 |
| - "prompt_number": 223 |
| 1065 | + "outputs": [] |
1205 | 1066 | },
|
1206 | 1067 | {
|
1207 | 1068 | "cell_type": "code",
|
|
1211 | 1072 | ],
|
1212 | 1073 | "language": "python",
|
1213 | 1074 | "metadata": {},
|
1214 |
| - "outputs": [], |
1215 |
| - "prompt_number": 224 |
| 1075 | + "outputs": [] |
1216 | 1076 | },
|
1217 | 1077 | {
|
1218 | 1078 | "cell_type": "code",
|
|
1222 | 1082 | ],
|
1223 | 1083 | "language": "python",
|
1224 | 1084 | "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": [] |
1244 | 1086 | },
|
1245 | 1087 | {
|
1246 | 1088 | "cell_type": "markdown",
|
|
1328 | 1170 | "output_type": "pyout",
|
1329 | 1171 | "prompt_number": 1,
|
1330 | 1172 | "text": [
|
1331 |
| - "<IPython.core.display.HTML at 0x105424c90>" |
| 1173 | + "<IPython.core.display.HTML at 0x105fc2550>" |
1332 | 1174 | ]
|
1333 | 1175 | }
|
1334 | 1176 | ],
|
|
1342 | 1184 | "\n",
|
1343 | 1185 | "Licensed under the [GNU Free Documentation License](http://www.gnu.org/copyleft/fdl.html)"
|
1344 | 1186 | ]
|
1345 |
| - }, |
1346 |
| - { |
1347 |
| - "cell_type": "code", |
1348 |
| - "collapsed": false, |
1349 |
| - "input": [], |
1350 |
| - "language": "python", |
1351 |
| - "metadata": {}, |
1352 |
| - "outputs": [] |
1353 | 1187 | }
|
1354 | 1188 | ],
|
1355 | 1189 | "metadata": {}
|
|
0 commit comments