{ "cells": [ { "cell_type": "code", "execution_count": 8, "metadata": { "collapsed": false, "deletable": true, "editable": true }, "outputs": [ { "data": { "text/plain": [ "2969375469" ] }, "execution_count": 8, "metadata": {}, "output_type": "execute_result" } ], "source": [ "int(\"0xb0fd12ed\",16)" ] }, { "cell_type": "code", "execution_count": 9, "metadata": { "collapsed": false, "deletable": true, "editable": true }, "outputs": [ { "data": { "text/plain": [ "b'thesecretpassphraseisqiimztbbxdfbledleflvirhfpprude'" ] }, "execution_count": 9, "metadata": {}, "output_type": "execute_result" } ], "source": [ "import numpy as np\n", "\n", "_a = ord('a')\n", "_z = ord('z')\n", "_A = ord('A')\n", "_Z = ord('Z')\n", "\n", "def encipher(s, n):\n", " arr = np.fromstring(s, np.uint8)\n", " rawcipher(arr, n)\n", " return arr.tostring()\n", "\n", "def rawcipher(arr, n):\n", " lower = (arr >= _a) & (arr <= _z)\n", " upper = (arr >= _A) & (arr <= _Z)\n", " arr[lower | upper] += n\n", " arr[lower & (arr > _z)] -= 26\n", " arr[upper & (arr > _Z)] -= 26\n", "\n", "letters = np.ones(128, dtype=np.float32)\n", "letters[ord(' ')] = 0.1904\n", "letters[ord('e')] = 0.1017\n", "letters[ord('t')] = 0.0737\n", "letters[ord('a')] = 0.0661\n", "letters[ord('o')] = 0.0610\n", "letters[ord('i')] = 0.0562\n", "letters[ord('n')] = 0.0557\n", "letters[ord('h')] = 0.0542\n", "letters[ord('s')] = 0.0508\n", "letters[ord('r')] = 0.0458\n", "letters[ord('d')] = 0.0369\n", "letters[ord('l')] = 0.0325\n", "letters[ord('u')] = 0.0228\n", "letters[ord('m')] = 0.0205\n", "letters[ord('c')] = 0.0192\n", "letters[ord('w')] = 0.0190\n", "letters[ord('f')] = 0.0175\n", "letters[ord('y')] = 0.0165\n", "letters[ord('g')] = 0.0161\n", "letters[ord('p')] = 0.0131\n", "letters[ord('b')] = 0.0115\n", "letters[ord('v')] = 0.0088\n", "letters[ord('k')] = 0.0066\n", "letters[ord('x')] = 0.0014\n", "letters[ord('j')] = 0.0008\n", "letters[ord('q')] = 0.0008\n", "letters[ord('z')] = 0.0005\n", "letters[_A:_Z+1] = letters[_a:_z+1]\n", "\n", "def score(arr):\n", " return letters[arr].sum()\n", "\n", "def decipher(s):\n", " arr = np.fromstring(s, np.uint8)\n", " bestStr = None\n", " bestScore = 0\n", " for n in range(0, 26):\n", " rawcipher(arr, 1)\n", " thisScore = score(arr)\n", " if thisScore > bestScore:\n", " bestScore = thisScore\n", " bestStr = arr.tostring()\n", "\n", " return bestStr\n", "\n", "decipher(\"ftqeqodqfbmeebtdmequecuuylfnnjprnxqpxqrxhudtrbbdgpq\")" ] }, { "cell_type": "code", "execution_count": 14, "metadata": { "collapsed": false, "deletable": true, "editable": true }, "outputs": [ { "data": { "text/plain": [ "" ] }, "execution_count": 14, "metadata": {}, "output_type": "execute_result" } ], "source": [ "string = \"\"\"\n", "It might have been expected that the attempt to trace to their origin\n", "in the past the institutions and customs in common use upon the sea\n", "would from an early date occupy the attention of a seafaring people,\n", "but for some obscure reason the British nation has always been\n", "indifferent to the history of its activities upon that element on which\n", "its greatness was founded, and to which it has become more and more\n", "dependent for its daily bread and its very existence. To those who\n", "are alive to this fact it will hardly come as a surprise, therefore,\n", "to learn that the first sustained attempt at a detailed investigation\n", "into the history of the flag at sea was made under the patronage\n", "of the German Admiralty by a German Admiral. Vice-Admiral Siegel's\n", "_Die Flagge_, published in 1912, was the first book to deal with the\n", "development of the flag at sea in a scientific spirit, and although\n", "the earlier chapters contain some mistakes due to his employment of\n", "translations of early works instead of original texts, and the accounts\n", "of the British flags in the later chapters suffer because he had no\n", "access to original records, it is a worthy piece of work.\n", "\n", "The present book is an attempt to remove the reproach to the British\n", "nation which this implies. Its plan is somewhat different from that\n", "of the work referred to above. Instead of dealing with the flags of\n", "all maritime nations of the world--a task that (if it was to be more\n", "than a mere copying or compilation) would entail much work in foreign\n", "archives--it seemed more profitable to concentrate upon the history\n", "of British Naval Flags, for researches made so far back as 1908 had\n", "taught me how much that is inaccurate about their history had received\n", "acceptance. But first it seemed necessary to devote some time and\n", "space to the inquiry into the origin of the flag and how it became the\n", "honoured symbol of nationality that it now is, and for this a general\n", "view had to be taken in order that a firm foundation might be laid for\n", "the early history of our own flags.\n", "\n", "In the first chapter the ground worked over by Admiral Siegel has been\n", "solidified by examination of the original authorities, with the result\n", "that a few errors have been detected and some new facts brought to\n", "light, and the investigation has also been extended further; the most\n", "important of the additions being those relating to the standards in\n", "the Phoenician and Greek ships of war, forms of the early \"standard\"\n", "and \"gonfanon,\" and the Genoese Standard of St George and the Dragon.\n", "For the deduction that the use of a national flag arose in the Italian\n", "city states I take the entire responsibility, well aware that further\n", "investigations may possibly bring to light fresh facts which will\n", "overthrow it.\n", "\n", "The chapter on early English, Scottish and Irish flags serves as an\n", "introduction to the history of our national flag, which was invented\n", "for the use of the mercantile marine, though it was very soon\n", "appropriated by the Royal Navy for its sole use. It is very improbable\n", "that further research will enable the gap left by the unfortunate\n", "destruction of the early 17th century records to be filled, so that the\n", "story of the Union Flag may be taken as being substantially complete,\n", "but there is still room for further work upon the history of its\n", "component crosses. It will be seen that I have been unable to find any\n", "solid ground for the common belief that the cross of St George was\n", "introduced as the national emblem of England by Richard I, and am of\n", "opinion that it did not begin to attain that position until the first\n", "years of the reign of Edward I.\n", "\n", "The chapters on the flags used to indicate distinctions of command and\n", "service at sea give an account of the use (now obsolete) of the Royal\n", "Standard at sea by naval commanders-in-chief; of the history of the\n", "Admiralty anchor-flag; and of the steps by which the present Admirals'\n", "flags were evolved. The history of the ensigns from their first\n", "adoption at sea about the end of Elizabeth's reign has been set out in\n", "some detail, but further research may bring to light more details of\n", "interest in the years between 1574 and 1653. The causes which led to\n", "the adoption of a red ensign as the most important British ensign and\n", "the steps which led to its appropriation to the Mercantile Marine, and\n", "not the Royal Navy, are stated as far as the records availed, though\n", "here again further research is needed in the late Elizabethan and\n", "early Stuart periods among records that may still survive in private\n", "ownership. These chapters may, perhaps, appeal rather to the seaman\n", "and the student of naval history than to the general reader, but it is\n", "hoped that they may also prove of service to artists who wish to avoid\n", "the anachronisms into which some of their brethren have been betrayed.\n", "\n", "In order that the development of flag signals may be properly\n", "appreciated it has been necessary, when dealing with the earlier years,\n", "to take into account what had happened outside the narrow circuit of\n", "British waters. The earlier matter, though here examined solely from\n", "the point of view of the flags used, offers considerable interest to\n", "the student of naval tactics, with which indeed the art of signalling\n", "is inseparably connected.\n", "\n", "The last chapter, on Ceremonial and other usages, is, from the author's\n", "point of view, the least satisfactory. From the nature of the subject,\n", "the official records contain very little information about it. It\n", "is only by the slow and laborious process of examining contemporary\n", "journals, diaries, accounts of voyages, and similar material that facts\n", "can be found for any exhaustive treatment of these matters. Something\n", "of this has been done, but more remains to do.\n", "\n", "In concluding the work which has occupied a large portion of the\n", "leisure hours of many years, it is my pleasant duty to express my\n", "gratitude to the numerous friends whose encouragement and assistance\n", "have enabled me to persevere in what has proved a somewhat arduous\n", "task; especially to Sir Julian Corbett, who has read the proofs and\n", "given me the benefit of his criticisms; to the officials of the\n", "Pepysian Library, Public Record Office, British Museum and London\n", "Library for the facilities afforded me; and not least to my friend Mr\n", "Vaughan who has spared no pains in the preparation of the coloured\n", "plates.\n", "\"\"\"\n", "tups = ((1, 9, 4), (4, 2, 8), (4, 8, 3), (7, 1, 5), (8, 10, 1))\n", "d = list(map(lambda l: l.split(' '),string.split('\\n')))\n", "\n", "for tup in tups:\n", " print(d\n" ] }, { "cell_type": "code", "execution_count": 15, "metadata": { "collapsed": false, "deletable": true, "editable": true }, "outputs": [ { "data": { "text/plain": [ "[[''],\n", " ['It',\n", " 'might',\n", " 'have',\n", " 'been',\n", " 'expected',\n", " 'that',\n", " 'the',\n", " 'attempt',\n", " 'to',\n", " 'trace',\n", " 'to',\n", " 'their',\n", " 'origin'],\n", " ['in',\n", " 'the',\n", " 'past',\n", " 'the',\n", " 'institutions',\n", " 'and',\n", " 'customs',\n", " 'in',\n", " 'common',\n", " 'use',\n", " 'upon',\n", " 'the',\n", " 'sea'],\n", " ['would',\n", " 'from',\n", " 'an',\n", " 'early',\n", " 'date',\n", " 'occupy',\n", " 'the',\n", " 'attention',\n", " 'of',\n", " 'a',\n", " 'seafaring',\n", " 'people,'],\n", " ['but',\n", " 'for',\n", " 'some',\n", " 'obscure',\n", " 'reason',\n", " 'the',\n", " 'British',\n", " 'nation',\n", " 'has',\n", " 'always',\n", " 'been'],\n", " ['indifferent',\n", " 'to',\n", " 'the',\n", " 'history',\n", " 'of',\n", " 'its',\n", " 'activities',\n", " 'upon',\n", " 'that',\n", " 'element',\n", " 'on',\n", " 'which'],\n", " ['its',\n", " 'greatness',\n", " 'was',\n", " 'founded,',\n", " 'and',\n", " 'to',\n", " 'which',\n", " 'it',\n", " 'has',\n", " 'become',\n", " 'more',\n", " 'and',\n", " 'more'],\n", " ['dependent',\n", " 'for',\n", " 'its',\n", " 'daily',\n", " 'bread',\n", " 'and',\n", " 'its',\n", " 'very',\n", " 'existence.',\n", " 'To',\n", " 'those',\n", " 'who'],\n", " ['are',\n", " 'alive',\n", " 'to',\n", " 'this',\n", " 'fact',\n", " 'it',\n", " 'will',\n", " 'hardly',\n", " 'come',\n", " 'as',\n", " 'a',\n", " 'surprise,',\n", " 'therefore,'],\n", " ['to',\n", " 'learn',\n", " 'that',\n", " 'the',\n", " 'first',\n", " 'sustained',\n", " 'attempt',\n", " 'at',\n", " 'a',\n", " 'detailed',\n", " 'investigation'],\n", " ['into',\n", " 'the',\n", " 'history',\n", " 'of',\n", " 'the',\n", " 'flag',\n", " 'at',\n", " 'sea',\n", " 'was',\n", " 'made',\n", " 'under',\n", " 'the',\n", " 'patronage'],\n", " ['of',\n", " 'the',\n", " 'German',\n", " 'Admiralty',\n", " 'by',\n", " 'a',\n", " 'German',\n", " 'Admiral.',\n", " 'Vice-Admiral',\n", " \"Siegel's\"],\n", " ['_Die',\n", " 'Flagge_,',\n", " 'published',\n", " 'in',\n", " '1912,',\n", " 'was',\n", " 'the',\n", " 'first',\n", " 'book',\n", " 'to',\n", " 'deal',\n", " 'with',\n", " 'the'],\n", " ['development',\n", " 'of',\n", " 'the',\n", " 'flag',\n", " 'at',\n", " 'sea',\n", " 'in',\n", " 'a',\n", " 'scientific',\n", " 'spirit,',\n", " 'and',\n", " 'although'],\n", " ['the',\n", " 'earlier',\n", " 'chapters',\n", " 'contain',\n", " 'some',\n", " 'mistakes',\n", " 'due',\n", " 'to',\n", " 'his',\n", " 'employment',\n", " 'of'],\n", " ['translations',\n", " 'of',\n", " 'early',\n", " 'works',\n", " 'instead',\n", " 'of',\n", " 'original',\n", " 'texts,',\n", " 'and',\n", " 'the',\n", " 'accounts'],\n", " ['of',\n", " 'the',\n", " 'British',\n", " 'flags',\n", " 'in',\n", " 'the',\n", " 'later',\n", " 'chapters',\n", " 'suffer',\n", " 'because',\n", " 'he',\n", " 'had',\n", " 'no'],\n", " ['access',\n", " 'to',\n", " 'original',\n", " 'records,',\n", " 'it',\n", " 'is',\n", " 'a',\n", " 'worthy',\n", " 'piece',\n", " 'of',\n", " 'work.'],\n", " [''],\n", " ['The',\n", " 'present',\n", " 'book',\n", " 'is',\n", " 'an',\n", " 'attempt',\n", " 'to',\n", " 'remove',\n", " 'the',\n", " 'reproach',\n", " 'to',\n", " 'the',\n", " 'British'],\n", " ['nation',\n", " 'which',\n", " 'this',\n", " 'implies.',\n", " 'Its',\n", " 'plan',\n", " 'is',\n", " 'somewhat',\n", " 'different',\n", " 'from',\n", " 'that'],\n", " ['of',\n", " 'the',\n", " 'work',\n", " 'referred',\n", " 'to',\n", " 'above.',\n", " 'Instead',\n", " 'of',\n", " 'dealing',\n", " 'with',\n", " 'the',\n", " 'flags',\n", " 'of'],\n", " ['all',\n", " 'maritime',\n", " 'nations',\n", " 'of',\n", " 'the',\n", " 'world--a',\n", " 'task',\n", " 'that',\n", " '(if',\n", " 'it',\n", " 'was',\n", " 'to',\n", " 'be',\n", " 'more'],\n", " ['than',\n", " 'a',\n", " 'mere',\n", " 'copying',\n", " 'or',\n", " 'compilation)',\n", " 'would',\n", " 'entail',\n", " 'much',\n", " 'work',\n", " 'in',\n", " 'foreign'],\n", " ['archives--it',\n", " 'seemed',\n", " 'more',\n", " 'profitable',\n", " 'to',\n", " 'concentrate',\n", " 'upon',\n", " 'the',\n", " 'history'],\n", " ['of',\n", " 'British',\n", " 'Naval',\n", " 'Flags,',\n", " 'for',\n", " 'researches',\n", " 'made',\n", " 'so',\n", " 'far',\n", " 'back',\n", " 'as',\n", " '1908',\n", " 'had'],\n", " ['taught',\n", " 'me',\n", " 'how',\n", " 'much',\n", " 'that',\n", " 'is',\n", " 'inaccurate',\n", " 'about',\n", " 'their',\n", " 'history',\n", " 'had',\n", " 'received'],\n", " ['acceptance.',\n", " 'But',\n", " 'first',\n", " 'it',\n", " 'seemed',\n", " 'necessary',\n", " 'to',\n", " 'devote',\n", " 'some',\n", " 'time',\n", " 'and'],\n", " ['space',\n", " 'to',\n", " 'the',\n", " 'inquiry',\n", " 'into',\n", " 'the',\n", " 'origin',\n", " 'of',\n", " 'the',\n", " 'flag',\n", " 'and',\n", " 'how',\n", " 'it',\n", " 'became',\n", " 'the'],\n", " ['honoured',\n", " 'symbol',\n", " 'of',\n", " 'nationality',\n", " 'that',\n", " 'it',\n", " 'now',\n", " 'is,',\n", " 'and',\n", " 'for',\n", " 'this',\n", " 'a',\n", " 'general'],\n", " ['view',\n", " 'had',\n", " 'to',\n", " 'be',\n", " 'taken',\n", " 'in',\n", " 'order',\n", " 'that',\n", " 'a',\n", " 'firm',\n", " 'foundation',\n", " 'might',\n", " 'be',\n", " 'laid',\n", " 'for'],\n", " ['the', 'early', 'history', 'of', 'our', 'own', 'flags.'],\n", " [''],\n", " ['In',\n", " 'the',\n", " 'first',\n", " 'chapter',\n", " 'the',\n", " 'ground',\n", " 'worked',\n", " 'over',\n", " 'by',\n", " 'Admiral',\n", " 'Siegel',\n", " 'has',\n", " 'been'],\n", " ['solidified',\n", " 'by',\n", " 'examination',\n", " 'of',\n", " 'the',\n", " 'original',\n", " 'authorities,',\n", " 'with',\n", " 'the',\n", " 'result'],\n", " ['that',\n", " 'a',\n", " 'few',\n", " 'errors',\n", " 'have',\n", " 'been',\n", " 'detected',\n", " 'and',\n", " 'some',\n", " 'new',\n", " 'facts',\n", " 'brought',\n", " 'to'],\n", " ['light,',\n", " 'and',\n", " 'the',\n", " 'investigation',\n", " 'has',\n", " 'also',\n", " 'been',\n", " 'extended',\n", " 'further;',\n", " 'the',\n", " 'most'],\n", " ['important',\n", " 'of',\n", " 'the',\n", " 'additions',\n", " 'being',\n", " 'those',\n", " 'relating',\n", " 'to',\n", " 'the',\n", " 'standards',\n", " 'in'],\n", " ['the',\n", " 'Phoenician',\n", " 'and',\n", " 'Greek',\n", " 'ships',\n", " 'of',\n", " 'war,',\n", " 'forms',\n", " 'of',\n", " 'the',\n", " 'early',\n", " '\"standard\"'],\n", " ['and',\n", " '\"gonfanon,\"',\n", " 'and',\n", " 'the',\n", " 'Genoese',\n", " 'Standard',\n", " 'of',\n", " 'St',\n", " 'George',\n", " 'and',\n", " 'the',\n", " 'Dragon.'],\n", " ['For',\n", " 'the',\n", " 'deduction',\n", " 'that',\n", " 'the',\n", " 'use',\n", " 'of',\n", " 'a',\n", " 'national',\n", " 'flag',\n", " 'arose',\n", " 'in',\n", " 'the',\n", " 'Italian'],\n", " ['city',\n", " 'states',\n", " 'I',\n", " 'take',\n", " 'the',\n", " 'entire',\n", " 'responsibility,',\n", " 'well',\n", " 'aware',\n", " 'that',\n", " 'further'],\n", " ['investigations',\n", " 'may',\n", " 'possibly',\n", " 'bring',\n", " 'to',\n", " 'light',\n", " 'fresh',\n", " 'facts',\n", " 'which',\n", " 'will'],\n", " ['overthrow', 'it.'],\n", " [''],\n", " ['The',\n", " 'chapter',\n", " 'on',\n", " 'early',\n", " 'English,',\n", " 'Scottish',\n", " 'and',\n", " 'Irish',\n", " 'flags',\n", " 'serves',\n", " 'as',\n", " 'an'],\n", " ['introduction',\n", " 'to',\n", " 'the',\n", " 'history',\n", " 'of',\n", " 'our',\n", " 'national',\n", " 'flag,',\n", " 'which',\n", " 'was',\n", " 'invented'],\n", " ['for',\n", " 'the',\n", " 'use',\n", " 'of',\n", " 'the',\n", " 'mercantile',\n", " 'marine,',\n", " 'though',\n", " 'it',\n", " 'was',\n", " 'very',\n", " 'soon'],\n", " ['appropriated',\n", " 'by',\n", " 'the',\n", " 'Royal',\n", " 'Navy',\n", " 'for',\n", " 'its',\n", " 'sole',\n", " 'use.',\n", " 'It',\n", " 'is',\n", " 'very',\n", " 'improbable'],\n", " ['that',\n", " 'further',\n", " 'research',\n", " 'will',\n", " 'enable',\n", " 'the',\n", " 'gap',\n", " 'left',\n", " 'by',\n", " 'the',\n", " 'unfortunate'],\n", " ['destruction',\n", " 'of',\n", " 'the',\n", " 'early',\n", " '17th',\n", " 'century',\n", " 'records',\n", " 'to',\n", " 'be',\n", " 'filled,',\n", " 'so',\n", " 'that',\n", " 'the'],\n", " ['story',\n", " 'of',\n", " 'the',\n", " 'Union',\n", " 'Flag',\n", " 'may',\n", " 'be',\n", " 'taken',\n", " 'as',\n", " 'being',\n", " 'substantially',\n", " 'complete,'],\n", " ['but',\n", " 'there',\n", " 'is',\n", " 'still',\n", " 'room',\n", " 'for',\n", " 'further',\n", " 'work',\n", " 'upon',\n", " 'the',\n", " 'history',\n", " 'of',\n", " 'its'],\n", " ['component',\n", " 'crosses.',\n", " 'It',\n", " 'will',\n", " 'be',\n", " 'seen',\n", " 'that',\n", " 'I',\n", " 'have',\n", " 'been',\n", " 'unable',\n", " 'to',\n", " 'find',\n", " 'any'],\n", " ['solid',\n", " 'ground',\n", " 'for',\n", " 'the',\n", " 'common',\n", " 'belief',\n", " 'that',\n", " 'the',\n", " 'cross',\n", " 'of',\n", " 'St',\n", " 'George',\n", " 'was'],\n", " ['introduced',\n", " 'as',\n", " 'the',\n", " 'national',\n", " 'emblem',\n", " 'of',\n", " 'England',\n", " 'by',\n", " 'Richard',\n", " 'I,',\n", " 'and',\n", " 'am',\n", " 'of'],\n", " ['opinion',\n", " 'that',\n", " 'it',\n", " 'did',\n", " 'not',\n", " 'begin',\n", " 'to',\n", " 'attain',\n", " 'that',\n", " 'position',\n", " 'until',\n", " 'the',\n", " 'first'],\n", " ['years', 'of', 'the', 'reign', 'of', 'Edward', 'I.'],\n", " [''],\n", " ['The',\n", " 'chapters',\n", " 'on',\n", " 'the',\n", " 'flags',\n", " 'used',\n", " 'to',\n", " 'indicate',\n", " 'distinctions',\n", " 'of',\n", " 'command',\n", " 'and'],\n", " ['service',\n", " 'at',\n", " 'sea',\n", " 'give',\n", " 'an',\n", " 'account',\n", " 'of',\n", " 'the',\n", " 'use',\n", " '(now',\n", " 'obsolete)',\n", " 'of',\n", " 'the',\n", " 'Royal'],\n", " ['Standard',\n", " 'at',\n", " 'sea',\n", " 'by',\n", " 'naval',\n", " 'commanders-in-chief;',\n", " 'of',\n", " 'the',\n", " 'history',\n", " 'of',\n", " 'the'],\n", " ['Admiralty',\n", " 'anchor-flag;',\n", " 'and',\n", " 'of',\n", " 'the',\n", " 'steps',\n", " 'by',\n", " 'which',\n", " 'the',\n", " 'present',\n", " \"Admirals'\"],\n", " ['flags',\n", " 'were',\n", " 'evolved.',\n", " 'The',\n", " 'history',\n", " 'of',\n", " 'the',\n", " 'ensigns',\n", " 'from',\n", " 'their',\n", " 'first'],\n", " ['adoption',\n", " 'at',\n", " 'sea',\n", " 'about',\n", " 'the',\n", " 'end',\n", " 'of',\n", " \"Elizabeth's\",\n", " 'reign',\n", " 'has',\n", " 'been',\n", " 'set',\n", " 'out',\n", " 'in'],\n", " ['some',\n", " 'detail,',\n", " 'but',\n", " 'further',\n", " 'research',\n", " 'may',\n", " 'bring',\n", " 'to',\n", " 'light',\n", " 'more',\n", " 'details',\n", " 'of'],\n", " ['interest',\n", " 'in',\n", " 'the',\n", " 'years',\n", " 'between',\n", " '1574',\n", " 'and',\n", " '1653.',\n", " 'The',\n", " 'causes',\n", " 'which',\n", " 'led',\n", " 'to'],\n", " ['the',\n", " 'adoption',\n", " 'of',\n", " 'a',\n", " 'red',\n", " 'ensign',\n", " 'as',\n", " 'the',\n", " 'most',\n", " 'important',\n", " 'British',\n", " 'ensign',\n", " 'and'],\n", " ['the',\n", " 'steps',\n", " 'which',\n", " 'led',\n", " 'to',\n", " 'its',\n", " 'appropriation',\n", " 'to',\n", " 'the',\n", " 'Mercantile',\n", " 'Marine,',\n", " 'and'],\n", " ['not',\n", " 'the',\n", " 'Royal',\n", " 'Navy,',\n", " 'are',\n", " 'stated',\n", " 'as',\n", " 'far',\n", " 'as',\n", " 'the',\n", " 'records',\n", " 'availed,',\n", " 'though'],\n", " ['here',\n", " 'again',\n", " 'further',\n", " 'research',\n", " 'is',\n", " 'needed',\n", " 'in',\n", " 'the',\n", " 'late',\n", " 'Elizabethan',\n", " 'and'],\n", " ['early',\n", " 'Stuart',\n", " 'periods',\n", " 'among',\n", " 'records',\n", " 'that',\n", " 'may',\n", " 'still',\n", " 'survive',\n", " 'in',\n", " 'private'],\n", " ['ownership.',\n", " 'These',\n", " 'chapters',\n", " 'may,',\n", " 'perhaps,',\n", " 'appeal',\n", " 'rather',\n", " 'to',\n", " 'the',\n", " 'seaman'],\n", " ['and',\n", " 'the',\n", " 'student',\n", " 'of',\n", " 'naval',\n", " 'history',\n", " 'than',\n", " 'to',\n", " 'the',\n", " 'general',\n", " 'reader,',\n", " 'but',\n", " 'it',\n", " 'is'],\n", " ['hoped',\n", " 'that',\n", " 'they',\n", " 'may',\n", " 'also',\n", " 'prove',\n", " 'of',\n", " 'service',\n", " 'to',\n", " 'artists',\n", " 'who',\n", " 'wish',\n", " 'to',\n", " 'avoid'],\n", " ['the',\n", " 'anachronisms',\n", " 'into',\n", " 'which',\n", " 'some',\n", " 'of',\n", " 'their',\n", " 'brethren',\n", " 'have',\n", " 'been',\n", " 'betrayed.'],\n", " [''],\n", " ['In',\n", " 'order',\n", " 'that',\n", " 'the',\n", " 'development',\n", " 'of',\n", " 'flag',\n", " 'signals',\n", " 'may',\n", " 'be',\n", " 'properly'],\n", " ['appreciated',\n", " 'it',\n", " 'has',\n", " 'been',\n", " 'necessary,',\n", " 'when',\n", " 'dealing',\n", " 'with',\n", " 'the',\n", " 'earlier',\n", " 'years,'],\n", " ['to',\n", " 'take',\n", " 'into',\n", " 'account',\n", " 'what',\n", " 'had',\n", " 'happened',\n", " 'outside',\n", " 'the',\n", " 'narrow',\n", " 'circuit',\n", " 'of'],\n", " ['British',\n", " 'waters.',\n", " 'The',\n", " 'earlier',\n", " 'matter,',\n", " 'though',\n", " 'here',\n", " 'examined',\n", " 'solely',\n", " 'from'],\n", " ['the',\n", " 'point',\n", " 'of',\n", " 'view',\n", " 'of',\n", " 'the',\n", " 'flags',\n", " 'used,',\n", " 'offers',\n", " 'considerable',\n", " 'interest',\n", " 'to'],\n", " ['the',\n", " 'student',\n", " 'of',\n", " 'naval',\n", " 'tactics,',\n", " 'with',\n", " 'which',\n", " 'indeed',\n", " 'the',\n", " 'art',\n", " 'of',\n", " 'signalling'],\n", " ['is', 'inseparably', 'connected.'],\n", " [''],\n", " ['The',\n", " 'last',\n", " 'chapter,',\n", " 'on',\n", " 'Ceremonial',\n", " 'and',\n", " 'other',\n", " 'usages,',\n", " 'is,',\n", " 'from',\n", " 'the',\n", " \"author's\"],\n", " ['point',\n", " 'of',\n", " 'view,',\n", " 'the',\n", " 'least',\n", " 'satisfactory.',\n", " 'From',\n", " 'the',\n", " 'nature',\n", " 'of',\n", " 'the',\n", " 'subject,'],\n", " ['the',\n", " 'official',\n", " 'records',\n", " 'contain',\n", " 'very',\n", " 'little',\n", " 'information',\n", " 'about',\n", " 'it.',\n", " 'It'],\n", " ['is',\n", " 'only',\n", " 'by',\n", " 'the',\n", " 'slow',\n", " 'and',\n", " 'laborious',\n", " 'process',\n", " 'of',\n", " 'examining',\n", " 'contemporary'],\n", " ['journals,',\n", " 'diaries,',\n", " 'accounts',\n", " 'of',\n", " 'voyages,',\n", " 'and',\n", " 'similar',\n", " 'material',\n", " 'that',\n", " 'facts'],\n", " ['can',\n", " 'be',\n", " 'found',\n", " 'for',\n", " 'any',\n", " 'exhaustive',\n", " 'treatment',\n", " 'of',\n", " 'these',\n", " 'matters.',\n", " 'Something'],\n", " ['of', 'this', 'has', 'been', 'done,', 'but', 'more', 'remains', 'to', 'do.'],\n", " [''],\n", " ['In',\n", " 'concluding',\n", " 'the',\n", " 'work',\n", " 'which',\n", " 'has',\n", " 'occupied',\n", " 'a',\n", " 'large',\n", " 'portion',\n", " 'of',\n", " 'the'],\n", " ['leisure',\n", " 'hours',\n", " 'of',\n", " 'many',\n", " 'years,',\n", " 'it',\n", " 'is',\n", " 'my',\n", " 'pleasant',\n", " 'duty',\n", " 'to',\n", " 'express',\n", " 'my'],\n", " ['gratitude',\n", " 'to',\n", " 'the',\n", " 'numerous',\n", " 'friends',\n", " 'whose',\n", " 'encouragement',\n", " 'and',\n", " 'assistance'],\n", " ['have',\n", " 'enabled',\n", " 'me',\n", " 'to',\n", " 'persevere',\n", " 'in',\n", " 'what',\n", " 'has',\n", " 'proved',\n", " 'a',\n", " 'somewhat',\n", " 'arduous'],\n", " ['task;',\n", " 'especially',\n", " 'to',\n", " 'Sir',\n", " 'Julian',\n", " 'Corbett,',\n", " 'who',\n", " 'has',\n", " 'read',\n", " 'the',\n", " 'proofs',\n", " 'and'],\n", " ['given',\n", " 'me',\n", " 'the',\n", " 'benefit',\n", " 'of',\n", " 'his',\n", " 'criticisms;',\n", " 'to',\n", " 'the',\n", " 'officials',\n", " 'of',\n", " 'the'],\n", " ['Pepysian',\n", " 'Library,',\n", " 'Public',\n", " 'Record',\n", " 'Office,',\n", " 'British',\n", " 'Museum',\n", " 'and',\n", " 'London'],\n", " ['Library',\n", " 'for',\n", " 'the',\n", " 'facilities',\n", " 'afforded',\n", " 'me;',\n", " 'and',\n", " 'not',\n", " 'least',\n", " 'to',\n", " 'my',\n", " 'friend',\n", " 'Mr'],\n", " ['Vaughan',\n", " 'who',\n", " 'has',\n", " 'spared',\n", " 'no',\n", " 'pains',\n", " 'in',\n", " 'the',\n", " 'preparation',\n", " 'of',\n", " 'the',\n", " 'coloured'],\n", " ['plates.'],\n", " ['']]" ] }, "execution_count": 15, "metadata": {}, "output_type": "execute_result" } ], "source": [] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true, "deletable": true, "editable": true }, "outputs": [], "source": [] } ], "metadata": { "anaconda-cloud": {}, "kernelspec": { "display_name": "Python [conda root]", "language": "python", "name": "conda-root-py" }, "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.5.3" }, "latex_envs": { "bibliofile": "biblio.bib", "cite_by": "apalike", "current_citInitial": 1, "eqLabelWithNumbers": true, "eqNumInitial": 0 }, "nav_menu": {}, "toc": { "navigate_menu": true, "number_sections": true, "sideBar": true, "threshold": 6, "toc_cell": false, "toc_section_display": "block", "toc_window_display": false } }, "nbformat": 4, "nbformat_minor": 0 }