import nltk
from nltk.book import *
*** Introductory Examples for the NLTK Book *** Loading text1, ..., text9 and sent1, ..., sent9 Type the name of the text or sentence to view it. Type: 'texts()' or 'sents()' to list the materials. text1: Moby Dick by Herman Melville 1851 text2: Sense and Sensibility by Jane Austen 1811 text3: The Book of Genesis text4: Inaugural Address Corpus text5: Chat Corpus text6: Monty Python and the Holy Grail text7: Wall Street Journal text8: Personals Corpus text9: The Man Who Was Thursday by G . K . Chesterton 1908
text9
<Text: The Man Who Was Thursday by G . K . Chesterton 1908>
text5
<Text: Chat Corpus>
text1.concordance("monstrous")
Displaying 11 of 11 matches: ong the former , one was of a most monstrous size . ... This came towards us , ON OF THE PSALMS . " Touching that monstrous bulk of the whale or ork we have r ll over with a heathenish array of monstrous clubs and spears . Some were thick d as you gazed , and wondered what monstrous cannibal and savage could ever hav that has survived the flood ; most monstrous and most mountainous ! That Himmal they might scout at Moby Dick as a monstrous fable , or still worse and more de th of Radney .'" CHAPTER 55 Of the Monstrous Pictures of Whales . I shall ere l ing Scenes . In connexion with the monstrous pictures of whales , I am strongly ere to enter upon those still more monstrous stories of them which are to be fo ght have been rummaged out of this monstrous cabinet there is no telling . But of Whale - Bones ; for Whales of a monstrous size are oftentimes cast up dead u
text1.concordance('beautiful')
Displaying 8 of 8 matches: And in August , high in air , the beautiful and bountiful horse - chestnuts , kicked by a great man , and with a beautiful ivory leg , Stubb . It ' s an hono strange , half - seen , gliding , beautiful thing that eludes him ; every diml ut us where we are . What a really beautiful and chaste - looking mouth ! from begins to concrete ; sending forth beautiful crystalline shoots , as when the f it ; and in everything imposingly beautiful , strength has much to do with the ut too true to his word . It was a beautiful , bounteous , blue day ; the spang is a most refreshing , convivial , beautiful object to behold . As its name imp
text9.concordance('enemy')
Displaying 17 of 17 matches: mies of society , for society is the enemy of humanity , its oldest and its mos y , its oldest and its most pitiless enemy ( hear , hear ). Comrade Gregory has e seemed to be getting no nearer his enemy , and , what was worse , no nearer a nd went forth to track and fight the enemy in all the drawing - rooms of London by inch into the power of this great enemy of mankind , whose very intellect wa im to be spiritually won over to the enemy . Many moderns , inured to a weak wo d left him rather at the mercy of an enemy slightly deficient in scruples , fel ully witty . I like to be just to my enemy ." " But what ' s the good of it all two living things , he knew that his enemy was a terrible fighter , and that pr r as glass , and he was parrying his enemy ' s point with a kind of clockwork s supposed himself capable . Once his enemy ' s point ran along his wrist , leav that he had stuck his blade into his enemy as a gardener that he has stuck his ndly things to cross swords with the enemy of all creation . " After all ," he rments what was a friend and what an enemy . Was there anything that was apart ot , advancing towards the advancing enemy . The excited Dr . Renard lifted his ly in order to approach the supposed enemy as fellow - conspirators ; Syme had end , why were you also our greatest enemy ? We wept , we fled in terror ; the
text9.concordance('betray')
Displaying 4 of 4 matches: y inquisitive anarchists . I cannot betray you , but I might betray myself . C . I cannot betray you , but I might betray myself . Come , come ! wait and see elf . Come , come ! wait and see me betray myself . I shall do it so nicely ." ed from them . He could not himself betray Syme , partly from honour , but par
text9.concordance('love')
Displaying 8 of 8 matches: ke jumping off a cliff or falling in love . Suffice it to say that you were an im sincerely , which is founded upon love --" " No , no !" said Witherspoon , no !" said Witherspoon , " down with love ." " Which is founded upon love ," r with love ." " Which is founded upon love ," repeated Gregory , grinding his t eve that the Professor had fallen in love with that particular wax lady . He c e grass under his feet ; he felt the love of life in all living things . He co star . The philosopher may sometimes love the infinite ; the poet always loves derland , yet as grave and kind as a love story . At last , however , the thic
text4.concordance('nation')
Displaying 25 of 316 matches: to the character of an independent nation seems to have been distinguished by f Heaven can never be expected on a nation that disregards the eternal rules o first , the representatives of this nation , then consisting of little more th , situation , and relations of this nation and country than any which had ever , prosperity , and happiness of the nation I have acquired an habitual attachm an be no spectacle presented by any nation more pleasing , more noble , majest party for its own ends , not of the nation for the national good . If that sol tures and the people throughout the nation . On this subject it might become m if a personal esteem for the French nation , formed in a residence of seven ye f our fellow - citizens by whatever nation , and if success can not be obtaine y , continue His blessing upon this nation and its Government and give it all powers so justly inspire . A rising nation , spread over a wide and fruitful l ing now decided by the voice of the nation , announced according to the rules ars witness to the fact that a just nation is trusted on its word when recours e union of opinion which gives to a nation the blessing of harmony and the ben uil suffrage of a free and virtuous nation , would under any circumstances hav d spirit and united councils of the nation will be safeguards to its honor and iction that the war with a powerful nation , which forms so prominent a featur out breaking down the spirit of the nation , destroying all confidence in itse ed on the military resources of the nation . These resources are amply suffici the war to an honorable issue . Our nation is in number more than half that of ndividually have been happy and the nation prosperous . Under this Constitutio rights , and is able to protect the nation against injustice from foreign powe great agricultural interest of the nation prospers under its protection . Loc ak our Union , and demolish us as a nation . Our distance from Europe and the
text1.similar('beautiful')
by coat heart body brain world hand whale fish word arched dictionary more dut dutch english french devil long street
text2.common_contexts(["monstrous", "very"])
am_glad a_pretty a_lucky is_pretty be_glad
text9.common_contexts(['enemy','friend'])
his_' his_,
text9.common_contexts(['enemy','love'])
the_of
text9.common_contexts(['freedom','love'])
the_of
text9.similar('freedom')
mind art honour leaves way heaven light pride victory meaning astonishment anarchists smoke history form happiness pursuit men soul science
text4.dispersion_plot(['citizens','democracy','freedom','duties','America'])
text9.dispersion_plot(['comrade','society','anarchy','capitalism','freedom'])
text9.dispersion_plot(['monday','tuesday','wednesday','thursday','friday'])
text3.generate()
laid by her , and said unto Cain , Where art thou , and said , Go to , I will not do it for ten ' s sons ; we dreamed each man according to their generatio the firstborn said unto Laban , Because I said , Nay , but Sarah shall her name be . , duke Elah , duke Shobal , and Akan . and looked upon my affliction . Bashemath Ishmael ' s blood , but Isra for as a prince hast thou found of all the cattle in the valley , and the wo The
"laid by her , and said unto Cain , Where art thou , and said , Go to ,\nI will not do it for ten ' s sons ; we dreamed each man according to\ntheir generatio the firstborn said unto Laban , Because I said , Nay ,\nbut Sarah shall her name be . , duke Elah , duke Shobal , and Akan .\nand looked upon my affliction . Bashemath Ishmael ' s blood , but Isra\nfor as a prince hast thou found of all the cattle in the valley , and\nthe wo The"
text9.generate()
Building ngram index...
is , and finding a Sunday teashop , turned in his loose straw hat on the bench under the advice of his hands . , or an apple tree , but not an anarchist . already irritated nerves ; and Buddhism is not a man worth listening to , even if one only laughed at by something at least he was -- blood running down his knife and fork . " " I ' d better ." the foundation of solid meekness which lies at the anarchist breakfast and had been too true . Sunday always insists on the foremost
'is , and finding a Sunday teashop , turned in his loose straw hat on\nthe bench under the advice of his hands . , or an apple tree , but not\nan anarchist . already irritated nerves ; and Buddhism is not a man\nworth listening to , even if one only laughed at by something at least\nhe was -- blood running down his knife and fork . " " I \' d better ."\nthe foundation of solid meekness which lies at the anarchist breakfast\nand had been too true . Sunday always insists on the foremost'
len(text3)
44764
set(text3)
{'persons', 'power', 'verified', 'joint', 'could', 'loveth', 'brother', 'wit', 'throne', 'Up', 'thereof', 'Nay', 'deceived', 'his', 'pitch', 'boug', 'whom', 'overthrew', 'turn', 'selfsame', 'badest', 'thirty', 'hands', 'devoured', 'always', 'scatter', 'other', 'Hobah', 'Unto', 'horsemen', 'master', 'divided', 'grove', '.', 'Manahath', 'treasure', 'about', 'blameless', 'saidst', 'thi', 'dowry', 'Woman', 'darkne', 'numbering', 'thereby', 'sinning', 'quiver', 'Stand', 'else', 'ewes', 'wrath', 'barr', 'weapons', 'take', 'abomination', 'Sephar', 'sister', 'Adam', 'plenteous', 'afar', 'al', 'dainties', 'lighted', 'provide', 'Allonbachuth', 'bondmen', 'stricken', 'punishment', 'LORD', 'sorrow', 'Korah', 'doer', 'Erech', 'six', 'Midian', 'befall', 'wash', 'having', 'teeth', 'Girgasite', 'damsel', 'struggled', 'han', 'Arioch', 'Jebusite', 'air', 'ste', 'creeping', 'lives', 'child', 'Hagar', 'upon', 'Massa', 'sacrifice', 'Emins', 'angry', 'midwife', 'Arkite', 'hastily', 'regard', 'rooms', 'Rehoboth', 'ou', 'kill', 'hearkened', 'Padan', 'plant', 'coats', 'dreamed', 'Ezer', 'either', 'Thy', 'slept', 'desire', ';)', 'Saul', 'presented', 'too', 'number', 'Lud', 'multiply', 'camel', 'entreated', 'ashamed', 'Moabites', 'plain', 'mourned', 'trough', 'Even', 'fath', 'Adbeel', 'chain', 'speak', 'second', 'wives', 'garments', 'wandered', 'Enoch', 'mayest', 'wot', 'Mesha', 'watch', 'Mamre', 'replenish', 'circumcise', 'Machir', 'young', 'voi', 'wickedness', 'nostrils', 'together', 'LO', 'therein', 'Atad', 'thereon', 'served', 'sojourner', 'myself', 'while', 'seek', 'portion', 'Fear', 'Naaman', 'sakes', 'full', 'hearth', 'hear', 'Fifteen', 'flee', 'Gatam', 'and', 'sleep', 'Timna', 'rule', 'w', 'blossoms', 'jud', 'send', 'health', 'strove', 'appeared', 'conceived', 'lade', 'died', 'forty', 'visions', 'forbid', 'fast', 'foals', 'wine', 'twelve', 'sojourned', 'sad', 'Damascus', 'Ur', 'thoughts', 'lad', 'Cainan', 'deeds', 'spoil', 'according', 'Rachel', 'Me', 'upward', ':', 'measures', 'Karnaim', 'gotten', 'word', 'likeness', 'Areli', 'Aner', 'pleased', 'floor', 'Ashkenaz', 'Elon', 'purchased', 'prevail', 'wife', 'whether', 'came', 'n', 'Eri', 'early', 'my', 'victuals', 'hollow', 'In', 'noon', 'foot', 'inhabitants', 'attained', 'Achbor', 'frost', 'trade', 'aileth', 'Milcah', 'kinds', 'Thou', 'grow', 'Binding', 'Nebajoth', 'numbered', 'quickly', 'Mehujael', 'spilled', 'prison', 'he', 'raise', 'concerning', 'over', 'dressed', 'Jidlaph', 'badne', 'flesh', 'boys', 'touched', 'Arise', 'dreadful', 'spotted', 'tru', 'heaven', 'bereaved', 'steward', 'Earth', 'lived', 'truth', 'dine', 'Jehovahjireh', 'Shinab', 'sake', 'Wilt', 'hor', 'seest', 'branches', 'married', 'stood', 'Deborah', 'issue', 'gavest', 'weight', 'trained', 'ready', 'Beno', 'field', 'bones', 'Kenites', 'On', 'appoint', 'forgat', 'Arbah', 'crown', 'grave', 'Nahor', 'all', 'driven', 'hate', 'southward', 'Arodi', 'Gather', 'sure', 'end', 'earth', 'Heaven', 'sustained', 'Merari', 'Heber', 'citi', 'rebuked', 'vowed', 'meanest', 'knowing', 'Euphrates', 'Zilpah', 'merchantmen', 'magicians', 'Masrekah', 'Methusael', 'brought', 'thin', 'unit', 'neck', 'whatsoever', 'hundredth', 'lamentati', 'unto', 'wood', 'Man', 'Hanoch', 'sheddeth', 'Se', 'Lift', 'hurt', 'overthrow', 'a', 'ears', 'beyond', 'hire', 'get', 'tree', 'baskets', 'part', 'Whose', 'made', 'serpent', 'yoke', 'tongues', 'hunting', 'Shur', 'lightly', 'Why', 'Pinon', 'couched', 'oxen', 'path', 'dead', 'betwixt', 'Happy', 'lien', 'seed', 'rank', 'Elah', 'faces', 'terror', 'cried', 'declare', 'few', 'younger', 'longeth', 'Canaanitish', 'Midianites', 'plenteousness', 'Mahalaleel', 'Eliphaz', 'walketh', 'hindermost', 'walking', 'are', 'eight', 'pursued', 'being', 'whose', 'seemed', 'Rameses', 'Behold', 'sod', 'watering', 'shekels', 'awaked', 'wor', 'Bethel', 'feeble', 'dost', 'fury', 'whosoever', 'spe', 'cru', 'Ethiopia', 'plagued', 'sheweth', 'caused', 'Abr', 'void', 'Pharaoh', 'anointedst', 'milch', 'clave', 'afterward', 'round', 'bundle', 'royal', 'thread', 'Some', 'Know', 'laded', 'bought', 'Abrah', 'herds', 'Kedemah', 'prepared', 'sevens', 'wrong', 'wells', 'sight', 'Hadad', 'wittingly', 'change', 'haven', 'ill', 'process', 'sa', 'With', 'hind', 'sepulchres', 'Beerlahairoi', 'restored', 'profit', 'turned', 'waters', 'Zimran', 'horse', 'closed', 'put', 'befell', 'broth', 'created', 'Jared', 'garment', 'intreated', 'harvest', 'Surely', 'perform', 'Hamathite', 'artificer', 'strife', 'instructor', 'be', 'moon', 'shot', 'high', 'years', 'fourth', 'bury', 'touch', 'office', 'thicket', 'Am', 'Lay', 'gift', 'shepherd', 'eat', 'possessi', 'rulers', 'distressed', ';', 'troubled', 'given', 'hated', 'butlers', 'shekel', 'wondering', 'Joktan', 'affliction', 'fetched', 'reviv', 'wouldest', 'worse', 'restrained', 'overdrive', 'begat', 'fir', 'husband', 'Shalem', 'Only', 'aprons', 'wall', 'east', 'Chesed', 'Oh', 'Phut', 'enmity', 'vale', 'four', 'Calah', 'bless', 'wi', 'Whence', 'cry', 'Ebal', 'Egy', 'Not', 'repenteth', 'goa', 'Manasseh', 'whole', 'land', 'purposing', 'morter', 'searched', 'supplanted', 'empty', 'nation', 'whomsoever', 'required', 'finished', 'rained', 'darkness', 'fifth', 'pigeon', 'henceforth', 'fugitive', 'kids', 'so', 'appe', 'stopped', 'bracelets', 'haste', 'ask', 'He', 'yielding', 'Philistines', 'Yet', ',', 'near', 'violently', 'budded', 'Spake', 'himself', 'begotten', 'whoredom', 'brimstone', 'bondman', 'wind', 'ended', 'Where', 'up', 'displease', 'half', 'Reuben', 'kn', 'youngest', 'evening', 'Ephra', 'Who', 'Naphtuhim', 'midst', 'hairy', 'saddled', 'die', 'therefore', 'beheld', 'throughout', 'not', 'add', 'the', 'these', 'meat', 'fie', 'Moreover', 'nights', 'spi', 'Sered', 'colt', 'Remain', 'Swear', 'Get', 'castles', 'Accad', 'Perizzit', 'sell', 'sat', 'handle', 'withheld', 'hold', 'lower', 'accept', 'willing', 'songs', 'Onan', 'changes', 'fetcht', 'in', 'thousand', 'eventide', 'herself', 'Nimrod', 'ten', 'ride', 'stayed', 'battle', 'breaketh', 'feast', 'this', 'Said', 'poplar', 'time', 'certain', 'company', 'lay', 'dew', 'merry', 'Jamin', 'officers', 'women', 'unawares', 'harp', 'Shillem', 'Send', 'Ohad', 'golden', 'deceitfully', 'mast', 'Elparan', 'brass', 'bowed', 'finding', 'inhabited', 'Beor', 'feeding', 'canst', 'ri', 'dwelled', 'sons', 'divine', 'pillar', 'priest', 'city', 'both', '.)', 'Euphrat', 'This', 'consumed', 'awoke', 'vail', 'straitly', 'marvelled', 'nineteen', 'folk', 'mouth', 'Canaan', 'seventeen', 'cometh', 'biteth', 'bottle', 'altogether', 'proved', 'Isui', 'fourscore', 'imagination', 'butler', 'tarry', 'waited', 'dreams', 'rul', 'wicked', 'Mizraim', 'corn', 'enemies', 'lambs', 'drinketh', 'destroy', 'kings', 'lack', 'shadow', 'wrestled', 'seekest', 'hence', 'Sitnah', 'asswaged', 'wick', 'season', 'last', 'daught', 'liveth', 'whereof', 'Haste', 'home', 'smite', 'thirteenth', 'nigh', 'firstborn', 'we', 'morning', 'hearken', 'mess', 'five', 'thirteen', 'ungirded', 'Elbethel', 'built', 'earrings', 'token', 'because', 'Zaavan', 'week', 'Thahash', 'dreamer', 'secret', 'co', 'righteous', 'drove', 'Sarai', 'shewed', 'carried', 'sort', 'name', 'thyself', 'hills', 'behind', 'edge', 'know', 'spee', 'fail', 'statutes', 'lights', 'grief', 'Esek', 'Zeboim', 'shore', 'again', 'spent', 'creature', 'Ishuah', 'husba', 'on', 'window', 'room', 'raven', 'plagues', 'compasseth', 'laws', 'linen', 'fall', 'thoroughly', 'lifted', 'Phichol', 'feel', '?', 'Ard', 'pilled', 'things', 'drink', 'To', 'errand', 'well', 'harm', 'Leummim', 'for', 'sto', 'Except', 'ey', 'spoiled', 'reigned', 'gathering', 'fig', 'firmame', 'Madai', 'ye', 'Dodanim', 'report', 'fatfleshed', 'Jimnah', 'pursue', 'living', 'da', 'wilderness', 'twice', 'lift', 'wounding', 'kindly', 'journeyed', 'father', 'travailed', 'cease', 'cattle', 'messengers', 'present', 'Kiriathaim', 'sporting', 'garden', 'gray', 'defiledst', 'gard', 'Wherefore', 'perfect', 'hast', 'Eden', 'Hebrew', 'pleasure', 'ravin', 'wolf', 'grap', 'ever', 'lie', 'graciously', 'dress', ',)', 'sepulchre', 'yet', 'endure', 'shew', 'breasts', 'belly', 'seventy', 'mistress', 'alo', 'Malchiel', 'Seba', 'multiplied', 'drinking', 'Levi', 'Ephraim', 'host', 'camels', 'Muppim', 'yield', 'afflict', 'clear', 'lest', 'Zillah', 'light', 'Kenizzites', 'was', 'hotly', 'ought', 'reserved', 'colours', 'gathered', 'Fill', 'prisoners', 'curseth', 'Zerah', 'communing', 'month', 'content', 'dominion', 'sou', 'through', 'done', 'occupation', 'sinners', 'abode', 'eyed', 'lead', 'lamb', 'cannot', 'birthright', 'mouths', 'laughed', 'Nineveh', "'", 'taken', 'pressed', 'Omar', 'out', 'tillest', 'gave', 'more', 'prevailed', 'urged', 'Zarah', 'rider', 'ne', 'run', 'her', 'Out', 'Abel', 'mi', 'Magdiel', 'yea', 'doest', 'Gera', 'butter', 'perpetual', 'pla', 'hanged', 'bound', 'build', 'Zepho', 'rose', 'possess', 'down', 'Which', 'delight', 'officer', 'keeper', 'anger', 'interpretation', 'fathers', 'away', 'saith', 'Tubal', 'Mizz', 'widow', 'Pathrusim', 'giveth', 'Jahzeel', 'hide', 'Egyptians', 'fetch', 'lovest', 'Deliver', 'basket', 'mourn', 'sworn', 'borders', 'bed', 'talking', 'named', 'beautiful', 'tiller', 'binding', 'desolate', 'that', 'knead', 'overspread', 'Paran', 'person', 'filled', 'eighteen', 'Obal', 'signet', 'blood', 'weaned', 'pilgrimage', 'gre', 'envied', 'Return', 'prophet', 'weep', 'Eber', 'glory', 'Havilah', 'peaceably', 'putting', 'virgin', 'alive', 'breadth', 'Babel', 'or', 'mercy', 'betimes', 'traffick', 'everlasting', 'mighty', 'Joseph', 'reign', 'heat', 'Hitti', 'Assyria', 'So', 'asketh', 'remembered', 'Zoar', 'mules', 'forth', 'shepherds', 'physicians', 'dipped', 'thy', 'mention', 'tent', 'kindness', 'commandments', 'excellency', 'before', 'Lot', 'roll', 'Pau', 'weig', 'led', 'bough', 'subtilty', 'savoury', 'army', 'maidservants', 'harlot', 'herb', 'hazel', 'labour', ...}
sorted(set(text3))
['!', "'", '(', ')', ',', ',)', '.', '.)', ':', ';', ';)', '?', '?)', 'A', 'Abel', 'Abelmizraim', 'Abidah', 'Abide', 'Abimael', 'Abimelech', 'Abr', 'Abrah', 'Abraham', 'Abram', 'Accad', 'Achbor', 'Adah', 'Adam', 'Adbeel', 'Admah', 'Adullamite', 'After', 'Aholibamah', 'Ahuzzath', 'Ajah', 'Akan', 'All', 'Allonbachuth', 'Almighty', 'Almodad', 'Also', 'Alvah', 'Alvan', 'Am', 'Amal', 'Amalek', 'Amalekites', 'Ammon', 'Amorite', 'Amorites', 'Amraphel', 'An', 'Anah', 'Anamim', 'And', 'Aner', 'Angel', 'Appoint', 'Aram', 'Aran', 'Ararat', 'Arbah', 'Ard', 'Are', 'Areli', 'Arioch', 'Arise', 'Arkite', 'Arodi', 'Arphaxad', 'Art', 'Arvadite', 'As', 'Asenath', 'Ashbel', 'Asher', 'Ashkenaz', 'Ashteroth', 'Ask', 'Asshur', 'Asshurim', 'Assyr', 'Assyria', 'At', 'Atad', 'Avith', 'Baalhanan', 'Babel', 'Bashemath', 'Be', 'Because', 'Becher', 'Bedad', 'Beeri', 'Beerlahairoi', 'Beersheba', 'Behold', 'Bela', 'Belah', 'Benam', 'Benjamin', 'Beno', 'Beor', 'Bera', 'Bered', 'Beriah', 'Bethel', 'Bethlehem', 'Bethuel', 'Beware', 'Bilhah', 'Bilhan', 'Binding', 'Birsha', 'Bless', 'Blessed', 'Both', 'Bow', 'Bozrah', 'Bring', 'But', 'Buz', 'By', 'Cain', 'Cainan', 'Calah', 'Calneh', 'Can', 'Cana', 'Canaan', 'Canaanite', 'Canaanites', 'Canaanitish', 'Caphtorim', 'Carmi', 'Casluhim', 'Cast', 'Cause', 'Chaldees', 'Chedorlaomer', 'Cheran', 'Cherubims', 'Chesed', 'Chezib', 'Come', 'Cursed', 'Cush', 'Damascus', 'Dan', 'Day', 'Deborah', 'Dedan', 'Deliver', 'Diklah', 'Din', 'Dinah', 'Dinhabah', 'Discern', 'Dishan', 'Dishon', 'Do', 'Dodanim', 'Dothan', 'Drink', 'Duke', 'Dumah', 'Earth', 'Ebal', 'Eber', 'Edar', 'Eden', 'Edom', 'Edomites', 'Egy', 'Egypt', 'Egyptia', 'Egyptian', 'Egyptians', 'Ehi', 'Elah', 'Elam', 'Elbethel', 'Eldaah', 'EleloheIsrael', 'Eliezer', 'Eliphaz', 'Elishah', 'Ellasar', 'Elon', 'Elparan', 'Emins', 'En', 'Enmishpat', 'Eno', 'Enoch', 'Enos', 'Ephah', 'Epher', 'Ephra', 'Ephraim', 'Ephrath', 'Ephron', 'Er', 'Erech', 'Eri', 'Es', 'Esau', 'Escape', 'Esek', 'Eshban', 'Eshcol', 'Ethiopia', 'Euphrat', 'Euphrates', 'Eve', 'Even', 'Every', 'Except', 'Ezbon', 'Ezer', 'Fear', 'Feed', 'Fifteen', 'Fill', 'For', 'Forasmuch', 'Forgive', 'From', 'Fulfil', 'G', 'Gad', 'Gaham', 'Galeed', 'Gatam', 'Gather', 'Gaza', 'Gentiles', 'Gera', 'Gerar', 'Gershon', 'Get', 'Gether', 'Gihon', 'Gilead', 'Girgashites', 'Girgasite', 'Give', 'Go', 'God', 'Gomer', 'Gomorrah', 'Goshen', 'Guni', 'Hadad', 'Hadar', 'Hadoram', 'Hagar', 'Haggi', 'Hai', 'Ham', 'Hamathite', 'Hamor', 'Hamul', 'Hanoch', 'Happy', 'Haran', 'Hast', 'Haste', 'Have', 'Havilah', 'Hazarmaveth', 'Hazezontamar', 'Hazo', 'He', 'Hear', 'Heaven', 'Heber', 'Hebrew', 'Hebrews', 'Hebron', 'Hemam', 'Hemdan', 'Here', 'Hereby', 'Heth', 'Hezron', 'Hiddekel', 'Hinder', 'Hirah', 'His', 'Hitti', 'Hittite', 'Hittites', 'Hivite', 'Hobah', 'Hori', 'Horite', 'Horites', 'How', 'Hul', 'Huppim', 'Husham', 'Hushim', 'Huz', 'I', 'If', 'In', 'Irad', 'Iram', 'Is', 'Isa', 'Isaac', 'Iscah', 'Ishbak', 'Ishmael', 'Ishmeelites', 'Ishuah', 'Isra', 'Israel', 'Issachar', 'Isui', 'It', 'Ithran', 'Jaalam', 'Jabal', 'Jabbok', 'Jac', 'Jachin', 'Jacob', 'Jahleel', 'Jahzeel', 'Jamin', 'Japhe', 'Japheth', 'Jared', 'Javan', 'Jebusite', 'Jebusites', 'Jegarsahadutha', 'Jehovahjireh', 'Jemuel', 'Jerah', 'Jetheth', 'Jetur', 'Jeush', 'Jezer', 'Jidlaph', 'Jimnah', 'Job', 'Jobab', 'Jokshan', 'Joktan', 'Jordan', 'Joseph', 'Jubal', 'Judah', 'Judge', 'Judith', 'Kadesh', 'Kadmonites', 'Karnaim', 'Kedar', 'Kedemah', 'Kemuel', 'Kenaz', 'Kenites', 'Kenizzites', 'Keturah', 'Kiriathaim', 'Kirjatharba', 'Kittim', 'Know', 'Kohath', 'Kor', 'Korah', 'LO', 'LORD', 'Laban', 'Lahairoi', 'Lamech', 'Lasha', 'Lay', 'Leah', 'Lehabim', 'Lest', 'Let', 'Letushim', 'Leummim', 'Levi', 'Lie', 'Lift', 'Lo', 'Look', 'Lot', 'Lotan', 'Lud', 'Ludim', 'Luz', 'Maachah', 'Machir', 'Machpelah', 'Madai', 'Magdiel', 'Magog', 'Mahalaleel', 'Mahalath', 'Mahanaim', 'Make', 'Malchiel', 'Male', 'Mam', 'Mamre', 'Man', 'Manahath', 'Manass', 'Manasseh', 'Mash', 'Masrekah', 'Massa', 'Matred', 'Me', 'Medan', 'Mehetabel', 'Mehujael', 'Melchizedek', 'Merari', 'Mesha', 'Meshech', 'Mesopotamia', 'Methusa', 'Methusael', 'Methuselah', 'Mezahab', 'Mibsam', 'Mibzar', 'Midian', 'Midianites', 'Milcah', 'Mishma', 'Mizpah', 'Mizraim', 'Mizz', 'Moab', 'Moabites', 'Moreh', 'Moreover', 'Moriah', 'Muppim', 'My', 'Naamah', 'Naaman', 'Nahath', 'Nahor', 'Naphish', 'Naphtali', 'Naphtuhim', 'Nay', 'Nebajoth', 'Neither', 'Night', 'Nimrod', 'Nineveh', 'Noah', 'Nod', 'Not', 'Now', 'O', 'Obal', 'Of', 'Oh', 'Ohad', 'Omar', 'On', 'Onam', 'Onan', 'Only', 'Ophir', 'Our', 'Out', 'Padan', 'Padanaram', 'Paran', 'Pass', 'Pathrusim', 'Pau', 'Peace', 'Peleg', 'Peniel', 'Penuel', 'Peradventure', 'Perizzit', 'Perizzite', 'Perizzites', 'Phallu', 'Phara', 'Pharaoh', 'Pharez', 'Phichol', 'Philistim', 'Philistines', 'Phut', 'Phuvah', 'Pildash', 'Pinon', 'Pison', 'Potiphar', 'Potipherah', 'Put', 'Raamah', 'Rachel', 'Rameses', 'Rebek', 'Rebekah', 'Rehoboth', 'Remain', 'Rephaims', 'Resen', 'Return', 'Reu', 'Reub', 'Reuben', 'Reuel', 'Reumah', 'Riphath', 'Rosh', 'Sabtah', 'Sabtech', 'Said', 'Salah', 'Salem', 'Samlah', 'Sarah', 'Sarai', 'Saul', 'Save', 'Say', 'Se', 'Seba', 'See', 'Seeing', 'Seir', 'Sell', 'Send', 'Sephar', 'Serah', 'Sered', 'Serug', 'Set', 'Seth', 'Shalem', 'Shall', 'Shalt', 'Shammah', 'Shaul', 'Shaveh', 'She', 'Sheba', 'Shebah', 'Shechem', 'Shed', 'Shel', 'Shelah', 'Sheleph', 'Shem', 'Shemeber', 'Shepho', 'Shillem', 'Shiloh', 'Shimron', 'Shinab', 'Shinar', 'Shobal', 'Should', 'Shuah', 'Shuni', 'Shur', 'Sichem', 'Siddim', 'Sidon', 'Simeon', 'Sinite', 'Sitnah', 'Slay', 'So', 'Sod', 'Sodom', 'Sojourn', 'Some', 'Spake', 'Speak', 'Spirit', 'Stand', 'Succoth', 'Surely', 'Swear', 'Syrian', 'Take', 'Tamar', 'Tarshish', 'Tebah', 'Tell', 'Tema', 'Teman', 'Temani', 'Terah', 'Thahash', 'That', 'The', 'Then', 'There', 'Therefore', 'These', 'They', 'Thirty', 'This', 'Thorns', 'Thou', 'Thus', 'Thy', 'Tidal', 'Timna', 'Timnah', 'Timnath', 'Tiras', 'To', 'Togarmah', 'Tola', 'Tubal', 'Tubalcain', 'Twelve', 'Two', 'Unstable', 'Until', 'Unto', 'Up', 'Upon', 'Ur', 'Uz', 'Uzal', 'We', 'What', 'When', 'Whence', 'Where', 'Whereas', 'Wherefore', 'Which', 'While', 'Who', 'Whose', 'Whoso', 'Why', 'Wilt', 'With', 'Woman', 'Ye', 'Yea', 'Yet', 'Zaavan', 'Zaphnathpaaneah', 'Zar', 'Zarah', 'Zeboiim', 'Zeboim', 'Zebul', 'Zebulun', 'Zemarite', 'Zepho', 'Zerah', 'Zibeon', 'Zidon', 'Zillah', 'Zilpah', 'Zimran', 'Ziphion', 'Zo', 'Zoar', 'Zohar', 'Zuzims', 'a', 'abated', 'abide', 'able', 'abode', 'abomination', 'about', 'above', 'abroad', 'absent', 'abundantly', 'accept', 'accepted', 'according', 'acknowledged', 'activity', 'add', 'adder', 'afar', 'afflict', 'affliction', 'afraid', 'after', 'afterward', 'afterwards', 'aga', 'again', 'against', 'age', 'aileth', 'air', 'al', 'alive', 'all', 'almon', 'alo', 'alone', 'aloud', 'also', 'altar', 'altogether', 'always', 'am', 'among', 'amongst', 'an', 'and', 'angel', 'angels', 'anger', 'angry', 'anguish', 'anointedst', 'anoth', 'another', 'answer', 'answered', 'any', 'anything', 'appe', 'appear', 'appeared', 'appease', 'appoint', 'appointed', 'aprons', 'archer', 'archers', 'are', 'arise', 'ark', 'armed', 'arms', 'army', 'arose', 'arrayed', 'art', 'artificer', 'as', 'ascending', 'ash', 'ashamed', 'ask', 'asked', 'asketh', 'ass', 'assembly', 'asses', 'assigned', 'asswaged', 'at', 'attained', 'audience', 'avenged', 'aw', 'awaked', 'away', 'awoke', 'back', 'backward', 'bad', 'bade', 'badest', 'badne', 'bak', 'bake', 'bakemeats', 'baker', 'bakers', 'balm', 'bands', 'bank', 'bare', 'barr', 'barren', 'basket', 'baskets', 'battle', 'bdellium', 'be', 'bear', 'beari', 'bearing', 'beast', 'beasts', 'beautiful', 'became', 'because', 'become', 'bed', 'been', 'befall', 'befell', 'before', 'began', 'begat', 'beget', 'begettest', 'begin', 'beginning', 'begotten', 'beguiled', 'beheld', 'behind', 'behold', 'being', 'believed', 'belly', 'belong', 'beneath', 'bereaved', 'beside', 'besides', 'besought', 'best', 'betimes', 'better', 'between', 'betwixt', 'beyond', 'binding', 'bird', 'birds', 'birthday', 'birthright', 'biteth', 'bitter', 'blame', 'blameless', 'blasted', 'bless', 'blessed', 'blesseth', 'blessi', 'blessing', 'blessings', 'blindness', 'blood', 'blossoms', 'bodies', 'boldly', 'bondman', 'bondmen', 'bondwoman', 'bone', 'bones', 'book', 'booths', 'border', 'borders', 'born', 'bosom', 'both', 'bottle', 'bou', 'boug', 'bough', 'bought', 'bound', 'bow', 'bowed', 'bowels', 'bowing', 'boys', 'bracelets', 'branches', 'brass', 'bre', 'breach', 'bread', 'breadth', 'break', 'breaketh', 'breaking', 'breasts', 'breath', 'breathed', 'breed', 'brethren', 'brick', 'brimstone', 'bring', 'brink', 'broken', 'brook', 'broth', 'brother', 'brought', 'brown', 'bruise', 'budded', 'build', 'builded', 'built', 'bulls', 'bundle', 'bundles', 'burdens', 'buried', 'burn', 'burning', 'burnt', 'bury', 'buryingplace', 'business', 'but', 'butler', 'butlers', 'butlership', 'butter', 'buy', 'by', 'cakes', 'calf', 'call', 'called', 'came', 'camel', 'camels', 'camest', 'can', 'cannot', 'canst', 'captain', 'captive', 'captives', 'carcases', 'carried', 'carry', 'cast', 'castles', 'catt', 'cattle', 'caught', 'cause', 'caused', 'cave', 'cease', 'ceased', 'certain', 'certainly', 'chain', 'chamber', 'change', 'changed', 'changes', 'charge', 'charged', 'chariot', 'chariots', 'chesnut', 'chi', 'chief', 'child', 'childless', 'childr', 'children', 'chode', 'choice', 'chose', 'circumcis', 'circumcise', 'circumcised', 'citi', 'cities', 'city', 'clave', 'clean', 'clear', 'cleave', 'clo', 'closed', 'clothed', 'clothes', 'cloud', 'clusters', 'co', 'coat', 'coats', 'coffin', 'cold', ...]
sorted(set(text9))
['!', '!"', "!'", '!--', '"', '"\'', '"--', '";', "'", "'--", "'.", '\'."', "';", "'?", '\'?"', '(', ')', '),', ').', ')."', '*', ',', ',"', ",'", ',\'"', '-', '--', '--"', "--'", '.', '."', '."\'', ".'", '.\'"', '.--', '1350', '1908', '217', '45', '7', ':', ':--', ';', '?', '?"', "?'", '?)', 'A', 'ACCUSER', 'ACROSS', 'ANARCHY', 'AS', 'AT', 'About', 'Above', 'Absurd', 'Accepting', 'Acheron', 'Across', 'Acting', 'Adam', 'Admiral', 'Aesop', 'African', 'After', 'Afterwards', 'Again', 'Against', 'Ages', 'Ah', 'Albany', 'Albert', 'Alhambra', 'Alice', 'All', 'Ally', 'Almighty', 'Almost', 'Along', 'Alpine', 'Also', 'Am', 'America', 'American', 'An', 'Anarch', 'Anarchist', 'Anarchists', 'Anarchy', 'And', 'Anne', 'Another', 'Answer', 'Anyhow', 'Archdeacon', 'Are', 'Argus', 'Aristocrats', 'Armageddon', 'As', 'Asiatic', 'Asked', 'Assyrian', 'At', 'Attila', 'B', 'BEFORE', 'BURGUNDY', 'Baal', 'Babel', 'Bad', 'Bagdad', 'Baker', 'Bank', 'Bannockburn', 'Barnum', 'Baron', 'Battersea', 'Battle', 'Be', 'Because', 'Before', 'Beg', 'Being', 'Bellegarde', 'Bentley', 'Besides', 'Better', 'Between', 'Beyond', 'Bible', 'Bibles', 'Biffin', 'Bigamists', 'Blessed', 'Blood', 'Bloody', 'Board', 'Bogy', 'Bohemian', 'Both', 'Bounder', 'Bradshaw', 'Breakfast', 'Brighton', 'British', 'Brother', 'Bruce', 'Buck', 'Buddhism', 'Buddhist', 'Buildings', 'Bull', 'Bulwer', 'Burgundy', 'Burnt', 'But', 'Buttons', 'By', 'Byron', 'C', 'CHAPTER', 'CHASE', 'CONDUCT', 'CRIMINALS', 'Caesar', 'Calais', 'Call', 'Can', 'Candidates', 'Cannot', 'Capital', 'Captain', 'Carnation', 'Catacombs', 'Catch', 'Cathedral', 'Catholic', 'Catholics', 'Central', 'Certainly', 'Chairman', 'Chamberlain', 'Chamberlains', 'Channel', 'Chaos', 'Charing', 'Cheapside', 'Chesterton', 'Children', 'Chinaman', 'Chinese', 'Chiswick', 'Chretiens', 'Christendom', 'Christian', 'Christians', 'Christmas', 'Church', 'Circus', 'City', 'Clapham', 'Clapping', 'Clashing', 'Clean', 'Clerihew', 'Clever', 'Close', 'Clothes', 'Cluny', 'Cockney', 'Cold', 'Colney', 'Colonel', 'Colt', 'Come', 'Common', 'Compared', 'Comrade', 'Comrades', 'Concealment', 'Confound', 'Consequently', 'Constitution', 'Corps', 'Could', 'Council', 'Couples', 'Court', 'Covent', 'Creation', 'Cross', 'Crown', 'Cruelty', 'Crusade', 'Cups', 'Czar', 'D', 'DE', 'DETECTIVE', 'DUEL', 'Damn', 'Dawn', 'Days', 'De', 'Dead', 'Death', 'Delightful', 'Depend', 'Detective', 'Devil', 'Dickens', 'Did', 'Directly', 'Disguised', 'Disgusting', 'Do', 'Dock', 'Doctor', 'Does', 'Don', 'Dosition', 'Dover', 'Down', 'Dr', 'Dressed', 'Ducroix', 'Dunciad', 'Dunedin', 'Dynamite', 'Dynamiter', 'Dynamiters', 'EARTH', 'EXPLAINS', 'EXPOSURE', 'Each', 'Earl', 'Early', 'East', 'Eden', 'Edgware', 'Edmund', 'Egyptian', 'Eh', 'Either', 'Elizabethan', 'Embankment', 'Emperors', 'Empire', 'End', 'Energy', 'Engage', 'England', 'English', 'Erie', 'Et', 'Europe', 'European', 'Eustache', 'Even', 'Ever', 'Every', 'Everyone', 'Everything', 'Evidently', 'Exactly', 'Excuse', 'Exhibition', 'Extraordinary', 'FEAR', 'FEAST', 'FRIEND', 'Family', 'Far', 'Father', 'February', 'Fight', 'Finally', 'Finish', 'First', 'Fleet', 'Fly', 'Fools', 'For', 'Foremost', 'Four', 'France', 'French', 'Frenchman', 'Frenchmen', 'Friday', 'From', 'Funny', 'G', 'GABRIEL', 'Gabriel', 'Garden', 'Gardens', 'Gemini', 'Gendarmerie', 'General', 'Genesis', 'Gentleman', 'Gentlemen', 'George', 'German', 'Germany', 'Get', 'Getting', 'Give', 'Given', 'Glumpe', 'Go', 'God', 'Godforsaken', 'Gogol', 'Going', 'Good', 'Got', 'Government', 'Governments', 'Great', 'Greek', 'Green', 'Gregory', 'Grey', 'Grub', 'Guinea', 'Had', 'Hairy', 'Half', 'Hall', 'Hanwell', 'Harrow', 'Hartle', 'Has', 'Hatch', 'Have', 'Haven', 'Having', 'He', 'Healy', 'Heavy', 'Hell', 'Hence', 'Here', 'Herod', 'High', 'Hill', 'Him', 'His', 'Hitherto', 'Hold', 'Holiday', 'Homeric', 'Honesty', 'Honour', 'Hoping', 'Horatius', 'Horrible', 'Horses', 'How', 'However', 'Humanitarian', 'Humanity', 'Hurt', 'I', 'II', 'III', 'IN', 'IV', 'IX', 'Idiots', 'If', 'Impressionism', 'In', 'Indeed', 'India', 'Inside', 'Inspector', 'Insulted', 'Into', 'Ireland', 'Is', 'It', 'Its', 'Jabberwock', 'Jack', 'Jacobins', 'Jericho', 'Jerusalem', 'Jew', 'Jewels', 'Join', 'Joseph', 'Judas', 'Just', 'K', 'Keep', 'Kensington', 'Kill', 'King', 'LITTLE', 'Lancy', 'Lane', 'Last', 'Law', 'Le', 'Leave', 'Left', 'Legion', 'Leicester', 'Let', 'Life', 'Light', 'Like', 'Lion', 'Listen', 'Little', 'Lo', 'London', 'Look', 'Lord', 'Lucian', 'Ludgate', 'Lush', 'Lust', 'Lytton', 'MAN', 'Macon', 'Man', 'Mansoul', 'Many', 'Marat', 'Marquis', 'Martin', 'May', 'Mayor', 'Mean', 'Meanwhile', 'Mediterranean', 'Memnon', 'Men', 'Mental', 'Mere', 'Middle', 'Might', 'Millionaires', 'Milton', 'Mind', 'Miss', 'Moderate', 'Mohammedan', 'Monday', 'Monsieur', 'Montaigne', 'Moorish', 'More', 'Most', 'Mr', 'Much', 'Murderers', 'Musee', 'Museum', 'Must', 'My', 'NEXT', 'Naples', 'Napoleon', 'Naturally', 'Nature', 'Need', 'Nevertheless', 'New', 'Next', 'Nietzsche', 'Nihilist', 'No', 'Nobody', 'Nonconformists', 'Nonsence', 'Nonsense', 'Nor', 'Norman', 'North', 'Nose', 'Not', 'Nothing', 'Now', 'OF', 'Of', 'Oh', 'On', 'Once', 'One', 'Only', 'Or', 'Ordinarily', 'Originally', 'Our', 'Over', 'PARK', 'PHILOSOPHERS', 'POETS', 'POLICE', 'PRESIDENT', 'PROFESSOR', 'PURSUIT', 'Paddington', 'Pagens', 'Pan', 'Panic', 'Pantheist', 'Paradise', 'Paris', 'Park', 'Parkers', 'Partly', 'Pathetic', 'Paul', 'Paumanok', 'Peabody', 'Perfectly', 'Perhaps', 'Perjury', 'Permit', 'Persian', 'Peste', 'Piccadilly', 'Pinckwerts', 'Place', 'Please', 'Poe', 'Poland', 'Pole', 'Police', 'Polish', 'Pommery', 'Pope', 'Pray', 'Prepare', 'President', 'Prey', 'Priests', 'Professor', 'Project', 'Proverb', 'Pull', 'Puritan', 'Put', 'Queen', 'Quite', 'Railway', 'Raphaelite', 'Ratcliffe', 'Really', 'Red', 'Refreshments', 'Rembrandt', 'Renaissance', 'Renard', 'Republic', 'Resuming', 'Revolt', 'Revolution', 'Right', 'Rights', 'Road', 'Roared', 'Robespierre', 'Roland', 'Roman', 'Romans', 'Rosamond', 'Round', 'Russia', 'Russian', 'Rustic', 'SAFFRON', 'SECRET', 'SIT', 'SIX', 'SNOWDROP', 'SPECTACLES', 'SUCH', 'SYME', 'Sabbatarian', 'Sabbath', 'Saffron', 'Saint', 'Samoa', 'Saracenic', 'Satan', 'Satanic', 'Saturday', 'Saumur', 'Save', 'Savoy', 'Scarcely', 'School', 'Schools', 'Science', 'Scotch', 'Scotland', 'Secret', 'Secretary', 'Seeking', 'Serious', 'Service', 'Seven', 'Shall', 'Shame', 'She', 'Shops', 'Show', 'Sicily', 'Since', 'Sir', 'Skye', 'Slav', 'Sloane', 'Sloper', 'Snow', 'Snowdrop', 'So', 'Soho', 'Soleil', 'Some', 'Something', 'Sometimes', 'Somewhat', 'Somewhere', 'Soon', 'South', 'Southend', 'Spanish', 'Sporting', 'Square', 'St', 'Stare', 'State', 'Still', 'Stop', 'Strangers', 'Strasbourg', 'Street', 'Strike', 'Such', 'Suddenly', 'Suffice', 'Sunday', 'Superbly', 'Superstition', 'Suppose', 'Supreme', 'Surely', 'Surrey', 'Sussex', 'Swiftly', 'Swords', 'Syme', 'Symes', 'TALE', 'THE', 'THURSDAY', 'TWO', 'Take', 'Taking', 'Talk', 'Tall', 'Telephone', 'Tell', 'Ten', 'Thames', 'Thank', 'That', 'The', 'Their', 'Then', 'Theoretically', 'There', 'Therefore', 'These', 'They', 'Thieves', 'Thing', 'Things', 'This', 'Those', 'Though', 'Three', 'Through', 'Throughout', 'Thursday', 'Thursdays', 'Thus', 'Thy', 'Tim', 'Timbuctoo', 'Time', 'Times', 'To', 'Too', 'Tower', 'Traffic', 'Tree', 'Truth', 'Try', 'Tuesday', 'Tupper', 'Turning', 'Tusitala', 'Twenty', 'Twice', 'Two', 'UNACCOUNTABLE', 'URGING', 'Under', 'Underground', 'Unless', 'Up', 'Upon', 'Us', 'Utterly', 'V', 'VI', 'VII', 'VIII', 'Vampire', 'Ven', 'Very', 'Victoria', 'Virtue', 'Vulgar', 'WAS', 'WHEN', 'WHO', 'WORMS', 'Wagner', 'Wake', 'Walking', 'Was', 'Wasn', 'We', 'Weak', 'Wednesday', 'Well', 'West', 'Westminster', 'What', 'Whatever', 'Wheel', 'When', 'Whenever', 'Where', 'Whether', 'Which', 'While', 'Whistler', 'Who', 'Whom', 'Why', 'Wilks', 'Will', 'Wishing', 'With', 'Witherspoon', 'Without', 'Wonderland', 'Worms', 'Would', 'Wrong', 'Wrongs', 'X', 'XI', 'XII', 'XIII', 'XIV', 'XV', 'Yard', 'Yea', 'Yes', 'Yet', 'You', 'Young', 'Your', 'Zoo', 'Zoological', 'Zso', 'Zumpt', '[', ']', 'a', 'abandoned', 'abandonment', 'aberrations', 'abiding', 'able', 'abnegations', 'abnormal', 'abnormally', 'abolish', 'abolished', 'abolishes', 'about', 'above', 'abrupt', 'abruptly', 'abruptness', 'absence', 'absent', 'absently', 'absentminded', 'absinth', 'absolute', 'absolutely', 'abstinence', 'abstract', 'abstractedly', 'abstraction', 'absurd', 'absurdity', 'abused', 'abyss', 'abysses', 'accent', 'accept', 'acceptance', 'accepted', 'accident', 'accidental', 'accidentally', 'accidents', 'acclaim', 'accordingly', 'accuracy', 'accursed', 'accuse', 'accused', 'accuser', 'accuses', 'acknowledged', 'acquaintance', 'acquainted', 'across', 'act', 'acted', 'acting', 'action', 'actions', 'actor', 'acts', 'actual', 'actuality', 'actually', 'acumen', 'adamantine', 'added', 'addition', 'additional', 'address', 'addressed', 'addresses', 'addressing', 'admirable', 'admiration', 'admire', 'admired', 'admirers', 'admit', 'adopt', 'adopted', 'adorable', 'advance', 'advancing', 'advantage', 'advantages', 'adventure', 'adventurer', 'adventurers', 'adventures', 'advertisement', 'advice', 'advise', 'advised', 'aesthete', 'affably', 'affair', 'affected', 'afford', 'afraid', 'after', 'afterglow', 'afternoon', 'afterwards', 'again', 'against', 'age', 'aged', 'agent', 'aggressive', 'ago', 'agonies', 'agonised', 'agony', 'agree', 'agreed', 'ahead', 'ailment', 'aim', 'aimed', 'aimless', 'aims', 'air', 'airless', 'airs', 'airy', 'alarm', 'alarmed', 'ale', 'alien', 'aliens', 'alighted', 'alive', 'all', 'alleged', 'allegiance', 'allegoric', 'allegory', 'alley', 'allies', 'allowed', 'allusion', 'allusions', 'ally', 'almond', 'almost', 'alone', 'along', 'alongside', 'aloud', 'alphabet', 'alphabetical', 'already', 'also', 'alter', 'alteration', 'altered', 'alternate', 'alternative', 'although', 'altogether', 'always', 'am', 'amain', 'amazement', 'ambassador', 'ambassadors', 'ambiguous', 'ambling', ...]
len((set(text9)))
6807
from_future_import division
File "/tmp/ipykernel_4488/2528311420.py", line 1 from_future_import division ^ SyntaxError: invalid syntax
len(text9) / len(set(text9))
10.167915381225209
text9.count('SPECTACLES')
1
text9.count('Anarchist')
6
text9.count('always')
43
text5.count('lol')
704
text4.count('a')
2184
text4.count('a') / len(text4)
0.01457973123627309
100 * text5.count('lol') / len(text5)
1.5640968673628082
def lexical_diversity(text):
return len(text) / len(set(text))
lexical_diversity(text9)
10.167915381225209
def percentage(count,total):
return 100 * count / total
text5.count('lol')
704
len(text5)
45010
percentage(704,45010)
1.5640968673628082
sent1 =['Call','me','Ishmael','.']
lexical_diversity(sent1)
1.0
ex1=['Monty','Python','and','the','Holy','Grail']
sorted(ex1)
['Grail', 'Holy', 'Monty', 'Python', 'and', 'the']
set(ex1)
{'Grail', 'Holy', 'Monty', 'Python', 'and', 'the'}
len(set(ex1))
6
ex1.append('some')
ex1
['Monty', 'Python', 'and', 'the', 'Holy', 'Grail', 'some']
ex1 + ['some']
['Monty', 'Python', 'and', 'the', 'Holy', 'Grail', 'some', 'some']
text1.count('heaven')
40
text4.index('awaken')
173
text9.index('Anarchist')
6942
text9[2000:2025]
['one', 'burst', 'of', 'blazing', 'light', ',', 'one', 'peal', 'of', 'perfect', 'thunder', ',', 'than', 'the', 'mere', 'common', 'bodies', 'of', 'a', 'few', 'shapeless', 'policemen', '.', 'An', 'artist']
sent[5:8]
--------------------------------------------------------------------------- NameError Traceback (most recent call last) /tmp/ipykernel_4488/1266757893.py in <module> ----> 1 sent[5:8] NameError: name 'sent' is not defined
sent= ['word1','word2','word3','word4','word5','word6','word7','word8','word9','word10']
sent[5:8]
['word6', 'word7', 'word8']
sent[:3]
['word1', 'word2', 'word3']
text9[15000:]
['our', 'frontiers', '.', 'Their', 'bolt', 'is', 'ready', 'to', 'fall', '.', 'A', 'moment', 'more', ',', 'and', 'you', 'may', 'lose', 'the', 'glory', 'of', 'working', 'with', 'us', ',', 'perhaps', 'the', 'glory', 'of', 'dying', 'with', 'the', 'last', 'heroes', 'of', 'the', 'world', '."', '"', 'It', 'is', 'a', 'chance', 'not', 'to', 'be', 'missed', ',', 'certainly', ',"', 'assented', 'Syme', ',', '"', 'but', 'still', 'I', 'do', 'not', 'quite', 'understand', '.', 'I', 'know', 'as', 'well', 'as', 'anybody', 'that', 'the', 'modern', 'world', 'is', 'full', 'of', 'lawless', 'little', 'men', 'and', 'mad', 'little', 'movements', '.', 'But', ',', 'beastly', 'as', 'they', 'are', ',', 'they', 'generally', 'have', 'the', 'one', 'merit', 'of', 'disagreeing', 'with', 'each', 'other', '.', 'How', 'can', 'you', 'talk', 'of', 'their', 'leading', 'one', 'army', 'or', 'hurling', 'one', 'bolt', '.', 'What', 'is', 'this', 'anarchy', '?"', '"', 'Do', 'not', 'confuse', 'it', ',"', 'replied', 'the', 'constable', ',', '"', 'with', 'those', 'chance', 'dynamite', 'outbreaks', 'from', 'Russia', 'or', 'from', 'Ireland', ',', 'which', 'are', 'really', 'the', 'outbreaks', 'of', 'oppressed', ',', 'if', 'mistaken', ',', 'men', '.', 'This', 'is', 'a', 'vast', 'philosophic', 'movement', ',', 'consisting', 'of', 'an', 'outer', 'and', 'an', 'inner', 'ring', '.', 'You', 'might', 'even', 'call', 'the', 'outer', 'ring', 'the', 'laity', 'and', 'the', 'inner', 'ring', 'the', 'priesthood', '.', 'I', 'prefer', 'to', 'call', 'the', 'outer', 'ring', 'the', 'innocent', 'section', ',', 'the', 'inner', 'ring', 'the', 'supremely', 'guilty', 'section', '.', 'The', 'outer', 'ring', '--', 'the', 'main', 'mass', 'of', 'their', 'supporters', '--', 'are', 'merely', 'anarchists', ';', 'that', 'is', ',', 'men', 'who', 'believe', 'that', 'rules', 'and', 'formulas', 'have', 'destroyed', 'human', 'happiness', '.', 'They', 'believe', 'that', 'all', 'the', 'evil', 'results', 'of', 'human', 'crime', 'are', 'the', 'results', 'of', 'the', 'system', 'that', 'has', 'called', 'it', 'crime', '.', 'They', 'do', 'not', 'believe', 'that', 'the', 'crime', 'creates', 'the', 'punishment', '.', 'They', 'believe', 'that', 'the', 'punishment', 'has', 'created', 'the', 'crime', '.', 'They', 'believe', 'that', 'if', 'a', 'man', 'seduced', 'seven', 'women', 'he', 'would', 'naturally', 'walk', 'away', 'as', 'blameless', 'as', 'the', 'flowers', 'of', 'spring', '.', 'They', 'believe', 'that', 'if', 'a', 'man', 'picked', 'a', 'pocket', 'he', 'would', 'naturally', 'feel', 'exquisitely', 'good', '.', 'These', 'I', 'call', 'the', 'innocent', 'section', '."', '"', 'Oh', '!"', 'said', 'Syme', '.', '"', 'Naturally', ',', 'therefore', ',', 'these', 'people', 'talk', 'about', "'", 'a', 'happy', 'time', 'coming', "';", "'", 'the', 'paradise', 'of', 'the', 'future', "';", "'", 'mankind', 'freed', 'from', 'the', 'bondage', 'of', 'vice', 'and', 'the', 'bondage', 'of', 'virtue', ",'", 'and', 'so', 'on', '.', 'And', 'so', 'also', 'the', 'men', 'of', 'the', 'inner', 'circle', 'speak', '--', 'the', 'sacred', 'priesthood', '.', 'They', 'also', 'speak', 'to', 'applauding', 'crowds', 'of', 'the', 'happiness', 'of', 'the', 'future', ',', 'and', 'of', 'mankind', 'freed', 'at', 'last', '.', 'But', 'in', 'their', 'mouths', '"--', 'and', 'the', 'policeman', 'lowered', 'his', 'voice', '--"', 'in', 'their', 'mouths', 'these', 'happy', 'phrases', 'have', 'a', 'horrible', 'meaning', '.', 'They', 'are', 'under', 'no', 'illusions', ';', 'they', 'are', 'too', 'intellectual', 'to', 'think', 'that', 'man', 'upon', 'this', 'earth', 'can', 'ever', 'be', 'quite', 'free', 'of', 'original', 'sin', 'and', 'the', 'struggle', '.', 'And', 'they', 'mean', 'death', '.', 'When', 'they', 'say', 'that', 'mankind', 'shall', 'be', 'free', 'at', 'last', ',', 'they', 'mean', 'that', 'mankind', 'shall', 'commit', 'suicide', '.', 'When', 'they', 'talk', 'of', 'a', 'paradise', 'without', 'right', 'or', 'wrong', ',', 'they', 'mean', 'the', 'grave', '.', 'They', 'have', 'but', 'two', 'objects', ',', 'to', 'destroy', 'first', 'humanity', 'and', 'then', 'themselves', '.', 'That', 'is', 'why', 'they', 'throw', 'bombs', 'instead', 'of', 'firing', 'pistols', '.', 'The', 'innocent', 'rank', 'and', 'file', 'are', 'disappointed', 'because', 'the', 'bomb', 'has', 'not', 'killed', 'the', 'king', ';', 'but', 'the', 'high', '-', 'priesthood', 'are', 'happy', 'because', 'it', 'has', 'killed', 'somebody', '."', '"', 'How', 'can', 'I', 'join', 'you', '?"', 'asked', 'Syme', ',', 'with', 'a', 'sort', 'of', 'passion', '.', '"', 'I', 'know', 'for', 'a', 'fact', 'that', 'there', 'is', 'a', 'vacancy', 'at', 'the', 'moment', ',"', 'said', 'the', 'policeman', ',', '"', 'as', 'I', 'have', 'the', 'honour', 'to', 'be', 'somewhat', 'in', 'the', 'confidence', 'of', 'the', 'chief', 'of', 'whom', 'I', 'have', 'spoken', '.', 'You', 'should', 'really', 'come', 'and', 'see', 'him', '.', 'Or', 'rather', ',', 'I', 'should', 'not', 'say', 'see', 'him', ',', 'nobody', 'ever', 'sees', 'him', ';', 'but', 'you', 'can', 'talk', 'to', 'him', 'if', 'you', 'like', '."', '"', 'Telephone', '?"', 'inquired', 'Syme', ',', 'with', 'interest', '.', '"', 'No', ',"', 'said', 'the', 'policeman', 'placidly', ',', '"', 'he', 'has', 'a', 'fancy', 'for', 'always', 'sitting', 'in', 'a', 'pitch', '-', 'dark', 'room', '.', 'He', 'says', 'it', 'makes', 'his', 'thoughts', 'brighter', '.', 'Do', 'come', 'along', '."', 'Somewhat', 'dazed', 'and', 'considerably', 'excited', ',', 'Syme', 'allowed', 'himself', 'to', 'be', 'led', 'to', 'a', 'side', '-', 'door', 'in', 'the', 'long', 'row', 'of', 'buildings', 'of', 'Scotland', 'Yard', '.', 'Almost', 'before', 'he', 'knew', 'what', 'he', 'was', 'doing', ',', 'he', 'had', 'been', 'passed', 'through', 'the', 'hands', 'of', 'about', 'four', 'intermediate', 'officials', ',', 'and', 'was', 'suddenly', 'shown', 'into', 'a', 'room', ',', 'the', 'abrupt', 'blackness', 'of', 'which', 'startled', 'him', 'like', 'a', 'blaze', 'of', 'light', '.', 'It', 'was', 'not', 'the', 'ordinary', 'darkness', ',', 'in', 'which', 'forms', 'can', 'be', 'faintly', 'traced', ';', 'it', 'was', 'like', 'going', 'suddenly', 'stone', '-', 'blind', '.', '"', 'Are', 'you', 'the', 'new', 'recruit', '?"', 'asked', 'a', 'heavy', 'voice', '.', 'And', 'in', 'some', 'strange', 'way', ',', 'though', 'there', 'was', 'not', 'the', 'shadow', 'of', 'a', 'shape', 'in', 'the', 'gloom', ',', 'Syme', 'knew', 'two', 'things', ':', 'first', ',', 'that', 'it', 'came', 'from', 'a', 'man', 'of', 'massive', 'stature', ';', 'and', 'second', ',', 'that', 'the', 'man', 'had', 'his', 'back', 'to', 'him', '.', '"', 'Are', 'you', 'the', 'new', 'recruit', '?"', 'said', 'the', 'invisible', 'chief', ',', 'who', 'seemed', 'to', 'have', 'heard', 'all', 'about', 'it', '.', '"', 'All', 'right', '.', 'You', 'are', 'engaged', '."', 'Syme', ',', 'quite', 'swept', 'off', 'his', 'feet', ',', 'made', 'a', 'feeble', 'fight', 'against', 'this', 'irrevocable', 'phrase', '.', '"', 'I', 'really', 'have', 'no', 'experience', ',"', 'he', 'began', '.', '"', 'No', 'one', 'has', 'any', 'experience', ',"', 'said', 'the', 'other', ',', '"', 'of', 'the', 'Battle', 'of', 'Armageddon', '."', '"', 'But', 'I', 'am', 'really', 'unfit', '--"', '"', 'You', 'are', 'willing', ',', 'that', 'is', 'enough', ',"', 'said', 'the', 'unknown', '.', '"', 'Well', ',', 'really', ',"', 'said', 'Syme', ',', '"', 'I', 'don', "'", 't', 'know', 'any', 'profession', 'of', 'which', 'mere', 'willingness', 'is', 'the', 'final', 'test', '."', '"', 'I', 'do', ',"', 'said', 'the', 'other', '--"', 'martyrs', '.', 'I', 'am', 'condemning', 'you', 'to', 'death', '.', 'Good', 'day', '."', 'Thus', 'it', 'was', 'that', 'when', 'Gabriel', 'Syme', 'came', 'out', 'again', 'into', 'the', 'crimson', 'light', 'of', 'evening', ',', 'in', 'his', 'shabby', 'black', 'hat', ...]
['Monty','Python'] * 20
['Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python']
len(text2)
141576
len(set(text2)) / len(text2)
0.04826383002768831
len(set(text2))
6833
text2.dispersion_plot(['Elinor','Marianne','Edward','Willoughby'])
sent2= ['i','was','scared','of','the','dark']
sent2[:3]
['i', 'was', 'scared']
sent2[:6]
['i', 'was', 'scared', 'of', 'the', 'dark']
len(sent2)
6
sent2 + ['but']
['i', 'was', 'scared', 'of', 'the', 'dark', 'but']
my_sent= ['Bravely','bold','Sir','Robin',',','rode','forth','from','Camelot','.']
noun_phrase = my_sent[1:4]
noun_phrase
['bold', 'Sir', 'Robin']
words = sorted(noun_phrase)
words
['Robin', 'Sir', 'bold']
name = 'Pussy Riot'
name[0]
'P'
name[5:]
' Riot'
name + '!'
'Pussy Riot!'
saying = ['After','all','is','set','and','done','more','is','set','and','done']
tokens = set(saying)
tokens
{'After', 'all', 'and', 'done', 'is', 'more', 'set'}
tokens = sorted(tokens)
tokens
['After', 'all', 'and', 'done', 'is', 'more', 'set']
tokens[-2:]
['more', 'set']
fdist1 = FreqDist(text1)
fdist1
FreqDist({',': 18713, 'the': 13721, '.': 6862, 'of': 6536, 'and': 6024, 'a': 4569, 'to': 4542, ';': 4072, 'in': 3916, 'that': 2982, ...})
vocabulary1 = list(fdist1.keys())
vocabulary1
['[', 'Moby', 'Dick', 'by', 'Herman', 'Melville', '1851', ']', 'ETYMOLOGY', '.', '(', 'Supplied', 'a', 'Late', 'Consumptive', 'Usher', 'to', 'Grammar', 'School', ')', 'The', 'pale', '--', 'threadbare', 'in', 'coat', ',', 'heart', 'body', 'and', 'brain', ';', 'I', 'see', 'him', 'now', 'He', 'was', 'ever', 'dusting', 'his', 'old', 'lexicons', 'grammars', 'with', 'queer', 'handkerchief', 'mockingly', 'embellished', 'all', 'the', 'gay', 'flags', 'of', 'known', 'nations', 'world', 'loved', 'dust', 'it', 'somehow', 'mildly', 'reminded', 'mortality', '"', 'While', 'you', 'take', 'hand', 'school', 'others', 'teach', 'them', 'what', 'name', 'whale', '-', 'fish', 'is', 'be', 'called', 'our', 'tongue', 'leaving', 'out', 'through', 'ignorance', 'letter', 'H', 'which', 'almost', 'alone', 'maketh', 'signification', 'word', 'deliver', 'that', 'not', 'true', '."', 'HACKLUYT', 'WHALE', '...', 'Sw', 'Dan', 'HVAL', 'This', 'animal', 'named', 'from', 'roundness', 'or', 'rolling', 'for', 'HVALT', 'arched', 'vaulted', 'WEBSTER', "'", 'S', 'DICTIONARY', 'It', 'more', 'immediately', 'Dut', 'Ger', 'WALLEN', 'A', 'WALW', 'IAN', 'roll', 'wallow', 'RICHARDSON', 'KETOS', 'GREEK', 'CETUS', 'LATIN', 'WHOEL', 'ANGLO', 'SAXON', 'DANISH', 'WAL', 'DUTCH', 'HWAL', 'SWEDISH', 'ICELANDIC', 'ENGLISH', 'BALEINE', 'FRENCH', 'BALLENA', 'SPANISH', 'PEKEE', 'NUEE', 'FEGEE', 'ERROMANGOAN', 'EXTRACTS', 'Sub', 'Librarian', ').', 'will', 'seen', 'this', 'mere', 'painstaking', 'burrower', 'grub', 'worm', 'poor', 'devil', 'appears', 'have', 'gone', 'long', 'Vaticans', 'street', 'stalls', 'earth', 'picking', 'up', 'whatever', 'random', 'allusions', 'whales', 'he', 'could', 'anyways', 'find', 'any', 'book', 'whatsoever', 'sacred', 'profane', 'Therefore', 'must', 'every', 'case', 'at', 'least', 'higgledy', 'piggledy', 'statements', 'however', 'authentic', 'these', 'extracts', 'veritable', 'gospel', 'cetology', 'Far', 'As', 'touching', 'ancient', 'authors', 'generally', 'as', 'well', 'poets', 'here', 'appearing', 'are', 'solely', 'valuable', 'entertaining', 'affording', 'glancing', 'bird', 's', 'eye', 'view', 'has', 'been', 'promiscuously', 'said', 'thought', 'fancied', 'sung', 'Leviathan', 'many', 'generations', 'including', 'own', 'So', 'fare', 'thee', 'whose', 'commentator', 'am', 'Thou', 'belongest', 'hopeless', 'sallow', 'tribe', 'no', 'wine', 'warm', 'whom', 'even', 'Pale', 'Sherry', 'would', 'too', 'rosy', 'strong', 'but', 'one', 'sometimes', 'loves', 'sit', 'feel', 'devilish', 'grow', 'convivial', 'upon', 'tears', 'say', 'bluntly', 'full', 'eyes', 'empty', 'glasses', 'altogether', 'unpleasant', 'sadness', 'Give', 'Subs', '!', 'For', 'how', 'much', 'pains', 'ye', 'please', 'so', 'shall', 'go', 'thankless', 'Would', 'clear', 'Hampton', 'Court', 'Tuileries', 'But', 'gulp', 'down', 'your', 'hie', 'aloft', 'royal', 'mast', 'hearts', 'friends', 'who', 'before', 'clearing', 'seven', 'storied', 'heavens', 'making', 'refugees', 'pampered', 'Gabriel', 'Michael', 'Raphael', 'against', 'coming', 'Here', 'strike', 'splintered', 'together', 'there', 'unsplinterable', 'And', 'God', 'created', 'great', 'GENESIS', 'path', 'shine', 'after', 'One', 'think', 'deep', 'hoary', 'JOB', 'Now', 'Lord', 'had', 'prepared', 'swallow', 'Jonah', 'JONAH', 'There', 'ships', 'thou', 'hast', 'made', 'play', 'therein', 'PSALMS', 'In', 'day', 'sore', 'sword', 'punish', 'piercing', 'serpent', 'crooked', 'slay', 'dragon', 'sea', 'ISAIAH', 'thing', 'soever', 'besides', 'cometh', 'within', 'chaos', 'monster', 'mouth', 'beast', 'boat', 'stone', 'goes', 'incontinently', 'foul', 'perisheth', 'bottomless', 'gulf', 'paunch', 'HOLLAND', 'PLUTARCH', 'MORALS', 'Indian', 'Sea', 'breedeth', 'most', 'biggest', 'fishes', ':', 'among', 'Whales', 'Whirlpooles', 'Balaene', 'length', 'four', 'acres', 'arpens', 'land', 'PLINY', 'Scarcely', 'we', 'proceeded', 'two', 'days', 'on', 'when', 'about', 'sunrise', 'other', 'monsters', 'appeared', 'Among', 'former', 'monstrous', 'size', 'came', 'towards', 'us', 'open', 'mouthed', 'raising', 'waves', 'sides', 'beating', 'into', 'foam', 'TOOKE', 'LUCIAN', 'THE', 'TRUE', 'HISTORY', 'visited', 'country', 'also', 'catching', 'horse', 'bones', 'very', 'value', 'their', 'teeth', 'brought', 'some', 'king', 'best', 'were', 'catched', 'forty', 'eight', 'fifty', 'yards', 'six', 'killed', 'sixty', 'OTHER', 'OR', 'OCTHER', 'VERBAL', 'NARRATIVE', 'TAKEN', 'DOWN', 'FROM', 'HIS', 'MOUTH', 'BY', 'KING', 'ALFRED', 'D', '890', 'whereas', 'things', 'whether', 'vessel', 'enter', 'dreadful', 'lost', 'swallowed', 'gudgeon', 'retires', 'security', 'sleeps', 'MONTAIGNE', 'APOLOGY', 'FOR', 'RAIMOND', 'SEBOND', 'Let', 'fly', 'let', 'Old', 'Nick', 'me', 'if', 'described', 'noble', 'prophet', 'Moses', 'life', 'patient', 'Job', 'RABELAIS', 'liver', 'cartloads', 'STOWE', 'ANNALS', 'seas', 'seethe', 'like', 'boiling', 'pan', 'LORD', 'BACON', 'VERSION', 'OF', 'Touching', 'bulk', 'ork', 'received', 'nothing', 'certain', 'They', 'exceeding', 'fat', 'insomuch', 'an', 'incredible', 'quantity', 'oil', 'extracted', 'IBID', 'LIFE', 'AND', 'DEATH', 'sovereignest', 'parmacetti', 'inward', 'bruise', 'HENRY', 'Very', 'HAMLET', 'Which', 'secure', 'skill', 'leach', 'art', 'Mote', 'availle', 'returne', 'againe', 'To', 'wound', 'worker', 'lowly', 'dart', 'Dinting', 'breast', 'bred', 'restless', 'paine', 'Like', 'wounded', 'shore', 'flies', 'thro', 'maine', 'FAERIE', 'QUEEN', 'Immense', 'motion', 'vast', 'bodies', 'can', 'peaceful', 'calm', 'trouble', 'ocean', 'til', 'boil', 'SIR', 'WILLIAM', 'DAVENANT', 'PREFACE', 'TO', 'GONDIBERT', 'What', 'spermacetti', 'men', 'might', 'justly', 'doubt', 'since', 'learned', 'Hosmannus', 'work', 'thirty', 'years', 'saith', 'plainly', 'Nescio', 'quid', 'T', 'BROWNE', 'SPERMA', 'CETI', 'VIDE', 'V', 'E', 'Spencer', 'Talus', 'modern', 'flail', 'threatens', 'ruin', 'ponderous', 'tail', 'Their', 'fixed', 'jav', 'lins', 'side', 'wears', 'back', 'grove', 'pikes', 'WALLER', 'BATTLE', 'SUMMER', 'ISLANDS', 'By', 'Commonwealth', 'State', '--(', 'Latin', 'Civitas', 'artificial', 'man', 'OPENING', 'SENTENCE', 'HOBBES', 'LEVIATHAN', 'Silly', 'Mansoul', 'without', 'chewing', 'sprat', 'PILGRIM', 'PROGRESS', 'That', 'works', 'Created', 'hugest', 'swim', 'stream', 'PARADISE', 'LOST', '---"', 'Hugest', 'living', 'creatures', 'Stretched', 'promontory', 'swims', 'seems', 'moving', 'gills', 'Draws', 'breath', 'spouts', 'mighty', 'water', 'swimming', 'FULLLER', 'PROFANE', 'HOLY', 'STATE', 'close', 'behind', 'lie', 'huge', 'attend', 'prey', 'give', 'chance', 'fry', 'gaping', 'jaws', 'mistake', 'way', 'DRYDEN', 'ANNUS', 'MIRABILIS', 'floating', 'stern', 'ship', 'they', 'cut', 'off', 'head', 'tow', 'near', 'come', 'aground', 'twelve', 'thirteen', 'feet', 'THOMAS', 'EDGE', 'TEN', 'VOYAGES', 'SPITZBERGEN', 'IN', 'PURCHAS', 'saw', 'sporting', 'wantonness', 'fuzzing', 'pipes', 'vents', 'nature', 'placed', 'shoulders', 'HERBERT', 'INTO', 'ASIA', 'AFRICA', 'HARRIS', 'COLL', 'such', 'troops', 'forced', 'proceed', 'deal', 'caution', 'fear', 'should', 'run', 'SCHOUTEN', 'SIXTH', 'CIRCUMNAVIGATION', 'We', 'set', 'sail', 'Elbe', 'wind', 'N', 'Jonas', 'Whale', 'Some', 't', 'fable', 'frequently', 'climb', 'masts', 'first', 'discoverer', 'ducat', 'told', 'taken', 'Shetland', 'above', 'barrel', 'herrings', 'belly', 'harpooneers', 'caught', 'once', 'Spitzbergen', 'white', 'over', 'VOYAGE', 'GREENLAND', '1671', 'Several', 'coast', 'Fife', 'Anno', '1652', 'eighty', 'bone', 'kind', 'informed', '),', 'did', 'afford', '500', 'weight', 'baleen', 'stand', 'gate', 'garden', 'Pitferren', 'SIBBALD', 'FIFE', 'KINROSS', 'Myself', 'agreed', 'try', 'master', 'kill', 'Sperma', 'ceti', 'never', 'hear', 'sort', 'fierceness', 'swiftness', 'RICHARD', 'STRAFFORD', 'LETTER', 'BERMUDAS', 'PHIL', 'TRANS', '1668', 'voice', 'obey', 'PRIMER', 'abundance', 'large', 'being', 'those', 'southern', 'may', 'hundred', 'than', 'northward', 'CAPTAIN', 'COWLEY', 'ROUND', 'GLOBE', '1729', '"...', 'frequendy', 'attended', 'insupportable', 'smell', 'bring', 'disorder', 'ULLOA', 'SOUTH', 'AMERICA', 'chosen', 'sylphs', 'special', 'note', 'trust', 'important', 'charge', 'petticoat', 'Oft', 'fold', 'fence', 'fail', 'Tho', 'stuffed', 'hoops', 'armed', 'ribs', 'RAPE', 'LOCK', 'If', 'compare', 'animals', 'respect', 'magnitude', 'abode', 'appear', 'contemptible', 'comparison', 'doubtless', 'largest', 'creation', 'GOLDSMITH', 'NAT', 'HIST', 'write', 'little', 'make', 'speak', 'wales', 'JOHNSON', 'afternoon', 'supposed', 'rock', 'found', 'dead', 'Asiatics', 'then', 'towing', 'ashore', 'seemed', 'endeavor', 'conceal', 'themselves', 'order', 'avoid', 'COOK', 'larger', 'seldom', 'venture', 'attack', 'dread', 'afraid', 'mention', 'names', 'carry', 'dung', 'lime', 'juniper', 'wood', 'articles', 'same', 'boats', 'terrify', 'prevent', 'approach', 'UNO', 'VON', 'TROIL', 'LETTERS', 'ON', 'BANKS', 'SOLANDER', 'ICELAND', '1772', 'Spermacetti', 'Nantuckois', 'active', 'fierce', 'requires', 'address', 'boldness', 'fishermen', 'JEFFERSON', 'MEMORIAL', 'MINISTER', '1778', 'pray', 'sir', 'equal', '?"', 'EDMUND', 'BURKE', 'REFERENCE', 'PARLIAMENT', 'NANTUCKET', 'FISHERY', 'Spain', 'stranded', 'shores', 'Europe', 'SOMEWHERE', '.)', 'tenth', 'branch', 'ordinary', 'revenue', 'grounded', 'consideration', 'guarding', 'protecting', 'pirates', 'robbers', 'right', 'sturgeon', 'either', 'thrown', 'property', 'BLACKSTONE', 'Soon', 'sport', 'death', 'crews', 'repair', 'Rodmond', 'unerring', 'o', 'er', 'suspends', 'barbed', 'steel', 'turn', 'attends', 'FALCONER', 'SHIPWRECK', 'Bright', 'shone', 'roofs', 'domes', 'spires', 'rockets', ...]
len(text1)
260819
vocabulary1[:50]
['[', 'Moby', 'Dick', 'by', 'Herman', 'Melville', '1851', ']', 'ETYMOLOGY', '.', '(', 'Supplied', 'a', 'Late', 'Consumptive', 'Usher', 'to', 'Grammar', 'School', ')', 'The', 'pale', '--', 'threadbare', 'in', 'coat', ',', 'heart', 'body', 'and', 'brain', ';', 'I', 'see', 'him', 'now', 'He', 'was', 'ever', 'dusting', 'his', 'old', 'lexicons', 'grammars', 'with', 'queer', 'handkerchief', 'mockingly', 'embellished', 'all']
f_d2 = FreqDist(text2)
f_d2
FreqDist({',': 9397, 'to': 4063, '.': 3975, 'the': 3861, 'of': 3565, 'and': 3350, 'her': 2436, 'a': 2043, 'I': 2004, 'in': 1904, ...})
vocabulary2 = list(f_d2.keys())
vocabulary2[:100]
['[', 'Sense', 'and', 'Sensibility', 'by', 'Jane', 'Austen', '1811', ']', 'CHAPTER', '1', 'The', 'family', 'of', 'Dashwood', 'had', 'long', 'been', 'settled', 'in', 'Sussex', '.', 'Their', 'estate', 'was', 'large', ',', 'their', 'residence', 'at', 'Norland', 'Park', 'the', 'centre', 'property', 'where', 'for', 'many', 'generations', 'they', 'lived', 'so', 'respectable', 'a', 'manner', 'as', 'to', 'engage', 'general', 'good', 'opinion', 'surrounding', 'acquaintance', 'late', 'owner', 'this', 'single', 'man', 'who', 'very', 'advanced', 'age', 'years', 'his', 'life', 'constant', 'companion', 'housekeeper', 'sister', 'But', 'her', 'death', 'which', 'happened', 'ten', 'before', 'own', 'produced', 'great', 'alteration', 'home', ';', 'supply', 'loss', 'he', 'invited', 'received', 'into', 'house', 'nephew', 'Mr', 'Henry', 'legal', 'inheritor', 'person', 'whom', 'intended', 'bequeath', 'it', 'In']
set(text2)
{'control', 'compliments', 'strengthening', 'liberality', 'honor', 'handkerchief', 'winding', 'interviews', 'habitual', 'insult', 'inheritor', 'travellers', 'advise', 'whom', 'clearly', 'consulted', 'longer', 'obviated', 'thirty', 'consoled', 'always', 'dejected', 'swallow', 'divided', 'Secrecy', 'sagaciously', 'ladies', ".'", 'effort', 'delay', 'purposes', 'interruption', 'strangeness', 'westerly', 'clogged', 'entertained', 'Farm', 'convince', 'gravely', 'Kingham', 'unequivocal', 'handsome', 'delightful', 'elsewhere', ']', 'throat', 'weathered', 'six', 'precise', 'circumstance', 'butcher', 'reasonableness', 'appearances', 'Those', '?--"', 'air', 'habit', 'horridly', 'truest', 'upon', 'endeavour', 'confirm', 'rooms', 'reasons', 'proclaim', 'Among', 'expedient', 'Affecting', 'grieves', 'seating', 'pace', 'promontories', 'dressing', 'dismounted', 'unjustifiable', 'contrition', 'Even', 'subsisted', 'speak', 'wandered', 'ordination', 'matters', 'gain', 'indulgence', 'HAS', 'Unaccountable', 'tiled', 'disappointments', 'merit', 'owe', 'scold', 'henceforward', 'supposing', 'valueless', 'liked', 're', 'flattered', 'church', 'drain', 'suggestion', 'completion', 'conducted', 'hear', 'briefly', 'blossoms', 'fretful', 'productive', 'dreading', 'health', 'reverie', 'eloquence', 'spring', 'excellent', 'forbid', 'wine', 'torment', 'horrors', 'reform', 'cottage', 'unreasonably', 'incapable', '."--', 'likeness', 'unavoidable', 'presided', 'floor', 'prevail', 'suspicions', 'originated', 'varied', 'adorned', 'acquiesced', 'kicked', 'early', 'blushes', 'encroachments', 'account', 'attained', 'permit', 'threats', 'letter', '34', 'expressions', 'odious', 'struggle', 'proceeded', 'opposition', 'renounced', 'date', 'quickly', 'observable', 'thinking', 'newness', 'Whom', 'Taylor', 'shutting', 'unread', 'Simpson', 'warmest', 'effectually', 'apprehensive', 'sincerity', 'altering', 'practiced', 'sugar', 'Her', 'sisters', 'elderly', 'disappeared', 'requesting', 'leaving', 'dreadful', 'heaven', 'dagger', 'constantly', 'wound', 'respectfully', 'working', 'prenticed', 'END', 'ALMOST', 'provoking', 'Lady', 'hints', 'married', 'beauties', 'pen', 'faulty', 'impulse', 'blown', 'attribute', 'OCCASION', 'proportionately', 'humiliations', 'slowly', 'unfair', 'opportunity', 'hate', 'Pall', 'ridicule', 'widely', 'inconsistency', 'end', 'ruin', 'wealthy', 'pointedly', 'presenting', 'tale', 'biased', 'Cartwright', 'tiptoe', 'coolness', 'Supported', 'garret', 'criminal', 'Sally', 'thank', 'wood', 'happiness', 'retort', 'ears', 'tree', 'jokes', 'dupe', 'made', 'landlord', 'minutely', 'witty', 'lightly', 'couched', 'villainy', 'ay', 'Ma', 'Happy', 'morality', 'faces', 'dinners', 'terror', 'visiting', 'pacified', 'troublesome', 'modesty', 'shuddering', 'honesty', 'are', 'eight', 'seemed', 'being', 'lane', 'insured', 'tardy', 'endured', 'hussy', 'feeble', 'drops', 'Mistress', 'Disappointment', 'Sackville', 'desperation', 'dances', 'consciousness', 'HIS', 'earned', 'afterward', 'Some', 'passages', 'ardent', 'longest', 'persevering', 'adieu', 'ill', 'restored', 'turned', 'test', 'censure', 'decree', 'endeavours', 'concluded', 'fright', 'syllables', 'breakfast', 'equality', 'years', 'fourth', 'piquet', 'office', 'Nancy', 'funeral', 'gift', 'promotion', 'instantaneous', 'hated', 'shrewd', 'friendly', ';--', 'spoke', 'worse', 'extolling', 'performances', 'decisions', 'involve', 'assuage', 'submitted', 'Temple', 'falsehood', 'plainly', 'Hitherto', 'knows', 'friendship', 'joyfully', 'equals', 'screened', 'humour', 'event', 'whole', 'residence', 'formality', 'parent', 'fortunately', 'rained', 'yards', 'dimensions', 'incoherently', 'henceforth', 'caution', 'playfulness', 'resolving', 'abstraction', 'Impatient', 'near', 'himself', 'chuckle', 'motherly', 'composition', 'Where', 'calculation', 'up', 'credulous', 'bequest', 'midst', 'flourishing', 'application', 'deterred', 'forwards', 'trades', 'nights', 'prepossessed', 'expensiveness', 'Get', 'gratifying', 'handle', 'incurred', 'associating', 'songs', 'extremely', 'possible', 'thousand', 'herself', 'stayed', 'charmed', 'shaken', 'sufficiently', 'Weymouth', 'slyly', 'certain', 'infatuation', 'company', 'accusation', 'unembarrassed', 'unawares', 'ingratitude', 'fetching', 'husbands', 'oldest', 'finding', 'endeavoured', 'exerted', 'generous', 'demeanor', '.)', 'abstracted', 'This', 'Henry', 'allowable', 'toned', 'Between', 'obstacle', 'promising', 'universally', 'punctual', 'Quite', 'plate', 'voluntarily', 'harbour', 'forgetting', 'nature', 'festival', 'polite', 'unite', 'projection', 'backwardness', 'characters', 'home', 'guide', 'forming', '17', 'five', 'determined', 'pin', 'prosecution', 'depended', 'because', 'party', 'lastingly', 'shews', 'indifferent', 'surveying', 'practice', 'studied', 'drove', 'diffuse', 'unchanging', 'name', 'perfection', 'pronouncing', 'hating', 'recollecting', 'again', 'spent', 'considerable', 'heath', 'creature', 'gloomy', 'different', 'accepting', 'Don', 'window', 'gallop', 'attempt', 'virulence', 'Dearest', 'sources', 'Instead', 'lifted', 'governed', 'Marianne', 'drink', 'caressing', 'Thomson', 'harm', 'says', 'pretensions', 'grounds', 'animated', 'disapproving', 'report', 'smallest', 'Whitakers', 'pursue', 'convert', 'inattention', 'complaint', 'reduced', 'c', 'proper', '[', 'conceited', 'present', 'price', 'HIM', 'HE', 'England', 'eye', 'circles', 'Born', 'struck', 'yet', 'meeting', 'lodges', 'farm', 'stating', 'splendidly', 'estimate', 'infirm', 'ordinary', 'related', 'clear', 'softener', 'assertions', 'light', 'detested', 'whip', 'glow', 'foibles', 'reserved', 'caprice', 'soothings', 'hardness', 'Burgess', 'coincide', 'showed', 'Drury', 'phrase', 'abstruse', 'month', 'content', 'forbidden', 'confession', 'occasions', 'respectability', 'minutiae', 'pattern', '9', 'finest', 'brood', 'Cleveland', 'twilight', 'viewed', 'needle', 'succeeding', 'attending', 'intercourse', 'simplicity', 'taken', 'affixed', 'Everybody', 'her', 'uncomfortable', 'confinement', 'merriment', 'rose', 'down', 'Exchange', 'hearty', 'inheriting', '18', 'basket', 'join', 'bed', 'harmony', 'talking', 'stared', 'afford', 'beautiful', 'THEM', 'minutes', 'sedulously', 'murmurings', 'critical', 'plaguing', 'gloominess', 'person', 'amiably', 'senses', 'misapprehension', 'reflection', 'contrary', 'shivering', 'condemning', 'warm', 'CHAPTER', 'artificial', 'evenings', 'inferiority', 'ages', 'unabated', 'indulgent', 'mercy', 'perusal', 'prohibited', 'snug', 'reconcile', 'So', 'trials', 'Sometimes', 'remembered', 'voices', 'weaken', 'forth', 'cards', 'provoke', 'premeditated', 'declared', 'dooming', 'regretting', 'believing', '23', 'ninny', 'unchanged', 'cows', 'gradually', 'army', 'Preparation', 'deepest', 'labour', 'own', 'bulk', 'transgressed', 'His', 'sellers', 'pull', 'revenge', 'imaginations', 'consternation', 'chaise', 'seen', 'pimples', 'claiming', 'absolute', 'Friday', 'JOHN', 'misinformed', 'seldom', 'children', 'moving', 'accommodate', 'cavil', 'dawned', 'listener', 'cool', 'inevitably', 'interposed', 'venturing', 'filigree', '13', 'impertinence', 'obeyed', 'afraid', 'yourselves', 'bags', 'daughters', "',", 'fled', 'troop', 'headstrong', 'forenoon', 'injunction', 'unthought', 'philanthropic', 'unkindly', 'whence', 'respectable', 'inconveniences', 'yew', 'benefited', 'Casino', 'variation', 'spare', 'presence', '20', 'thinks', 'ensued', 'banns', 'momentary', 'stockings', 'prefer', 'accuse', 'disorder', 'blockhead', 'greater', 'diabolical', 'betray', 'vast', 'information', 'throw', 'rises', 'odd', 'cordially', 'mingle', 'quiet', 'removal', 'scissors', 'author', 'affects', 'speaks', 'desperate', 'spasm', 'building', 'silence', 'heightened', 'shutters', 'save', 'verbal', 'crime', 'shades', 'sometimes', 'bewitching', 'motives', 'LUCY', 'ear', 'stress', 'LET', 'qualification', 'stop', 'betrayed', 'tricked', 'militate', 'meadows', 'privately', 'amiable', 'solicitations', 'Robert', 'negotiation', 'changing', 'neighbour', 'centre', 'horses', 'distinguish', 'parents', 'shop', 'drive', 'after', 'preferring', 'who', 'humored', 'holidays', 'blessing', 'untouched', 'messenger', 'nameless', 'offer', 'shock', 'furnishing', 'work', 'degrade', 'befalls', 'dislike', 'awful', 'seizure', 'disinherited', 'climbing', 'influenced', 'oppressed', 'self', 'NOW', 'coldness', 'complete', 'afforded', 'tortured', 'vouchsafe', 'uneasiness', 'lasting', 'wrung', 'seats', 'Mansion', 'captivate', 'auspiciously', 'robbing', 'contributing', 'sport', 'enjoy', 'sensitive', 'political', 'old', 'THAT', 'While', 'managed', 'enough', 'torn', 'improved', 'draw', 'muslin', 'couples', 'disappoint', 'practised', 'busy', 'accordingly', 'claimed', 'THEN', 'tonight', '16', 'creating', 'transporting', 'what', 'cutlets', 'imitate', 'noble', 'soothing', 'actually', 'genial', 'Wherever', 'risen', 'origin', 'bestow', 'suddenly', 'depravity', '47', 'among', 'humoured', 'way', 'gigs', 'William', 'respected', 'restraint', 'parts', 'gentleman', 'increase', 'bedchamber', 'uniform', 'swept', 'subservient', 'Then', 'names', 'Clarke', 'furnished', 'lamentations', '!--"', 'hue', 'Saturday', 'reminds', 'freedom', 'ideas', 'conveniences', 'suspect', 'painter', 'tongue', 'wiping', 'amendment', '(', 'feigned', 'allusion', 'May', 'omitted', 'provisions', 'trifling', 'loud', 'represent', 'expressed', 'rushing', 'Go', 'farther', 'approach', 'ash', 'imaginary', 'supported', 'rate', 'amends', 'Williams', 'hastening', 'rapturously', 'frequent', 'sunk', 'unanimous', 'affected', 'recognition', 'apricot', 'faithful', 'relieve', 'obliged', 'eyeing', 'recover', 'screamed', 'buy', 'creditable', 'breath', '?)', 'proportion', 'urgency', 'argument', 'Willing', 'subdue', 'blue', 'Tis', 'blasted', 'nonsensical', 'sourness', 'encumbered', 'That', 'article', 'swelling', 'sail', 'advanced', 'bespoke', 'regarded', 'hesitated', 'Dr', 'secrets', 'Colonel', 'classed', 'rapturous', 'comparative', 'redeem', 'lips', 'spend', 'Sparks', 'wounded', 'relation', 'observant', 'carelessly', 'assemblies', 'hates', 'listened', 'money', 'including', 'value', 'wicket', 'impatiently', 'Perhaps', 'fashion', 'Like', 'hospitality', 'sixteen', 'numerous', 'yes', 'there', 'TWICE', 'guilty', 'deference', 'hastened', 'inclinations', 'would', 'risking', 'formed', 'reconciled', 'additional', 'permitting', '.]', 'dresses', 'table', 'gloried', 'retrenched', 'expression', 'rest', 'removing', 'honour', 'wronged', 'Conduit', 'disposal', 'gratify', 'God', 'emphasis', 'famous', 'used', 'twenty', 'indistinct', 'rings', 'unfulfilled', 'south', 'by', 'interesting', 'sixpence', 'although', 'foolish', 'conjectural', 'line', 'consisted', 'pardonable', 'grand', 'conjectures', 'placing', 'real', 'dismiss', 'minuter', 'astonishment', 'arrive', 'received', 'assistance', 'reparation', 'alarm', 'puts', 'attentions', 'indefatigable', 'moonlight', 'Pratt', 'right', 'preparations', 'disrespectfully', 'remembrance', 'sound', 'coat', 'Improve', 'arguments', 'view', 'hazarding', 'quarter', 'St', 'amazing', 'plait', 'hallooing', 'news', 'infamously', 'provident', 'wandering', 'pointed', 'Sense', 'toothpick', 'rid', 'disarm', 'possessions', 'yearly', 'agreeable', 'leave', 'principles', 'DOES', 'possibility', 'compares', 'Harley', 'newly', 'perfectly', 'THESE', ...}
sorted(set(text2))
['!', '!"', '!"--', "!'", '!\'"', '!--', '!--"', '"', '"\'', '"--', '&', "'", "',", "'--", '(', ')', '),', ')--', '***', ',', ',"', ',"--', ",'", ',)', ',-', ',--', ',--"', '-', '--', '--"', "--'", '--(', '--,', '-?', '-?"', '.', '."', '."--', ".'", '.\'"', ".'--", '.)', '.)--', '.--', '.--"', '...', '..."', '.]', '1', '10', '11', '12', '13', '14', '15', '16', '17', '18', '1811', '19', '2', '20', '200', '21', '22', '23', '24', '25', '26', '27', '28', '29', '3', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '4', '40', '41', '42', '43', '44', '45', '46', '47', '48', '49', '5', '50', '6', '7', '7000L', '8', '9', ':', ':--', ':--"', ';', ';"', ';"--', ";'", ';--', ';--"', '>', '?', '?"', '?"--', "?'", '?)', '?--', '?--"', 'A', 'ALL', 'ALMOST', 'ALWAYS', 'AM', 'ANY', 'ARE', 'Abbeyland', 'About', 'Absence', 'Abundance', 'Add', 'Affecting', 'After', 'Again', 'Against', 'Ah', 'All', 'Allenham', 'Allow', 'Almost', 'Altogether', 'Am', 'Among', 'Amongst', 'An', 'And', 'Annamaria', 'Anne', 'Another', 'Anxiety', 'April', 'Are', 'As', 'Ashamed', 'Astonished', 'Astonishment', 'At', 'Austen', 'Avignon', 'Ay', 'Aye', 'BEEN', 'BOTH', 'Bad', 'Bartlett', 'Barton', 'Bath', 'Beautifully', 'Because', 'Before', 'Being', 'Believe', 'Benevolent', 'Berkeley', 'Besides', 'Betty', 'Between', 'Beyond', 'Biddy', 'Bishop', 'Bond', 'Bonomi', 'Born', 'Brandon', 'Bristol', 'Brown', 'Building', 'Buildings', 'Burgess', 'Business', 'But', 'By', 'CAN', 'CATCHING', 'CHAPTER', 'COULD', 'Can', 'Careless', 'Careys', 'Cartwright', 'Casino', 'Cassino', 'Certainly', 'Chagrined', 'Charlotte', 'Choice', 'Christian', 'Christmas', 'Civil', 'Clarke', 'Cleveland', 'Cold', 'Colonel', 'Columella', 'Combe', 'Come', 'Common', 'Comparisons', 'Concealing', 'Concern', 'Conduit', 'Confess', 'Consider', 'Considering', 'Constantia', 'Continual', 'Conversation', 'Cottage', 'Could', 'Court', 'Courtland', 'Cowper', 'Cross', 'Cruel', 'D', 'DEAR', 'DID', 'DO', 'DOES', 'DRAW', 'Dartford', 'Dashwood', 'Dashwoods', 'Davies', 'Dawlish', 'Dear', 'Dearest', 'Delaford', 'Dennison', 'Depend', 'Design', 'Determined', 'Devonshire', 'Did', 'Disappointed', 'Disappointment', 'Do', 'Doctor', 'Does', 'Domestic', 'Don', 'Donavan', 'Dorsetshire', 'Down', 'Dr', 'Drury', 'Dullness', 'During', 'Duty', 'EDWARD', 'ELINOR', 'END', 'ESTEEM', 'Each', 'Eager', 'Early', 'East', 'Easter', 'Edward', 'Elinor', 'Eliza', 'Elliott', 'Ellison', 'Ellisons', 'Encouraged', 'Engaged', 'Engagement', 'England', 'Epicurism', 'Esq', 'Esteem', 'Even', 'Every', 'Everybody', 'Excellent', 'Exchange', 'Excuse', 'Exert', 'Exeter', 'Extend', 'Extravagance', 'F', 'FAITH', 'FERRARS', 'Fanny', 'Far', 'Farm', 'February', 'Ferrars', 'Few', 'Fifteen', 'Fifty', 'Five', 'Folly', 'For', 'Forgive', 'Fortunately', 'Four', 'Friday', 'From', 'Frosts', 'GAUCHERIE', 'Gardens', 'Gentleman', 'Get', 'Gibson', 'Gilberts', 'Go', 'God', 'Godby', 'Going', 'Gone', 'Good', 'Gracious', 'Grandeur', 'Gray', 'Greatness', 'Grecian', 'Grey', 'HAD', 'HAS', 'HE', 'HER', 'HERS', 'HIM', 'HIS', 'Had', 'Half', 'Hamlet', 'Hanger', 'Hanover', 'Happy', 'Harley', 'Harris', 'Harry', 'Has', 'Have', 'Having', 'He', 'Heaven', 'Henry', 'Henshawe', 'Her', 'Here', 'High', 'His', 'Hitherto', 'Holborn', 'Holburn', 'Hon', 'Honiton', 'Hope', 'Hour', 'House', 'How', 'However', 'Hum', 'Hunters', 'Hush', 'I', 'II', 'IN', 'INconvenience', 'IS', 'If', 'Imagine', 'Impatient', 'Impossible', 'Improve', 'Impudence', 'In', 'Indeed', 'Indies', 'Infirmity', 'Inn', 'Instead', 'Invited', 'Is', 'It', 'JOHN', 'James', 'Jane', 'January', 'Jenning', 'Jennings', 'John', 'Just', 'KNEW', 'Kensington', 'Kingham', 'Know', 'Knowing', 'L', 'LESS', 'LET', 'LONG', 'LOOK', 'LOOKED', 'LUCY', 'La', 'Lady', 'Ladyship', 'Lane', 'Last', 'Laughing', 'Law', 'Let', 'Life', 'Like', 'Little', 'Lodging', 'Lombardy', 'London', 'Long', 'Longstaple', 'Look', 'Lord', 'Luckily', 'Lucy', 'M', 'MADAM', 'MAY', 'ME', 'MIND', 'MONTH', 'MUST', 'MY', 'Ma', 'Mab', 'Madam', 'Magna', 'Mall', 'Mama', 'Mamma', 'Mansion', 'Many', 'March', 'Margaret', 'Marianne', 'Marlborough', 'Martha', 'Mary', 'Master', 'May', 'Me', 'Men', 'Michaelmas', 'Mid', 'Middleton', 'Middletons', 'Midsummer', 'Mind', 'Mine', 'Misery', 'Miss', 'Misses', 'Mistress', 'Monday', 'Months', 'More', 'Morton', 'Most', 'Mr', 'Mrs', 'Much', 'Music', 'Must', 'My', 'NOT', 'NOW', 'Nancy', 'Nay', 'Neither', 'Never', 'New', 'Newton', 'No', 'Nobody', 'None', 'Nor', 'Norfolk', 'Norland', 'Not', 'Nothing', 'November', 'Now', 'OCCASION', 'ONCE', 'ONE', 'OUGHT', 'OWN', 'October', 'Of', 'Offended', 'Oh', 'On', 'Once', 'One', 'Only', 'Opportunity', 'Opposition', 'Or', 'Other', 'Others', 'Our', 'Oxford', 'P', 'PARTIES', 'Pall', 'Palmer', 'Palmers', 'Pardon', 'Park', 'Parliament', 'Parrys', 'Parsonage', 'Perhaps', 'Pity', 'Please', 'Pleased', 'Plymouth', 'Poor', 'Pope', 'Portman', 'Pratt', 'Pray', 'Precious', 'Preparation', 'Prescriptions', 'Priory', 'Queen', 'Quite', 'REALLY', 'ROBERT', 'Rather', 'Reading', 'Really', 'Recollecting', 'Reflection', 'Regard', 'Relate', 'Remember', 'Reserved', 'Restless', 'Richard', 'Richardson', 'Richardsons', 'Robert', 'Rose', 'S', 'SHALL', 'SHE', 'SHOULD', 'SIR', 'SOMETIMES', 'STILL', 'Sackville', 'Sally', 'Sandersons', 'Saturday', 'Scarcely', 'Scotland', 'Scott', 'Secrecy', 'Selfish', 'Sense', 'Sensibility', 'September', 'Seven', 'Shakespeare', 'Shall', 'Sharpe', 'She', 'Short', 'Should', 'Shyness', 'Simpson', 'Since', 'Sincerely', 'Sir', 'Sit', 'Smith', 'So', 'Some', 'Somehow', 'Somerset', 'Somersetshire', 'Something', 'Sometimes', 'Soon', 'Sophia', 'Sparks', 'Square', 'St', 'Stanhill', 'Steele', 'Steeles', 'Still', 'Strange', 'Street', 'Streets', 'Such', 'Sunday', 'Supported', 'Supposing', 'Sure', 'Surely', 'Surprised', 'Sussex', 'THAT', 'THE', 'THEIR', 'THEM', 'THEN', 'THERE', 'THESE', 'THEY', 'THIS', 'THREE', 'TIME', 'TOLD', 'TRIED', 'TWICE', 'TWO', 'Take', 'Taylor', 'Tell', 'Temple', 'Thank', 'That', 'The', 'Their', 'Then', 'There', 'These', 'They', 'Think', 'This', 'Thomas', 'Thomson', 'Those', 'Though', 'Three', 'Thunderbolts', 'Thursday', 'Thus', 'Till', 'Time', 'Tis', 'To', 'Towards', 'Truth', 'Tuesday', 'Twice', 'Twill', 'Two', 'US', 'Unaccountable', 'Undoubtedly', 'Ungracious', 'Upon', 'Use', 'VERY', 'Valley', 'Vanity', 'Very', 'Volume', 'W', 'WAS', 'WE', 'WERE', 'WHAT', 'WHERE', 'WILL', 'WILLOUGHBY', 'WITHOUT', 'WORD', 'WOULD', 'Wait', 'Walker', 'Want', 'Was', 'Watched', 'We', 'Wednesday', 'Well', 'Were', 'Westminster', 'Westons', 'Weymouth', 'What', 'Whatever', 'When', 'Whenever', 'Where', 'Whereas', 'Wherever', 'Whether', 'Which', 'While', 'Whitakers', 'Whitwell', 'Who', 'Whoever', 'Whom', 'Why', 'Will', 'William', 'Williams', 'Willing', 'Willoughby', 'Willoughbys', 'With', 'Within', 'Without', 'Would', 'Writing', 'YOU', 'YOUR', 'Yes', 'Yet', 'You', 'Your', '[', ']', 'a', 'abandoned', 'abatement', 'abhor', 'abhorred', 'abhorrence', 'abilities', 'ability', 'able', 'ablest', 'abode', 'abominably', 'abounded', 'about', 'above', 'abridge', 'abridgement', 'abroad', 'abruptly', 'abruptness', 'absence', 'absent', 'absolute', 'absolutely', 'abstracted', 'abstraction', 'abstruse', 'absurd', 'absurdity', 'abundance', 'abundantly', 'abuse', 'abused', 'abuses', 'acacia', 'accelerate', 'accent', 'accents', 'accept', 'acceptable', 'acceptably', 'acceptance', 'accepted', 'accepting', 'accident', 'accidental', 'accidentally', 'accidently', 'accommodate', 'accommodating', 'accommodation', 'accommodations', 'accompanied', 'accompany', 'accomplished', 'accomplishment', 'accordant', 'according', 'accordingly', 'accosted', 'account', 'accounted', 'accounts', 'accrue', 'accurately', 'accusation', 'accuse', 'accustom', 'accustomary', 'aches', 'aching', 'acknowledge', 'acknowledged', 'acknowledging', 'acknowledgment', 'acknowledgments', 'acquaintance', 'acquaintances', 'acquainted', 'acquiesced', 'acquiescence', 'acquired', 'acquisition', 'acquit', 'acquitted', 'acquitting', 'across', 'act', 'acted', 'acting', 'action', 'actions', 'active', 'acts', 'actual', 'actually', 'acute', 'acutely', 'acuteness', 'adapted', 'add', 'added', 'adding', 'addition', 'additional', 'additions', 'address', 'addressed', 'addresses', 'addressing', 'adequate', 'adhering', 'adieu', 'adieus', 'adjoining', 'adjusting', 'administer', 'administering', 'admirable', 'admiration', 'admire', 'admired', 'admirers', 'admires', 'admiring', 'admission', 'admit', 'admittance', 'admitted', 'admitting', 'adopt', 'adopted', 'adorned', 'advance', 'advanced', 'advancement', 'advances', 'advancing', 'advantage', 'advantageous', 'advantages', 'advice', 'advisable', 'advise', 'advised', 'affability', 'affable', 'affair', 'affairs', 'affect', 'affectation', 'affected', 'affectedly', 'affecting', 'affection', 'affectionate', 'affectionately', 'affections', 'affects', 'affirmative', 'affixed', 'afflict', 'afflicted', 'afflicting', 'affliction', 'afflictions', 'affluence', 'afford', 'afforded', 'affording', 'affront', 'affronting', 'afraid', 'after', 'afternoon', 'afterward', 'afterwards', 'again', 'against', 'age', 'ages', 'aggrandizement', 'aggravation', 'agitate', 'agitated', 'agitation', 'ago', 'agonies', 'agony', 'agree', 'agreeable', 'agreed', 'agreeing', 'agreement', 'aid', 'ailment', 'ailments', 'aim', 'aimed', 'air', 'alacrity', 'alarm', 'alarmed', 'alarming', 'alarms', 'alienated', 'alighted', 'alike', 'alive', 'all', 'alleged', 'alleviation', 'allow', 'allowable', 'allowance', 'allowances', 'allowed', 'allowing', 'alloy', 'alluded', 'allusion', 'almost', 'alone', 'along', 'aloud', 'alphabet', 'already', 'also', 'altar', 'alter', 'alteration', 'alterations', 'altered', 'altering', 'alternately', 'alternative', 'although', 'altogether', 'always', 'am', 'amazement', 'amazing', 'amazingly', 'ambition', 'amended', 'amendment', 'amends', 'amiable', 'amiably', 'amidst', 'amiss', 'among', 'amongst', 'amount', 'amounted', 'ample', ...]
fdist1.plot(50, cumulative = True)
<AxesSubplot:xlabel='Samples', ylabel='Cumulative Counts'>
fdist1.hapaxes()
['Herman', 'Melville', ']', 'ETYMOLOGY', 'Late', 'Consumptive', 'School', 'threadbare', 'lexicons', 'mockingly', 'flags', 'mortality', 'signification', 'HACKLUYT', 'Sw', 'HVAL', 'roundness', 'Dut', 'Ger', 'WALLEN', 'WALW', 'IAN', 'RICHARDSON', 'KETOS', 'GREEK', 'CETUS', 'LATIN', 'WHOEL', 'ANGLO', 'SAXON', 'WAL', 'HWAL', 'SWEDISH', 'ICELANDIC', 'BALEINE', 'BALLENA', 'FEGEE', 'ERROMANGOAN', 'Librarian', 'painstaking', 'burrower', 'grub', 'Vaticans', 'stalls', 'higgledy', 'piggledy', 'gospel', 'promiscuously', 'commentator', 'belongest', 'sallow', 'Pale', 'Sherry', 'loves', 'bluntly', 'Subs', 'thankless', 'Hampton', 'Court', 'hie', 'refugees', 'pampered', 'Michael', 'Raphael', 'unsplinterable', 'GENESIS', 'JOB', 'JONAH', 'punish', 'ISAIAH', 'soever', 'cometh', 'incontinently', 'perisheth', 'PLUTARCH', 'MORALS', 'breedeth', 'Whirlpooles', 'Balaene', 'arpens', 'PLINY', 'Scarcely', 'TOOKE', 'LUCIAN', 'TRUE', 'catched', 'OCTHER', 'VERBAL', 'TAKEN', 'MOUTH', 'ALFRED', '890', 'gudgeon', 'retires', 'MONTAIGNE', 'APOLOGY', 'RAIMOND', 'SEBOND', 'Nick', 'RABELAIS', 'cartloads', 'STOWE', 'ANNALS', 'LORD', 'BACON', 'Touching', 'ork', 'DEATH', 'sovereignest', 'bruise', 'HAMLET', 'leach', 'Mote', 'availle', 'returne', 'againe', 'worker', 'Dinting', 'paine', 'thro', 'maine', 'FAERIE', 'Immense', 'til', 'DAVENANT', 'PREFACE', 'GONDIBERT', 'spermacetti', 'Hosmannus', 'Nescio', 'VIDE', 'Spencer', 'Talus', 'flail', 'threatens', 'jav', 'lins', 'WALLER', 'SUMMER', 'ISLANDS', 'Commonwealth', 'Civitas', 'OPENING', 'SENTENCE', 'HOBBES', 'LEVIATHAN', 'Silly', 'Mansoul', 'chewing', 'sprat', 'PILGRIM', 'PROGRESS', 'Created', 'PARADISE', 'LOST', '---"', 'Hugest', 'Stretched', 'Draws', 'FULLLER', 'PROFANE', 'HOLY', 'STATE', 'DRYDEN', 'ANNUS', 'MIRABILIS', 'aground', 'EDGE', 'TEN', 'SPITZBERGEN', 'PURCHAS', 'wantonness', 'fuzzing', 'vents', 'HERBERT', 'INTO', 'ASIA', 'AFRICA', 'SCHOUTEN', 'SIXTH', 'CIRCUMNAVIGATION', 'Elbe', 'ducat', 'herrings', 'GREENLAND', 'Several', 'Fife', 'Anno', '1652', 'Pitferren', 'SIBBALD', 'FIFE', 'KINROSS', 'Myself', 'Sperma', 'ceti', 'fierceness', 'RICHARD', 'STRAFFORD', 'LETTER', 'BERMUDAS', 'PHIL', 'TRANS', '1668', 'PRIMER', 'COWLEY', '1729', '"...', 'frequendy', 'insupportable', 'disorder', 'ULLOA', 'SOUTH', 'AMERICA', 'sylphs', 'petticoat', 'Oft', 'Tho', 'RAPE', 'LOCK', 'NAT', 'wales', 'JOHNSON', 'COOK', 'dung', 'lime', 'juniper', 'UNO', 'VON', 'TROIL', 'LETTERS', 'BANKS', 'SOLANDER', '1772', 'Nantuckois', 'JEFFERSON', 'MEMORIAL', 'MINISTER', 'REFERENCE', 'PARLIAMENT', 'SOMEWHERE', 'guarding', 'protecting', 'robbers', 'BLACKSTONE', 'Rodmond', 'suspends', 'attends', 'FALCONER', 'Bright', 'roofs', 'domes', 'rockets', 'Around', 'unwieldy', 'COWPER', 'VISIT', 'LONDON', 'HUNTER', 'DISSECTION', 'SMALL', 'SIZED', 'aorta', 'gushing', 'PALEY', 'THEOLOGY', 'mammiferous', 'hind', 'BARON', 'CUVIER', 'COLNETT', 'PURPOSE', 'EXTENDING', 'SPERMACETI', 'Floundered', 'chace', 'peopling', 'Gather', 'Led', 'instincts', 'trackless', 'Assaulted', 'voracious', 'spiral', 'MONTGOMERY', 'WORLD', 'FLOOD', 'Paean', 'fatter', 'Flounders', 'CHARLES', 'LAMB', 'TRIUMPH', '1690', 'OBED', 'Susan', 'HAWTHORNE', 'TWICE', 'bespeak', 'raal', 'COOPER', 'PILOT', 'Berlin', 'Gazette', 'ECKERMANN', 'CONVERSATIONS', 'GOETHE', 'ESSEX', 'WAS', 'ATTACKED', 'FINALLY', 'DESTROYED', 'OWEN', 'CHACE', 'FIRST', 'SAID', 'VESSEL', 'YORK', '1821', 'piping', 'dimmed', 'phospher', 'ELIZABETH', 'OAKES', 'SMITH', 'amounted', '440', 'SCORESBY', 'Mad', 'agonies', 'endures', 'infuriated', 'rears', 'snaps', 'propelled', 'observers', 'opportunities', 'habitudes', 'BEALE', 'offensively', 'artful', 'mischievous', 'FREDERICK', 'DEBELL', '1840', 'October', 'Raise', 'ay', 'THAR', 'bowes', 'os', 'ROSS', 'ETCHINGS', 'CRUIZE', '1846', 'Globe', 'transactions', 'relate', 'HUSSEY', 'SURVIVORS', 'parried', 'MISSIONARY', 'JOURNAL', 'TYERMAN', 'boldest', 'persevering', 'REPORT', 'DANIEL', 'SPEECH', 'SENATE', 'APPLICATION', 'ERECTION', 'BREAKWATER', 'CAPTORS', 'WHALEMAN', 'ADVENTURES', 'BIOGRAPHY', 'GATHERED', 'HOMEWARD', 'COMMODORE', 'PREBLE', 'REV', 'CHEEVER', 'MUTINEER', 'BROTHER', 'ANOTHER', 'MCCULLOCH', 'COMMERCIAL', 'reciprocal', 'clews', 'SOMETHING', 'UNPUBLISHED', 'CURRENTS', 'Pedestrians', 'recollect', 'gateways', 'VOYAGER', 'ARCTIC', 'NEWSPAPER', 'TAKING', 'RETAKING', 'HOBOMACK', 'MIRIAM', 'FISHERMAN', 'appliance', 'RIBS', 'TRUCKS', 'Terra', 'Del', 'Fuego', 'DARWIN', 'NATURALIST', ";--'", '!\'"', 'WHARTON', 'Loomings', 'spleen', 'regulating', 'circulation', 'Whenever', 'drizzly', 'hypos', 'philosophical', 'Cato', 'Manhattoes', 'reefs', 'downtown', 'gazers', 'Circumambulate', 'Corlears', 'Coenties', 'Slip', 'Whitehall', 'Posted', 'sentinels', 'spiles', 'pier', 'lath', 'counters', 'desks', 'loitering', 'shady', 'Inlanders', 'lanes', 'alleys', 'attract', 'dale', 'dreamiest', 'shadiest', 'quietest', 'enchanting', 'Saco', 'crucifix', 'Deep', 'mazy', 'Tiger', 'Tennessee', 'Rockaway', 'Persians', 'deity', 'Narcissus', 'ungraspable', 'hazy', 'quarrelsome', 'offices', 'abominate', 'toils', 'trials', 'barques', 'schooners', 'broiling', 'buttered', 'judgmatically', 'peppered', 'reverentially', 'idolatrous', 'dotings', 'ibis', 'roasted', 'bake', 'plumb', 'Van', 'Rensselaers', 'Randolphs', 'Hardicanutes', 'lording', 'tallest', 'decoction', 'Seneca', 'Stoics', 'Testament', 'promptly', 'rub', 'infliction', 'BEING', 'PAID', 'urbane', 'ills', 'monied', 'consign', 'prevalent', 'violate', 'Pythagorean', 'commonalty', 'police', 'surveillance', 'programme', 'solo', 'CONTESTED', 'ELECTION', 'PRESIDENCY', 'UNITED', 'STATES', 'ISHMAEL', 'BLOODY', 'AFFGHANISTAN', 'managers', 'genteel', 'comedies', 'farces', 'cunningly', 'disguises', 'cajoling', 'unbiased', 'freewill', 'discriminating', 'overwhelming', 'undeliverable', 'itch', 'forbidden', 'ignoring', 'lodges', 'Carpet', 'Bag', 'Manhatto', 'candidates', 'penalties', 'Tyre', 'Carthage', 'imported', 'cobblestones', 'bitingly', 'shouldering', 'price', 'fervent', 'asphaltic', 'pavement', 'flinty', 'projections', 'soles', 'Too', 'cheapest', 'cheeriest', 'invitingly', 'particles', 'peer', 'Angel', 'Doom', 'wailing', 'gnashing', 'Wretched', 'entertainment', 'Moving', 'emigrant', 'poverty', 'creak', 'lodgings', 'zephyr', 'hob', 'toasting', 'observest', 'sashless', 'glazier', 'reasonest', 'chinks', 'crannies', 'lint', 'chattering', 'shiverings', 'cob', 'redder', 'Orion', 'glitters', 'conservatories', 'president', 'temperance', 'blubbering', 'straggling', 'wainscots', 'reminding', 'oilpainting', 'besmoked', 'defaced', 'unequal', 'crosslights', 'hags', 'delineate', 'bewitched', 'ponderings', 'boggy', 'soggy', 'squitchy', 'froze', 'heath', 'icebound', 'represents', 'Horner', 'foundered', 'clubs', 'harvesting', 'hacking', 'horrifying', 'Mixed', 'Nathan', 'Swain', 'corkscrew', 'Blanco', 'sojourning', 'fireplaces', 'duskier', 'cockpits', 'rarities', 'Projecting', 'Within', 'shelves', 'flasks', 'bustles', 'deliriums', 'Abominable', 'tumblers', 'cylinders', 'goggling', 'deceitfully', 'tapered', 'Parallel', 'pecked', 'footpads', 'Fill', 'shilling', 'examining', 'SKRIMSHANDER', 'accommodated', 'unoccupied', 'haint', 'pose', 'whalin', 'decidedly', 'objectionable', 'wander', 'Battery', 'ruminating', 'adorning', 'potatoes', 'sartainty', 'diabolically', 'steaks', 'undress', 'looker', 'rioting', 'Grampus', 'seed', 'Feegees', 'tramping', 'Enveloped', 'bedarned', 'eruption', 'officiating', 'brimmers', 'complained', 'potion', 'colds', 'catarrhs', 'liquor', 'arrantest', 'topers', 'obstreperously', 'aloof', 'desirous', 'hilarity', 'coffer', 'Southerner', 'mountaineers', 'Alleghanian', 'missed', 'supernaturally', 'congratulate', 'multiply', 'bachelor', 'abominated', 'tidiest', 'bedwards', 'shan', 'tablecloth', 'Skrimshander', 'bump', 'spraining', 'eider', 'yoking', 'rickety', 'whirlwinds', 'knockings', 'dismissed', 'popped', 'cherishing', 'chuckled', 'chuckle', 'mightily', 'catches', 'bamboozingly', 'overstocked', 'toothpick', 'rayther', 'BROWN', 'slanderin', 'farrago', 'BROKE', 'Sartain', 'Mt', 'Hecla', 'persist', 'mystifying', 'unsay', 'criminal', 'Wall', 'purty', 'sarmon', 'rips', 'tellin', 'bought', 'balmed', 'curios', 'sellin', 'inions', 'fooling', 'idolators', 'Depend', 'reg', 'lar', 'spliced', 'Johnny', 'sprawling', 'Arter', 'glim', 'jiffy', 'irresolute', 'vum', 'WON', 'Folding', 'scrutiny', 'porcupine', 'moccasin', 'ponchos', 'parade', 'rainy', 'remembering', 'commended', 'cobs', 'Nod', 'footfall', 'unlacing', 'blackish', 'plasters', 'inkling', 'Placing', 'crammed', 'scalp', 'mildewed', 'Ignorance', 'parent', 'nonplussed', 'undressing', 'checkered', 'Thirty', 'frogs', 'quaked', 'wrapall', 'dreadnaught', 'fumbled', 'Remembering', 'manikin', 'tenpin', 'andirons', 'jambs', 'bricks', 'appropriate', 'applying', 'hastier', 'withdrawals', 'antics', 'devotee', 'extinguishing', 'unceremoniously', 'bagged', 'sportsman', 'woodcock', 'uncomfortableness', 'deliberating', 'puffed', 'sang', 'Stammering', 'conjured', 'responses', 'debel', 'flourishing', 'Angels', 'flourishings', 'peddlin', 'sleepe', 'grunted', 'gettee', 'motioning', 'comely', 'insured', 'Counterpane', 'parti', 'triangles', 'interminable', 'caper', 'supperless', '21st', 'hemisphere', 'sigh', 'Sixteen', 'ached', 'coaches', 'stockinged', 'slippering', 'misbehaviour', 'unendurable', 'stepmothers', 'misfortunes', 'steeped', 'shudderingly', 'confounding', 'soberly', 'recurred', 'predicament', 'unlock', 'bridegroom', 'clasp', 'hugged', 'rouse', 'snore', 'scratch', 'Throwing', 'expostulations', 'unbecomingness', 'matrimonial', 'dawning', 'overture', 'innate', 'compliment', 'civility', 'rudeness', 'toilette', 'dressing', 'donning', 'gaspings', 'booting', 'caterpillar', 'outlandishness', 'manners', 'education', 'undergraduate', 'dreamt', 'cowhide', 'pinched', 'curtains', 'indecorous', 'contented', 'restricting', 'donned', 'lathering', 'unsheathes', 'whets', 'Rogers', 'cutlery', 'Afterwards', 'baton', 'Breakfast', 'pleasantly', 'bountifully', 'laughable', 'bosky', 'unshorn', 'gowns', 'toasted', 'lingers', 'tarried', 'barred', 'Grub', 'Park', 'assurance', 'polish', 'occasioned', 'embarrassed', 'bashfulness', 'duelled', 'winking', 'tastes', 'sheepishly', 'bashful', 'icicle', 'admirer', 'cordially', 'grappling', 'genteelly', 'eschewed', 'undivided', '6', 'circulating', 'nondescripts', 'Chestnut', 'jostle', 'Regent', 'Lascars', 'Bombay', 'Apollo', 'Feegeeans', 'Tongatobooarrs', 'Erromanggoans', 'Pannangians', 'Brighggians', 'weekly', 'Vermonters', 'stalwart', 'frames', 'felled', 'strutting', 'wester', 'bombazine', 'cloak', 'mow', 'gloves', 'joins', 'outfit', 'waistcoats', 'Hay', 'Seed', 'tract', 'dearest', 'pave', 'eggs', 'patrician', 'parks', 'scraggy', 'scoria', 'Herr', 'dowers', 'nieces', 'reservoirs', 'maples', 'bountiful', 'proffer', 'passer', 'cones', 'blossoms', 'superinduced', 'carnation', 'Salem', 'sweethearts', 'Puritanic', 'Whaleman', 'Wrapping', 'Each', 'quote', 'TALBOT', 'Near', 'Desolation', '1st', 'SISTER', 'ROBERT', 'WILLIS', 'ELLERY', 'NATHAN', 'COLEMAN', 'WALTER', 'CANNY', 'SETH', 'GLEIG', 'Forming', 'ELIZA', '31st', 'MARBLE', 'SHIPMATES', 'EZEKIEL', 'HARDY', 'AUGUST', '3d', '1833', 'WIDOW', 'Shaking', 'glazed', 'Affected', 'relatives', 'unhealing', 'sympathetically', 'wounds', 'bleed', 'blanks', ...]
V = set(text5)
long_words = [w for w in V if len(w) > 12 ]
sorted(long_words)
['!!!!!!!!!!!!!', '!!!!!!!!!!!!!!!!', '!!!!!!!!!!!!!!!!!!!!!!', '!!!!!!!!!!!!!!!!!!!!!!!', '!!!!!!!!!!!!!!!!!!!!!!!!!!!', '!!!!!!!!!!!!!!!!!!!!!!!!!!!!', '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!', '#talkcity-20s', '#talkcity_adults', '(((((((((((((', '((((((((((((((', '(((((((((((((((', '(((((((((((((((((', '((((((((((((((((((', '((((((((((((((((((((', '(((((((((((((((((((((', '(((((((((((((((((((((((', '((((((((((((((((((((((((', '(((((((((((((((((((((((((', '((((((((((((((((((((((((((', ')))))))))))))', '))))))))))))))', ')))))))))))))))', ')))))))))))))))))', ')))))))))))))))))))', ')))))))))))))))))))))', '))))))))))))))))))))))', '))))))))))))))))))))))))))))', ')))))))))))))))))))))))))))))))', '-------------', '--------------------', '.(..(.vMp3 v1.7.4.).)', '.(..(.vMp3 vi.p.t.)..).', '.............', '................', '..................', '...................', '....................', '........................', '..............................', '.A.n.a.c.?.n.?.a.', '//www.wunderground.com/cgi-bin/findweather/getForecast?query=95953#FIR', '1-900-anal-sex', '<3333333333333333', '<33333333333333333', '<<<<<<<<<<<<<<', 'BAAAAALLLLLLLLIIIIIIINNNNNNNNNNN', 'Bloooooooooood', 'Bloooooooooooood', 'Chamillionaire', 'HHEEYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY', 'HolocaustYourMom', 'Mooooooooooooooooooooooooooo', 'Nooooooooooooooo', 'Rothlisburger', 'SINGLEEEEEEEE', 'Shaneeeeeeeee', 'WEEEEEEEEEEEEEEEEEE', '[[[[[[[[[[[[[[[[[[', ']]]]]]]]]]]]]]]]]]]]]', 'aaaaaaaaaaaaaaaaa', 'agurlwithbigguns', 'ahhhhhhhhhhhhhh', 'aiiiiiiiiiiiiiiiiiiiiiiii', 'antidepressants', 'anyyyyyyyyyyyyyyyyy', 'backfrontsidewaysandallaroundtheworld', 'bbbbbyyyyyyyeeeeeeeee', 'boooooooooooglyyyyyy', 'bwahahahahahahahahahaha', 'byeeeeeeeeeeeee', 'contemplating', 'cooooooooookiiiiiiiiiiiieeeeeeeeeeee', 'eeeeeeeeewwwwwwww', 'experimenting', 'freeezinggggg', 'grrrrrrrrrrrrrrrrr', 'hahahahahahaha', 'hahahahahahahahahahahahahahahaha', 'hearthechatters', 'heeheeheeheeheehee', 'heyyyyyyyyyyyyyy', 'hohohohhohhoo', 'http://forums.talkcity.com/tc-adults/start ', 'http://www.shadowbots.com', 'huuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuugZ', 'iamahotniplickme', 'iamahotnipwithhotnippics', 'iamahotnipwithpics', 'lllllllliiiiiiiiiikeee', 'llloooozzzzeeerrrrzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz', 'meeeeeeeeeeeee', 'miiiiiiiiiiiiinnnnnnnnnnneeeeeeeeee', 'miiiiiinnnnnnnnnneeeeeeee', 'mikeeeeeeeeeeeeeeeeeeeeeeeeee', 'mmmmmmmmiiiiiiiiinnnnnnnnneeeeeeee', 'mmmmmmmmmmmmm', 'mmmmmmmmmmmmmm', 'moochhhhhhhhh', 'muahssssssssssssssss', 'muahsssssssssssssssssss', 'neverneverland', 'niteeeeeeeeeeeeeeeeeee', 'noooooooooooooo', 'ohhhhhhhhhhhhhhhh', 'oooooooooooglyyyyyyyy', 'oooooooooooooonnnnnnnnnnnneeeeeeeeeeeeeeesssssssss', 'peace-and-quiet', 'perfectionist', 'pppppppppppew', 'raaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'scintillating', 'subscriptions', 'tatatatnanaantatat', 'technologically', 'wahoooooooski', 'weeeeeeeeeeeeeeee', 'weeeeeeeeeeeeeeeeeeeeeeeeed', 'wheeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee', 'whoaaaaaaaaaaaa', 'woooooooooaaaahhhhhhhhhhhh', 'wooooooooooooohoooooooooooooooo', 'www.Wunderground.com', 'yuuuuuuuuuuuummmmmmmmmmmm']
longer = [w for w in V if fdist5(w) > 17 ]
sorted(longer)
['characteristically', 'uninterpenetratingly']
f_d5 = list(FreqDist(text5))
f_d5[w for w in V if len(w)>17]
File "/tmp/ipykernel_4488/1281006476.py", line 1 f_d5[w for w in V if len(w)>17] ^ SyntaxError: invalid syntax
longer = [w for w in V if f_d5(w) > 17 ]
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) /tmp/ipykernel_4488/556978234.py in <module> ----> 1 longer = [w for w in V if f_d5(w) > 17 ] /tmp/ipykernel_4488/556978234.py in <listcomp>(.0) ----> 1 longer = [w for w in V if f_d5(w) > 17 ] TypeError: 'list' object is not callable
fdist5 = FreqDist(text5)
sorted([w for w in set(text5) if len(w) > 7 and fdist5[w] > 7 ])
['#14-19teens', '#talkcity_adults', '((((((((((', '........', 'Question', 'actually', 'anything', 'computer', 'cute.-ass', 'everyone', 'football', 'innocent', 'listening', 'remember', 'seriously', 'something', 'together', 'tomorrow', 'watching']
from nltk import bigrams
list(bigrams(['more','is','said','than','done']))
[('more', 'is'), ('is', 'said'), ('said', 'than'), ('than', 'done')]
text9.collocations()
said Syme; asked Syme; Saffron Park; Comrade Gregory; Leicester Square; Colonel Ducroix; red hair; old gentleman; could see; Inspector Ratcliffe; Anarchist Council; blue card; Scotland Yard; dark room; blue eyes; common sense; straw hat; hundred yards; said Gregory; run away
text5.collocations()
wanna chat; PART JOIN; MODE #14-19teens; JOIN PART; PART PART; cute.-ass MP3; MP3 player; JOIN JOIN; times .. .; ACTION watches; guys wanna; song lasts; last night; ACTION sits; -...)...- S.M.R.; Lime Player; Player 12%; dont know; lez gurls; long time
text5.collocations([:40])
File "/tmp/ipykernel_4488/1684853526.py", line 1 text5.collocations([:40]) ^ SyntaxError: invalid syntax
text5[:40].collocations()
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /tmp/ipykernel_4488/3080040915.py in <module> ----> 1 text5[:40].collocations() AttributeError: 'list' object has no attribute 'collocations'
[len(w) for w in text1[:40]]
[1, 4, 4, 2, 6, 8, 4, 1, 9, 1, 1, 8, 2, 1, 4, 11, 5, 2, 1, 7, 6, 1, 3, 4, 5, 2, 10, 2, 4, 1, 5, 1, 4, 1, 3, 5, 1, 1, 3, 3]
fdist = FreqDist([len(w) for w in text1])
fdist
FreqDist({3: 50223, 1: 47933, 4: 42345, 2: 38513, 5: 26597, 6: 17111, 7: 14399, 8: 9966, 9: 6428, 10: 3528, ...})
fdist.keys()
dict_keys([1, 4, 2, 6, 8, 9, 11, 5, 7, 3, 10, 12, 13, 14, 16, 15, 17, 18, 20])
fdist.items()
dict_items([(1, 47933), (4, 42345), (2, 38513), (6, 17111), (8, 9966), (9, 6428), (11, 1873), (5, 26597), (7, 14399), (3, 50223), (10, 3528), (12, 1053), (13, 567), (14, 177), (16, 22), (15, 70), (17, 12), (18, 1), (20, 1)])
fdist[3]
50223
fdist.freq(3)
0.19255882431878046
fdist['monstrous']
0
fdist.N()
260819
fdist.keys()
dict_keys([1, 4, 2, 6, 8, 9, 11, 5, 7, 3, 10, 12, 13, 14, 16, 15, 17, 18, 20])
fdist.max()
3
fdist.plot()
<AxesSubplot:xlabel='Samples', ylabel='Counts'>
fdist1 < fdist2
--------------------------------------------------------------------------- NameError Traceback (most recent call last) /tmp/ipykernel_4488/2238094089.py in <module> ----> 1 fdist1 < fdist2 NameError: name 'fdist2' is not defined
fdist[0] < fdist[1]
True
fdist.tabulate()
3 1 4 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 50223 47933 42345 38513 26597 17111 14399 9966 6428 3528 1873 1053 567 177 70 22 12 1 1
sent7
['Pierre', 'Vinken', ',', '61', 'years', 'old', ',', 'will', 'join', 'the', 'board', 'as', 'a', 'nonexecutive', 'director', 'Nov.', '29', '.']
sent9
['THE', 'suburb', 'of', 'Saffron', 'Park', 'lay', 'on', 'the', 'sunset', 'side', 'of', 'London', ',', 'as', 'red', 'and', 'ragged', 'as', 'a', 'cloud', 'of', 'sunset', '.']
[w for w in sent9 if len(w)<4]
['THE', 'of', 'lay', 'on', 'the', 'of', ',', 'as', 'red', 'and', 'as', 'a', 'of', '.']
[word for word in sent9 if len(word)>4]
['suburb', 'Saffron', 'sunset', 'London', 'ragged', 'cloud', 'sunset']
[word for word in sent9 if len(word)==4]
['Park', 'side']
[word for word in sent9 if len(word)!=4]
['THE', 'suburb', 'of', 'Saffron', 'lay', 'on', 'the', 'sunset', 'of', 'London', ',', 'as', 'red', 'and', 'ragged', 'as', 'a', 'cloud', 'of', 'sunset', '.']
s.startswith('t')
--------------------------------------------------------------------------- NameError Traceback (most recent call last) /tmp/ipykernel_4488/1226948065.py in <module> ----> 1 s.startswith('t') NameError: name 's' is not defined
's'.startswith('t')
False
sorted([word for word in set(text9) if 'ss' in word])
['Across', 'Assyrian', 'Blessed', 'Cross', 'Dressed', 'Impressionism', 'Miss', 'Nevertheless', 'Professor', 'Renaissance', 'Russia', 'Russian', 'Sussex', 'Unless', 'abruptness', 'abyss', 'abysses', 'across', 'address', 'addressed', 'addresses', 'addressing', 'aggressive', 'aimless', 'airless', 'ambassador', 'ambassadors', 'ass', 'assassination', 'assassins', 'assemble', 'assembled', 'assembles', 'assembly', 'assent', 'assented', 'assert', 'asserted', 'assertion', 'asses', 'assisting', 'associated', 'assume', 'assumed', 'assumption', 'assure', 'bitterness', 'blackness', 'blameless', 'bless', 'blessed', 'bloodless', 'blossom', 'blossoms', 'bottomless', 'brainless', 'brass', 'breathless', 'breathlessly', 'briskness', 'business', 'businesslike', 'buttressed', 'careless', 'carelessly', 'carelessness', 'cheerfulness', 'childishness', 'class', 'classes', 'classic', 'clearness', 'coarseness', 'colossal', 'colourless', 'compassionate', 'compressing', 'concession', 'confess', 'confessed', 'confession', 'coolness', 'cresset', 'cross', 'crossed', 'crossing', 'crosslets', 'daintiness', 'darkness', 'depress', 'depressing', 'discuss', 'discussing', 'discussion', 'dispassionately', 'dissolution', 'distinctness', 'distress', 'dizziness', 'doubtless', 'dress', 'dressed', 'dresser', 'dresses', 'dressing', 'eagerness', 'earnestness', 'embarrassment', 'emptiness', 'essential', 'essentially', 'excessive', 'excessively', 'express', 'expressed', 'expression', 'expressions', 'eyeless', 'fearless', 'featureless', 'fieldglasses', 'formless', 'fossils', 'freshness', 'fulness', 'glass', 'glasses', 'graciousness', 'grass', 'grasshopper', 'greatness', 'gross', 'grosser', 'guess', 'guessed', 'happiness', 'harmless', 'harshness', 'heartiness', 'heartless', 'heedlessly', 'helpless', 'hopeless', 'hopelessly', 'impassively', 'impossible', 'impression', 'impressive', 'impressively', 'incessant', 'inexpressibly', 'jackasses', 'josser', 'kindness', 'kissing', 'lawless', 'lawlessness', 'less', 'lesser', 'lifeless', 'loneliness', 'madness', 'mass', 'massacre', 'masses', 'massive', 'meanness', 'meekness', 'mess', 'message', 'messages', 'mildness', 'mindedness', 'miss', 'missed', 'misses', 'missing', 'motionless', 'nameless', 'naturalness', 'neatness', 'necessary', 'nevertheless', 'numberless', 'oppressed', 'oppression', 'oppressive', 'oppressors', 'pass', 'passage', 'passages', 'passed', 'passing', 'passion', 'passionate', 'passionately', 'password', 'permissible', 'pessimism', 'pessimist', 'pessimists', 'pitiless', 'politeness', 'possessed', 'possession', 'possibilities', 'possibility', 'possible', 'possibly', 'pressure', 'process', 'procession', 'professed', 'profession', 'professional', 'professionally', 'professor', 'reckless', 'recklessly', 'repressed', 'restless', 'restlessly', 'scatheless', 'seriousness', 'shapeless', 'sickness', 'slowness', 'smallness', 'soundless', 'speechless', 'starless', 'stateliness', 'steadiness', 'submissive', 'successful', 'successor', 'swiftness', 'thickness', 'tidiness', 'tireless', 'tossed', 'tossing', 'unless', 'unnecessary', 'unsuccessful', 'vastness', 'vividness', 'voiceless', 'weakness', 'weaknesses', 'whiteness', 'willingness', 'woodenness']
sorted([item for item in set(text5) if item.istitle()])
['(__I__)', '20S', '2Pac', ':D', ':O', ':P', '=D', '=O', 'A', 'Aberdeen', 'About', 'Ack', 'Actually', 'Added', 'Advisory', 'Again', 'Ah', 'Ahh', 'Ahhh', 'Ahhhh', 'Aiken', 'Alaska', 'Albany', 'Almost', 'Always', 'Amazingness', 'American', 'Americans', 'Amy', 'An', 'And', 'Any', 'Anyone', 'Anyway', 'Apocalypse', 'Apparently', 'Are', 'Ark', 'Arkansas', 'As', 'Ask', 'At', 'Average', 'Aw', 'Away', 'Aww', 'Awww', 'B', 'Back', 'Barbieee', 'Barometer', 'Beach', 'Because', 'Been', 'Ben', 'Benjamin', 'Better', 'Bible', 'Biiiiiitch', 'Biographys', 'Birdgang', 'Bloooooooood', 'Bloooooooooood', 'Bloooooooooooood', 'Bone', 'Bonus', 'Books', 'Boone', 'Booyah', 'Borat', 'Born', 'Box', 'Boyz', 'Break', 'Breaking', 'Broken', 'Bud', 'Burger', 'But', 'Bwhaha', 'Bye', 'C', 'California', 'Came', 'Can', 'Cardinals', 'Cardnials', 'Cards', 'Care', 'Carolina', 'Catterick', 'Ceiling', 'Chamillionaire', 'Change', 'Changing', 'Chat', 'Check', 'Checked', 'Cheeeez', 'Chica', 'Chickens', 'Children', 'China', 'Chingy', 'Chop', 'Chris', 'Christianity', 'Ciara', 'City', 'Cleveland', 'Clock', 'Coincidence', 'Come', 'Compliments', 'Connected', 'Connecticutt', 'Considerably', 'Constitution', 'Cookies', 'Cool', 'Could', 'Course', 'Covered', 'Cradle', 'Craig', 'Crazy', 'Cream', 'Cry', 'Ct', 'Ctrl', 'Cum', 'Current', 'Cute', 'Cyber', 'D', 'Dakota', 'Damn', 'Dang', 'Daniel', 'Daveeee', 'David', 'Dawn', 'Dawnstar', 'Days', 'Death', 'Deep', 'Define', 'Denver', 'Depends', 'Devil', 'Dew', 'Diary', 'Did', 'Diego', 'Dipset', 'Dixie', 'Do', 'Does', 'Doing', 'Dokken', 'Dolls', 'Dood', 'Down', 'Downy', 'Dr', 'Dr.', 'Dreams', 'Drew', 'Drive', 'Drop', 'Dude', 'Dustin', 'Dying', 'Earth', 'Easily', 'Eastern', 'Eddie', 'Edgewood', 'Eggs', 'Elev', 'Elle', 'End', 'Eticket', 'Evanescence', 'Even', 'Everyone', 'Everytime', 'Evil', 'Eyes', 'F', 'F5', 'Fade', 'Fails', 'Fairbanks', 'Favorite', 'Females', 'Fergalicious', 'Fergie', 'Fetish', 'Fighting', 'Figured', 'Filth', 'Finally', 'Finding', 'Finger', 'Fingers', 'First', 'Fisher', 'Fishers', 'Fix', 'Fixed', 'Flames', 'Flatts', 'Florida', 'Foley', 'Food', 'For', 'Fort', 'Foxwoods', 'Friday', 'From', 'Froogle', 'G', 'G-Mobile', 'Gay', 'Geographic', 'Get', 'Ghetto', 'Girl', 'Go', 'God', 'Good', 'Gorda', 'Gosh', 'Gothic', 'Gracemont', 'Great', 'Greetings', 'Groups', 'Gs', 'Guess', 'Guy', 'H', 'Ha', 'Haha', 'Hahaaaa', 'Hahhaa', 'Hail', 'Hallo', 'Hand', 'Hard', 'Harmony', 'Have', 'Hay', 'He', 'Hello', 'Help', 'Her', 'Here', 'Hero', 'Hey', 'Heya', 'Heys', 'Heyy', 'Heyyy', 'Heyyyyyyy', 'Hi', 'High', 'Highway', 'Hill', 'History', 'Hiya', 'Hmm', 'Hold', 'Holla', 'Holland', 'Holy', 'Home', 'Horace', 'Hott', 'How', 'Howdy', 'Hug', 'Hughes', 'Hugs', 'Huh', 'Humidity', 'Hummmm', 'Hungry', 'I', 'Ico', 'Id', 'If', 'Im', 'Ima', 'Images', 'In', 'In.', 'Indeed', 'Indiantown', 'Iowa', 'Is', 'It', 'Its', 'Ive', 'Jam', 'James', 'Jane', 'Jason', 'Jayse', 'Jerketts', 'Jess', 'Jesus', 'Jeter', 'Joe', 'Joey', 'John', 'Jon', 'Jones', 'Jonesboro', 'Jordison', 'Joshy', 'Judy', 'Just', 'Justin', 'K', 'K-Fed', 'Kansas', 'Kellogs', 'Kent', 'Kentucky', 'Kewl', 'Kick', 'Kids', 'King', 'Kiss', 'Kittie', 'Kold', 'Ladies', 'Laguna', 'Lampert', 'Last', 'Laters', 'Lay', 'Lee', 'Leeches', 'Length', 'Let', 'Lets', 'Liam', 'Lies', 'Life', 'Like', 'Lil', 'Lime', 'Lion', 'Lithium', 'Little', 'Live', 'Lives', 'Living', 'Lmao', 'Lmfao', 'Lol', 'London', 'Long', 'Look', 'Looking', 'Lord', 'Louisville', 'Lousiana', 'Love', 'Lovely', 'M', 'Maidstone', 'Male', 'Man', 'Maps', 'Marlaya', 'Martian', 'Marvin', 'Mary', 'Matt', 'Max', 'Maybe', 'Me', 'Meep', 'Meh', 'Memory', 'Men', 'Mercy', 'Messaging', 'Metallica', 'Michigan', 'Midwest', 'Mine', 'Mmm', 'Mo', 'Mom', 'Money', 'Mono', 'Mooooooooooooooooooooooooooo', 'Morgan', 'Mp3', 'Ms', 'Muahz', 'Music', 'My', 'N', 'N"T', "N'T", 'Nadda', 'Naples', 'Nashville', 'Need', 'Nevermind', 'New', 'News', 'Nice', 'Niceeee', 'Niceeeee', 'Nickelback', 'Night', 'Niters', 'No', 'None', 'Nooo', 'Nooooooooooooooo', 'Nope', 'Norah', 'Norfolk', 'North', 'Not', 'Nothing', 'Nova', 'Now', 'Nu', 'O', 'O.K', 'Oak', 'Observed', 'Obviously', 'Ocean', 'October', 'Of', 'Officer', 'Offspring', 'Oh', 'Ohh', 'Ohhh', 'Ohio', 'Ok', 'Okay', 'Okkkkkk', 'Oklahoma', 'Older', 'Omg', 'On', 'Only', 'Ontario', 'Ooo', 'Oops', 'Or', 'Our', 'Out', 'Over', 'Own', 'Oy', 'P', 'P.', 'Pa', 'Painted', 'Parkway', 'Pastor', 'Pat', 'Patient', 'Paul', 'Paxil', 'Pearl', 'People', 'Perception', 'Permenant', 'Phil', 'Pic', 'Pierre', 'Player', 'Playing', 'Playstation', 'Please', 'Plssss', 'Point', 'Poor', 'Pounder', 'Pour', 'Private', 'Prof', 'Puddle', 'Pullin', 'Punta', 'Quarter', 'Question', 'R', 'Randy', 'Rang', 'Rascal', 'Raymond', 'Reading', 'Really', 'Record', 'Red', 'Relax', 'Remember', 'Reminder', 'Repeatedly', 'Resident', 'Reub', 'Richard', 'Rick', 'Ridin', 'Road', 'Roadrunner', 'Rock', 'Rofl', 'Romance', 'Room', 'Rooster', 'Roses', 'Rothlisburger', 'Round', 'Row', 'Rule', 'Rush', 'Russion', 'Rutger', 'Ruth', 'S', 'S.M.R.', 'Salesman', 'Salisbury', 'Salut', 'Same', 'San', 'Sat', 'Sat.', 'Saturday', 'Save', 'School', 'Scorpio', 'Scott', 'Screach', 'See', 'Seee', 'Series', 'Sessions', 'Set', 'Sexy', 'Shakin', 'Shaneeeeeeeee', 'She', 'Shinedown', 'Ships', 'Shore', 'Show', 'Silent', 'Silverstein', 'Simple', 'Slide', 'Slip', 'Smoochies', 'Snake', 'Sneeze', 'So', 'Soilwork', 'Someone', 'Something', 'Song', 'Sorry', 'South', 'Space', 'Spank', 'Splashing', 'St', 'Stalker', 'Steel', 'Stick', 'Still', 'Stop', 'Strapped', 'Sun', 'Sunny', 'Sunrise', 'Sup', 'Supreme', 'Sure', 'Swackhammer', 'Swim', 'Swinging', 'T-Mobile', 'Take', 'Talk', 'Teck', 'Tell', 'Temp.', 'Tennessee', 'Tense', 'Thank', 'Thanks', 'That', 'Thats', 'The', 'Then', 'They', 'Think', 'This', 'Three', 'Through', 'Thugs', 'Tide', 'Tiff', 'Tigers', 'Tim', 'Time', 'Tina', 'Tisk', 'To', 'Too', 'Touching', 'Tower', 'Track', 'Trivium', 'Troll', 'Troy', 'Truth', 'Turn', 'Ty', 'Type', 'Tyrese', 'U', 'U0', 'U1', 'U10', 'U100', 'U101', 'U102', 'U103', 'U104', 'U105', 'U106', 'U107', 'U108', 'U109', 'U11', 'U110', 'U111', 'U112', 'U113', 'U114', 'U115', 'U116', 'U117', 'U118', 'U119', 'U12', 'U120', 'U121', 'U122', 'U123', 'U126', 'U128', 'U129', 'U13', 'U130', 'U132', 'U133', 'U134', 'U136', 'U137', 'U1370', 'U138', 'U139', 'U14', 'U141', 'U142', 'U143', 'U144', 'U145', 'U146', 'U147', 'U148', 'U149', 'U15', 'U150', 'U153', 'U154', 'U155', 'U156', 'U158', 'U16', 'U163', 'U164', 'U165', 'U168', 'U169', 'U17', 'U170', 'U172', 'U175', 'U18', 'U181', 'U19', 'U190', 'U196', 'U197', 'U2', 'U20', 'U21', 'U219', 'U22', 'U23', 'U24', 'U25', 'U26', 'U27', 'U28', 'U29', 'U3', 'U30', 'U31', 'U32', 'U33', 'U34', 'U35', 'U36', 'U37', 'U38', 'U39', 'U4', 'U40', 'U41', 'U42', 'U43', 'U44', 'U45', 'U46', 'U47', 'U48', 'U49', 'U5', 'U50', 'U51', 'U52', 'U520', 'U53', 'U54', 'U542', 'U55', 'U56', 'U57', 'U58', 'U59', 'U6', 'U60', 'U61', 'U62', 'U63', 'U64', 'U65', 'U66', 'U67', 'U68', 'U69', 'U7', 'U70', 'U71', 'U72', 'U73', 'U74', 'U75', 'U76', 'U78', 'U79', 'U8', 'U80', 'U81', 'U819', 'U82', 'U820', 'U83', 'U84', 'U85', 'U86', 'U87', 'U88', 'U89', 'U9', 'U90', 'U91', 'U92', 'U95', 'U96', 'U97', 'U98', 'U988', 'U989', 'U99', 'Ug', 'Ugh', 'Uh', 'Uhh', 'Uhhh', 'Ultimate', 'Um', 'Ummm', 'Unboring', 'United', 'Unlimited', 'Until', 'Up', 'Upstate', 'Usually', 'Ut', 'Very', 'Video', 'Virius', 'Visit', 'Vroooom', 'W', 'Wainwright', 'Washing', 'Watching', 'Way', 'Wb', 'We', 'Web', 'Wednesday', 'Welcome', 'Well', 'Wellbutrin', 'Werd', 'Were', 'West', 'Whaaa', 'What', 'Whats', 'When', 'Where', 'Whereabouts', 'Whisper', 'Whispering', 'Whistlin', 'White', 'Whitesnake', 'Who', 'Whore', 'Why', 'Will', 'Wind', 'Wisconsin', 'World', 'Would', 'Wow', 'Wowsa', 'Wtf', 'Wyte', 'X', 'Yarrrr', 'Yay', 'Yea', 'Yeah', 'Yeh', 'Yes', 'Yikes', 'Yo', 'Yoko', 'York', 'You', 'Your', 'Zebrahead', 'Zoloft', 'Zyban']
sorted([w for w in set(text7) if '-' in w and 'index' in w])
['Stock-index', 'index-arbitrage', 'index-fund', 'index-options', 'index-related', 'stock-index']
sorted([wd for wd in set(text3) if wd.istitle() and len(wd) > 10])
['Abelmizraim', 'Allonbachuth', 'Beerlahairoi', 'Canaanitish', 'Chedorlaomer', 'Girgashites', 'Hazarmaveth', 'Hazezontamar', 'Ishmeelites', 'Jegarsahadutha', 'Jehovahjireh', 'Kirjatharba', 'Melchizedek', 'Mesopotamia', 'Peradventure', 'Philistines', 'Zaphnathpaaneah']
sorted([w for w in set(text7) if not w.islower()])
['!', '#', '$', '%', '&', "'", "''", "'82", "'86", "'S", '*', '*-1', '*-10', '*-100', '*-101', '*-102', '*-103', '*-104', '*-105', '*-106', '*-107', '*-108', '*-109', '*-11', '*-110', '*-111', '*-112', '*-113', '*-114', '*-115', '*-116', '*-117', '*-118', '*-119', '*-12', '*-120', '*-121', '*-122', '*-123', '*-124', '*-125', '*-126', '*-127', '*-128', '*-129', '*-13', '*-130', '*-131', '*-132', '*-133', '*-134', '*-135', '*-136', '*-137', '*-138', '*-139', '*-14', '*-140', '*-141', '*-142', '*-144', '*-145', '*-146', '*-147', '*-149', '*-15', '*-150', '*-151', '*-152', '*-153', '*-154', '*-155', '*-156', '*-157', '*-158', '*-159', '*-16', '*-160', '*-161', '*-162', '*-163', '*-164', '*-165', '*-166', '*-17', '*-18', '*-19', '*-2', '*-20', '*-21', '*-22', '*-23', '*-24', '*-25', '*-26', '*-27', '*-28', '*-29', '*-3', '*-30', '*-31', '*-32', '*-33', '*-34', '*-35', '*-36', '*-37', '*-38', '*-39', '*-4', '*-40', '*-41', '*-42', '*-43', '*-44', '*-45', '*-46', '*-47', '*-48', '*-49', '*-5', '*-50', '*-51', '*-52', '*-53', '*-54', '*-55', '*-56', '*-57', '*-58', '*-59', '*-6', '*-60', '*-61', '*-62', '*-63', '*-64', '*-66', '*-67', '*-68', '*-69', '*-7', '*-70', '*-71', '*-72', '*-73', '*-74', '*-75', '*-76', '*-77', '*-78', '*-79', '*-8', '*-80', '*-81', '*-82', '*-83', '*-84', '*-85', '*-86', '*-87', '*-88', '*-89', '*-9', '*-90', '*-91', '*-92', '*-93', '*-94', '*-95', '*-96', '*-97', '*-98', '*-99', '*?*', '*EXP*-1', '*EXP*-2', '*EXP*-3', '*ICH*-1', '*ICH*-2', '*ICH*-3', '*ICH*-4', '*NOT*', '*PPA*-1', '*PPA*-2', '*PPA*-3', '*RNR*-1', '*RNR*-2', '*RNR*-4', '*T*-1', '*T*-10', '*T*-100', '*T*-101', '*T*-102', '*T*-103', '*T*-104', '*T*-105', '*T*-106', '*T*-107', '*T*-108', '*T*-109', '*T*-11', '*T*-110', '*T*-111', '*T*-112', '*T*-113', '*T*-114', '*T*-115', '*T*-116', '*T*-117', '*T*-118', '*T*-119', '*T*-12', '*T*-120', '*T*-121', '*T*-122', '*T*-123', '*T*-124', '*T*-125', '*T*-126', '*T*-127', '*T*-128', '*T*-129', '*T*-13', '*T*-130', '*T*-131', '*T*-132', '*T*-133', '*T*-134', '*T*-135', '*T*-136', '*T*-137', '*T*-138', '*T*-139', '*T*-14', '*T*-140', '*T*-141', '*T*-142', '*T*-143', '*T*-144', '*T*-145', '*T*-146', '*T*-147', '*T*-148', '*T*-149', '*T*-15', '*T*-150', '*T*-151', '*T*-152', '*T*-153', '*T*-154', '*T*-155', '*T*-156', '*T*-157', '*T*-158', '*T*-159', '*T*-16', '*T*-160', '*T*-161', '*T*-162', '*T*-163', '*T*-164', '*T*-165', '*T*-166', '*T*-167', '*T*-168', '*T*-169', '*T*-17', '*T*-170', '*T*-171', '*T*-172', '*T*-173', '*T*-174', '*T*-175', '*T*-176', '*T*-177', '*T*-178', '*T*-179', '*T*-18', '*T*-180', '*T*-181', '*T*-182', '*T*-183', '*T*-184', '*T*-185', '*T*-186', '*T*-187', '*T*-188', '*T*-189', '*T*-19', '*T*-190', '*T*-191', '*T*-192', '*T*-193', '*T*-194', '*T*-195', '*T*-196', '*T*-197', '*T*-198', '*T*-199', '*T*-2', '*T*-20', '*T*-200', '*T*-201', '*T*-202', '*T*-203', '*T*-204', '*T*-205', '*T*-206', '*T*-207', '*T*-208', '*T*-21', '*T*-210', '*T*-211', '*T*-212', '*T*-213', '*T*-214', '*T*-215', '*T*-216', '*T*-217', '*T*-218', '*T*-219', '*T*-22', '*T*-220', '*T*-221', '*T*-222', '*T*-223', '*T*-224', '*T*-225', '*T*-226', '*T*-227', '*T*-228', '*T*-229', '*T*-23', '*T*-230', '*T*-231', '*T*-232', '*T*-233', '*T*-234', '*T*-235', '*T*-236', '*T*-237', '*T*-238', '*T*-239', '*T*-24', '*T*-240', '*T*-241', '*T*-242', '*T*-243', '*T*-244', '*T*-245', '*T*-246', '*T*-247', '*T*-248', '*T*-249', '*T*-25', '*T*-250', '*T*-251', '*T*-252', '*T*-253', '*T*-254', '*T*-255', '*T*-256', '*T*-257', '*T*-258', '*T*-259', '*T*-26', '*T*-260', '*T*-27', '*T*-28', '*T*-29', '*T*-3', '*T*-30', '*T*-31', '*T*-32', '*T*-33', '*T*-34', '*T*-35', '*T*-36', '*T*-37', '*T*-38', '*T*-39', '*T*-4', '*T*-40', '*T*-41', '*T*-42', '*T*-43', '*T*-44', '*T*-45', '*T*-46', '*T*-47', '*T*-48', '*T*-49', '*T*-5', '*T*-50', '*T*-51', '*T*-52', '*T*-53', '*T*-54', '*T*-55', '*T*-56', '*T*-57', '*T*-58', '*T*-59', '*T*-6', '*T*-60', '*T*-61', '*T*-62', '*T*-63', '*T*-64', '*T*-65', '*T*-66', '*T*-67', '*T*-68', '*T*-69', '*T*-7', '*T*-70', '*T*-71', '*T*-72', '*T*-73', '*T*-74', '*T*-75', '*T*-76', '*T*-77', '*T*-78', '*T*-79', '*T*-8', '*T*-80', '*T*-81', '*T*-82', '*T*-83', '*T*-84', '*T*-85', '*T*-86', '*T*-87', '*T*-88', '*T*-89', '*T*-9', '*T*-90', '*T*-91', '*T*-92', '*T*-93', '*T*-94', '*T*-95', '*T*-96', '*T*-97', '*T*-98', '*T*-99', '*U*', ',', '-', '--', '-LCB-', '-LRB-', '-RCB-', '-RRB-', '.', '...', '0', '0.0085', '0.05', '0.1', '0.16', '0.2', '0.25', '0.28', '0.3', '0.4', '0.5', '0.50', '0.54', '0.56', '0.60', '0.7', '0.82', '0.84', '0.9', '0.95', '0.99', '1', '1,000', '1,050,000', '1,100', '1,200', '1,298', '1,400', '1,460', '1,500', '1,570', '1,620', '1,880', '1.01', '1.1', '1.125', '1.14', '1.1650', '1.17', '1.18', '1.19', '1.2', '1.20', '1.24', '1.25', '1.26', '1.28', '1.35', '1.39', '1.4', '1.457', '1.46', '1.49', '1.5', '1.50', '1.55', '1.56', '1.5755', '1.5805', '1.6', '1.61', '1.637', '1.64', '1.65', '1.7', '1.75', '1.76', '1.8', '1.82', '1.8415', '1.85', '1.8500', '1.9', '1.916', '1.92', '10', '10,000', '10.19', '10.2', '10.5', '100', '100,000', '100,980', '101', '102', '103', '105', '106', '107', '107.03', '107.9', '108', '109.73', '11', '11,000', '11,390,000', '11,762', '11.10', '11.5', '11.57', '11.6', '11.72', '11.95', '110', '111', '112.9', '113.2', '114', '115', '116.3', '116.4', '116.7', '116.9', '118', '118.6', '119', '11\\/16', '12', '12,252', '12.09', '12.5', '12.52', '12.68', '12.7', '12.82', '12.97', '120', '120,000', '120.7', '1206.26', '121.6', '125', '126,000', '126.1', '126.15', '127.03', '128', '129.91', '12\\/32', '13', '13,056', '13.1', '13.15', '13.5', '13.50', '13.625', '13.65', '13.73', '13.8', '13.90', '130', '130.6', '130.7', '131.01', '132', '132,000', '132.9', '133', '133.7', '133.8', '135', '138', '139', '13\\/16', '14', '14,821', '14.', '14.00', '14.13', '14.26', '14.28', '14.43', '14.5', '14.53', '14.54', '14.6', '14.75', '14.99', '140', '141.9', '142.84', '142.85', '143.08', '143.80', '143.93', '144', '145', '148', '148.9', '149', '149.9', '14\\/32', '15', '15,000', '15.5', '150', '150,000', '150.00', '152,000', '153.3', '154,240,000', '154.2', '155', '158,666', '16', '16,000', '16,072', '16.05', '16.09', '16.125', '16.2', '16.5', '16.68', '16.7', '16.9', '160', '1614', '1637', '169.9', '16\\/32', '17', '17.3', '17.4', '17.5', '17.95', '170', '170,000', '170,262', '1738.1', '175', '176', '176.1', '177', '1787', '179', '18', '18,000', '18,444', '18.3', '18.6', '18.95', '180', '184', '185.9', '187', '188', '188.84', '19', '19.3', '19.50', '19.6', '19.94', '19.95', '190', '1901', '1903', '191.9', '1917', '1925', '1928-33', '1929', '1933', '1934', '1937-40', '1948', '195', '1953', '1955', '1956', '1961', '1965', '1966', '1967', '1968', '1969', '1970', '1971', '1972', '1973', '1973-75', '1975', '1976', '1977', '1979', '198', '1980', '1981', '1982', '1983', '1983-85', '1984', '1985', '1986', '1986-87', '1987', '1987-88', '1988', '1988-89', '1989', '1989-90', '1990', '1990-91', '1991', '1991-1999', '1991-2000', '1992', '1992-1999', '1993', '1994', '1995', '1996', '1997', '1998', '1999', '1:30', '1\\/2', '1\\/4', '1\\/8', '2', '2,000', '2,099', '2,303,328', '2,410', '2,500', '2,700', '2-3', '2-8', '2.07', '2.1', '2.15', '2.19', '2.2', '2.25', '2.29', '2.3', '2.30', '2.35', '2.375', '2.4', '2.42', '2.44', '2.46', '2.47', '2.5', '2.50', '2.6', '2.62', '2.65', '2.7', '2.75', '2.8', '2.80', '2.87', '2.875', '2.9', '2.95', '20', '20,000', '20.07', '20.5', '200', '200,000', '2000', '2003\\/2007', '2005', '2009', '2017', '2019', '2029', '203', '21', '21,000', '21.1', '21.9', '210', '210,000', '212', '214', '2141.7', '2160.1', '2163.2', '22', '22.75', '220', '220.45', '221.4', '225', '225,000', '225.6', '226,570,380', '227', '228', '22\\/32', '23', '23,000', '23,403', '23.25', '23.4', '23.5', '23.72', '230-215', '234.4', '235', '236.74', '236.79', '24', '24,000', '24.95', '240', '240,000', '241', '244,000', '245', '25', '25,000', '25.50', '25.6', '250', '250,000', '251.2', '257', '26', '26,000', '26,956', '26.2', '26.5', '26.8', '260', '263.07', '2645.90', '266', '2691.19', '27', '27.1', '27.4', '270', '271,124', '271-147', '273.5', '274', '275', '278.7', '28', '28.25', '28.36', '28.4', '28.5', '28.53', '28.6', '280', '282', '286', '29', '29.3', '29.4', '29.9', '292.32', '295', '2\\/32', '3', '3,040,000', '3,250,000', '3,288,453', '3,500', '3,600', '3-4', '3.01', '3.04', '3.1', '3.16', '3.18', '3.19', '3.2', '3.20', '3.23', '3.253', '3.28', '3.3', '3.35', '3.375', '3.4', '3.42', '3.43', '3.5', '3.55', '3.6', '3.61', '3.625', '3.7', '3.75', '3.8', '3.80', '3.9', '30', '30,000', '30,537', '30,841', '30.6', '30.9', '300', '300,000', '300-113', '301', '3057', '306', '31', '310', '313', '319.75', '32', '32.8', '320', '321', '321,000', '325,000', '326', '33', '331,000', '334.5', '339', '34', '34.625', '340,000', '341.20', '343', '3436.58', '35', '35.2', '35.7', '350', '350,000', '352.7', '352.9', '353', '35500.64', '35564.43', '36', '36.9', '360', '361,376', '361.8', '3648.82', ...]
sorted([t for t in set(text2) if 'cie' in t or 'cei' in t])
['ancient', 'ceiling', 'conceit', 'conceited', 'conceive', 'conscience', 'conscientious', 'conscientiously', 'deceitful', 'deceive', 'deceived', 'deceiving', 'deficiencies', 'deficiency', 'deficient', 'delicacies', 'excellencies', 'fancied', 'insufficiency', 'insufficient', 'legacies', 'perceive', 'perceived', 'perceiving', 'prescience', 'prophecies', 'receipt', 'receive', 'received', 'receiving', 'society', 'species', 'sufficient', 'sufficiently', 'undeceive', 'undeceiving']
[len(w) for w in text1]
[1, 4, 4, 2, 6, 8, 4, 1, 9, 1, 1, 8, 2, 1, 4, 11, 5, 2, 1, 7, 6, 1, 3, 4, 5, 2, 10, 2, 4, 1, 5, 1, 4, 1, 3, 5, 1, 1, 3, 3, 3, 1, 2, 3, 4, 7, 3, 3, 8, 3, 8, 1, 4, 1, 5, 12, 1, 9, 11, 4, 3, 3, 3, 5, 2, 3, 3, 5, 7, 2, 3, 5, 1, 2, 5, 2, 4, 3, 3, 8, 1, 2, 7, 6, 8, 3, 2, 3, 9, 1, 1, 5, 3, 4, 2, 4, 2, 6, 6, 1, 3, 2, 5, 4, 2, 4, 4, 1, 5, 1, 4, 2, 2, 2, 6, 2, 3, 6, 7, 3, 1, 7, 9, 1, 3, 6, 1, 1, 5, 6, 5, 6, 3, 13, 2, 3, 4, 1, 3, 7, 4, 5, 2, 3, 4, 2, 2, 8, 1, 5, 1, 3, 2, 1, 3, 3, 1, 4, 1, 4, 6, 2, 5, 4, 9, 2, 7, 1, 3, 2, 3, 1, 5, 2, 6, 2, 7, 2, 2, 7, 1, 1, 10, 1, 5, 1, 3, 2, 2, 4, 11, 4, 3, 3, 1, 3, 3, 1, 6, 1, 1, 1, 1, 1, 4, 1, 3, 1, 2, 4, 1, 2, 6, 2, 2, 10, 1, 1, 10, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 3, 1, 5, 1, 4, 1, 7, 1, 5, 1, 9, 1, 5, 1, 7, 1, 7, 1, 6, 1, 7, 1, 7, 1, 5, 1, 4, 1, 4, 1, 5, 1, 5, 1, 4, 1, 4, 1, 11, 1, 8, 1, 8, 2, 1, 3, 1, 3, 1, 9, 2, 2, 4, 2, 4, 4, 4, 4, 11, 8, 3, 4, 1, 4, 2, 1, 4, 5, 2, 1, 3, 1, 3, 7, 2, 4, 4, 7, 3, 4, 8, 3, 6, 1, 6, 2, 3, 5, 1, 7, 2, 8, 6, 9, 2, 6, 2, 5, 7, 4, 2, 3, 4, 10, 1, 6, 2, 7, 1, 9, 3, 4, 3, 1, 2, 5, 4, 2, 5, 1, 4, 3, 8, 1, 8, 5, 10, 1, 7, 9, 1, 2, 5, 8, 1, 3, 9, 6, 8, 1, 3, 4, 2, 1, 2, 8, 3, 7, 7, 9, 1, 2, 4, 2, 3, 5, 4, 9, 1, 5, 8, 3, 6, 8, 2, 12, 1, 2, 9, 1, 8, 4, 1, 1, 3, 4, 2, 4, 3, 4, 13, 4, 1, 7, 1, 7, 1, 3, 4, 2, 9, 1, 2, 4, 7, 3, 11, 1, 9, 3, 3, 1, 2, 4, 4, 4, 1, 4, 5, 2, 1, 3, 1, 3, 1, 5, 11, 1, 2, 1, 4, 9, 2, 4, 8, 1, 6, 5, 5, 2, 4, 2, 4, 5, 4, 4, 4, 1, 3, 3, 4, 4, 4, 6, 5, 2, 3, 4, 1, 6, 1, 3, 4, 4, 3, 9, 5, 2, 3, 1, 3, 4, 4, 1, 8, 1, 3, 1, 3, 4, 9, 4, 5, 1, 3, 3, 2, 4, 7, 1, 4, 4, 4, 3, 5, 7, 1, 3, 2, 3, 10, 10, 7, 2, 4, 2, 2, 1, 3, 1, 4, 1, 3, 2, 3, 4, 3, 4, 5, 2, 4, 2, 6, 3, 5, 1, 2, 2, 4, 3, 4, 5, 2, 3, 4, 2, 9, 1, 5, 4, 1, 5, 5, 3, 7, 5, 3, 3, 9, 3, 2, 1, 3, 4, 4, 4, 5, 3, 3, 5, 2, 3, 5, 1, 4, 4, 4, 6, 1, 3, 4, 7, 3, 4, 4, 6, 3, 8, 3, 3, 5, 1, 7, 7, 1, 3, 6, 8, 2, 4, 1, 8, 7, 1, 7, 1, 3, 7, 1, 7, 4, 6, 1, 4, 2, 6, 3, 10, 6, 8, 2, 5, 1, 2, 5, 6, 14, 7, 1, 8, 1, 1, 3, 3, 7, 5, 6, 2, 2, 7, 1, 1, 9, 6, 1, 4, 2, 5, 5, 3, 1, 3, 5, 5, 3, 4, 2, 2, 5, 2, 2, 3, 1, 1, 3, 3, 4, 3, 8, 1, 5, 4, 2, 7, 2, 5, 2, 2, 5, 1, 1, 5, 2, 3, 5, 1, 5, 2, 4, 9, 4, 4, 4, 4, 2, 4, 7, 2, 2, 6, 1, 1, 2, 4, 3, 1, 3, 4, 4, 3, 4, 1, 3, 5, 1, 3, 6, 5, 1, 5, 6, 9, 3, 8, 7, 1, 4, 9, 4, 7, 7, 1, 3, 2, 5, 4, 3, 6, 4, 2, 2, 3, 3, 2, 2, 6, 1, 3, 4, 5, 6, 7, 6, 6, 3, 5, 2, 4, 7, 1, 1, 5, 1, 2, 2, 5, 1, 4, 1, 2, 5, 1, 4, 2, 4, 3, 13, 4, 4, 5, 7, 2, 3, 1, 3, 9, 2, 3, 10, 4, 2, 3, 6, 2, 2, 7, 1, 1, 8, 1, 1, 6, 1, 1, 3, 6, 3, 8, 3, 4, 3, 3, 7, 6, 4, 3, 1, 5, 5, 3, 6, 3, 11, 6, 7, 1, 4, 2, 2, 4, 2, 6, 2, 4, 5, 2, 6, 2, 4, 2, 2, 7, 1, 1, 5, 1, 1, 8, 3, 2, 9, 3, 4, 2, 3, 3, 1, 4, 5, 7, 1, 5, 4, 6, 3, 5, 8, 2, 3, 3, 1, 8, 1, 5, 3, 6, 1, 3, 3, 2, 1, 4, 9, 4, 1, 3, 4, 4, 7, 2, 1, 4, 1, 7, 1, 7, 3, 5, 2, 3, 5, 1, 3, 7, 3, 3, 6, 3, 4, 1, 4, 2, 2, 5, 1, 1, 6, 1, 1, 3, 4, 7, 2, 1, 2, 7, 4, 7, 4, 4, 1, 4, 2, 8, 5, 1, 6, 1, 5, 3, 5, 2, 4, 5, 5, 3, 5, 5, 1, 2, 5, 2, 7, 4, 2, 3, 4, 1, 3, 3, 4, 6, 4, 7, 2, 3, 3, 7, 1, 2, 5, 4, 4, 5, 1, 5, 1, 4, 5, 5, 4, 1, 2, ...]
len(set(text3))
2789
len(set([word.lower() for word in text1 if word.isalpha()]))
16948
word = 'cat'
if len(word) < 5:
print('word length is less than 5')
word length is less than 5
sent1 = ['Call','me','Ishmael','.']
for word in sent1:
if word.endswith('l'):
print(word)
Call Ishmael
for token in sent1:
if token.islower():
print(token, 'is a lower case word')
elif token.istitle():
print(token, 'is a titlecase word')
else:
print(token,'is punctuation')
Call is a titlecase word me is a lower case word Ishmael is a titlecase word . is punctuation
tricky = sorted([w for w in set(text2) if 'cei' or 'cie' in w])
for word in tricky:
print(word)
! !" !"-- !' !'" !-- !--" " "' "-- & ' ', '-- ( ) ), )-- *** , ," ,"-- ,' ,) ,- ,-- ,--" - -- --" --' --( --, -? -?" . ." ."-- .' .'" .'-- .) .)-- .-- .--" ... ..." .] 1 10 11 12 13 14 15 16 17 18 1811 19 2 20 200 21 22 23 24 25 26 27 28 29 3 30 31 32 33 34 35 36 37 38 39 4 40 41 42 43 44 45 46 47 48 49 5 50 6 7 7000L 8 9 : :-- :--" ; ;" ;"-- ;' ;-- ;--" > ? ?" ?"-- ?' ?) ?-- ?--" A ALL ALMOST ALWAYS AM ANY ARE Abbeyland About Absence Abundance Add Affecting After Again Against Ah All Allenham Allow Almost Altogether Am Among Amongst An And Annamaria Anne Another Anxiety April Are As Ashamed Astonished Astonishment At Austen Avignon Ay Aye BEEN BOTH Bad Bartlett Barton Bath Beautifully Because Before Being Believe Benevolent Berkeley Besides Betty Between Beyond Biddy Bishop Bond Bonomi Born Brandon Bristol Brown Building Buildings Burgess Business But By CAN CATCHING CHAPTER COULD Can Careless Careys Cartwright Casino Cassino Certainly Chagrined Charlotte Choice Christian Christmas Civil Clarke Cleveland Cold Colonel Columella Combe Come Common Comparisons Concealing Concern Conduit Confess Consider Considering Constantia Continual Conversation Cottage Could Court Courtland Cowper Cross Cruel D DEAR DID DO DOES DRAW Dartford Dashwood Dashwoods Davies Dawlish Dear Dearest Delaford Dennison Depend Design Determined Devonshire Did Disappointed Disappointment Do Doctor Does Domestic Don Donavan Dorsetshire Down Dr Drury Dullness During Duty EDWARD ELINOR END ESTEEM Each Eager Early East Easter Edward Elinor Eliza Elliott Ellison Ellisons Encouraged Engaged Engagement England Epicurism Esq Esteem Even Every Everybody Excellent Exchange Excuse Exert Exeter Extend Extravagance F FAITH FERRARS Fanny Far Farm February Ferrars Few Fifteen Fifty Five Folly For Forgive Fortunately Four Friday From Frosts GAUCHERIE Gardens Gentleman Get Gibson Gilberts Go God Godby Going Gone Good Gracious Grandeur Gray Greatness Grecian Grey HAD HAS HE HER HERS HIM HIS Had Half Hamlet Hanger Hanover Happy Harley Harris Harry Has Have Having He Heaven Henry Henshawe Her Here High His Hitherto Holborn Holburn Hon Honiton Hope Hour House How However Hum Hunters Hush I II IN INconvenience IS If Imagine Impatient Impossible Improve Impudence In Indeed Indies Infirmity Inn Instead Invited Is It JOHN James Jane January Jenning Jennings John Just KNEW Kensington Kingham Know Knowing L LESS LET LONG LOOK LOOKED LUCY La Lady Ladyship Lane Last Laughing Law Let Life Like Little Lodging Lombardy London Long Longstaple Look Lord Luckily Lucy M MADAM MAY ME MIND MONTH MUST MY Ma Mab Madam Magna Mall Mama Mamma Mansion Many March Margaret Marianne Marlborough Martha Mary Master May Me Men Michaelmas Mid Middleton Middletons Midsummer Mind Mine Misery Miss Misses Mistress Monday Months More Morton Most Mr Mrs Much Music Must My NOT NOW Nancy Nay Neither Never New Newton No Nobody None Nor Norfolk Norland Not Nothing November Now OCCASION ONCE ONE OUGHT OWN October Of Offended Oh On Once One Only Opportunity Opposition Or Other Others Our Oxford P PARTIES Pall Palmer Palmers Pardon Park Parliament Parrys Parsonage Perhaps Pity Please Pleased Plymouth Poor Pope Portman Pratt Pray Precious Preparation Prescriptions Priory Queen Quite REALLY ROBERT Rather Reading Really Recollecting Reflection Regard Relate Remember Reserved Restless Richard Richardson Richardsons Robert Rose S SHALL SHE SHOULD SIR SOMETIMES STILL Sackville Sally Sandersons Saturday Scarcely Scotland Scott Secrecy Selfish Sense Sensibility September Seven Shakespeare Shall Sharpe She Short Should Shyness Simpson Since Sincerely Sir Sit Smith So Some Somehow Somerset Somersetshire Something Sometimes Soon Sophia Sparks Square St Stanhill Steele Steeles Still Strange Street Streets Such Sunday Supported Supposing Sure Surely Surprised Sussex THAT THE THEIR THEM THEN THERE THESE THEY THIS THREE TIME TOLD TRIED TWICE TWO Take Taylor Tell Temple Thank That The Their Then There These They Think This Thomas Thomson Those Though Three Thunderbolts Thursday Thus Till Time Tis To Towards Truth Tuesday Twice Twill Two US Unaccountable Undoubtedly Ungracious Upon Use VERY Valley Vanity Very Volume W WAS WE WERE WHAT WHERE WILL WILLOUGHBY WITHOUT WORD WOULD Wait Walker Want Was Watched We Wednesday Well Were Westminster Westons Weymouth What Whatever When Whenever Where Whereas Wherever Whether Which While Whitakers Whitwell Who Whoever Whom Why Will William Williams Willing Willoughby Willoughbys With Within Without Would Writing YOU YOUR Yes Yet You Your [ ] a abandoned abatement abhor abhorred abhorrence abilities ability able ablest abode abominably abounded about above abridge abridgement abroad abruptly abruptness absence absent absolute absolutely abstracted abstraction abstruse absurd absurdity abundance abundantly abuse abused abuses acacia accelerate accent accents accept acceptable acceptably acceptance accepted accepting accident accidental accidentally accidently accommodate accommodating accommodation accommodations accompanied accompany accomplished accomplishment accordant according accordingly accosted account accounted accounts accrue accurately accusation accuse accustom accustomary aches aching acknowledge acknowledged acknowledging acknowledgment acknowledgments acquaintance acquaintances acquainted acquiesced acquiescence acquired acquisition acquit acquitted acquitting across act acted acting action actions active acts actual actually acute acutely acuteness adapted add added adding addition additional additions address addressed addresses addressing adequate adhering adieu adieus adjoining adjusting administer administering admirable admiration admire admired admirers admires admiring admission admit admittance admitted admitting adopt adopted adorned advance advanced advancement advances advancing advantage advantageous advantages advice advisable advise advised affability affable affair affairs affect affectation affected affectedly affecting affection affectionate affectionately affections affects affirmative affixed afflict afflicted afflicting affliction afflictions affluence afford afforded affording affront affronting afraid after afternoon afterward afterwards again against age ages aggrandizement aggravation agitate agitated agitation ago agonies agony agree agreeable agreed agreeing agreement aid ailment ailments aim aimed air alacrity alarm alarmed alarming alarms alienated alighted alike alive all alleged alleviation allow allowable allowance allowances allowed allowing alloy alluded allusion almost alone along aloud alphabet already also altar alter alteration alterations altered altering alternately alternative although altogether always am amazement amazing amazingly ambition amended amendment amends amiable amiably amidst amiss among amongst amount amounted ample amply amuse amused amusement amusements amusing an ancient and anew angel anger angrily angry anguish animated animating animation ankle ankles annexed annihilation announce announced announcing annuities annuity annum another answer answerable answered answering answers anticipate anticipated anticipating anticipation anticipations anxiety anxious anxiously any anybody anymore anything apartment apartments apiece apologies apologising apologize apologized apology apothecary apparent apparently appeal appear appearance appearances appeared appearing appeased appetite appetites applauded application applied applying appointed appointment apprehended apprehension apprehensions apprehensive approach approached approaching approbation appropriate approve approved apricot aptitude arbour archness ardent ardour are argue argument arguments arise arisen arm arms army arose around arranged arrangement arrangements arranging arrival arrive arrived arrives arriving art artful article articulate articulation artificial artless artlessness as ascended ascending ascertain ascertained ash ashamed aside ask asked asking asleep aspect assembled assemblies assent assented asserted assertion assertions assiduities assiduous assigned assist assistance assisted assisting associate associating assuage assurance assurances assure assured assuring astonished astonishing astonishment astray asunder at ate atmosphere atone atoned atonement atoning attach attached attaching attachment attachments attack attacked attacks attainable attained attempt attempted attempting attempts attend attendance attendant attendants attended attending attention attentions attentive attentively attitude attract attracted attraction attractions attractive attribute attributed attributing audacity audible auditors augment augmented augmenting aunt auspicious auspiciously author authorised authority authors autumn avail availed avarice avoid avoided avoiding avowal await awaited awake awaken awakened awakening awaking aware away awful awhile awkward awkwardness awoke ay aye baby bachelor back backwardness backwards bad badness bags ball balls band banditti banish banished bank banker banns barbarous barbarously bargain barouche barouches bashful basis basket bathed be beamed bear bearing bears beasts beat beau beauties beautiful beautifully beauty beaux became because become becoming bed bedchamber bedroom bedrooms beds bee beef been befall befallen befalls befell before beg began begged begging begin beginning begins begun behave behaved behaviour beheld behind behold beholding being beings belief believe believed believes believing bell belonged belonging belongs beloved below bely beneath benefactress beneficial benefit benefited benevolence benignant bent bequeath bequeathed bequest beset besides bespeak bespoke best bestow bestowed bestowing betray betrayed betraying better between bewitching beyond bias biased bid bidding bide bigger billiard billiards bind birth bit bitch bitter bitterly bitterness black blackest blackguard blamable blame blameable blamed blameless blank blast blasted bless blessed blessing blessings blights blind blinded blindly bliss blockhead blood bloom blooming blossoms blow blown blue blunder blundered blunt bluntly blush blushed blushes blushing bluster board boast boasting bodily body boiled boisterous bold bolder boldly bones bonnet book books booksellers bore born borne borrow borrowed both bottom bottoms bound bout bow bowed bowing bowling boy boyish boys branch branched braving breach break breakfast breakfasting breaking breast breath breathing bred breed breeding bribing brief briefly bright brightened brighter brightness brilliancy brilliant bring bringing brings broad broader broke broken brood brooding brother brothers brought brow brown bruised brush build building built bulk burnt burst bursts bury busily business bustle busy but butcher buy buying by bye c calculate calculated calculation call called calling calls calm calmer calming calmly calmness came can canal candid candidly candlelight candles candour cannot cant canvassing cap capability capable caprice captivate captivating card cards care careful carefully carefulness careless carelessly carelessness cares caresses caressing caricature carpet carriage carriages carried carries carry carrying case casement cases cash cast casts catch catching cats caught cause caused caution cautious cautiously cautiousness cavil cease ceased ceasing ceiling celebrated celebration censure censured centered centre ceremony certain certainly certainties certainty cessation chained chair chairs chaise chamber chambers chance chanced change changed changes changing chaperon character characters charge charged chariot charity charm charmed charming charms chat chatty cheap cheat cheated check checked checking cheek cheeks cheered cheerful cheerfuller cheerfulness cheerless cherished cherishing cherries chicken chief chiefly child children chimney china choice choked choose chose chosen chuckle church chuse chusing circle circles circuit circumspection circumstance circumstanced circumstances city civil civilities civility civilly claim claimed claiming claims clamorous clapped classed clear cleared clearer clearing clearly clemency clergyman clerk clever climate climbing clock clogged close closed closely closer closet closing clothes cloud clouds club clue coach coachmaker coachman coat coats cod coffee coincide cold colder coldness colicky collation collect collected collecting collection colonel colour coloured colouring combat come comer comes comfort comfortable comfortably comforted comforter comforts coming comings command commanded commands commendation commended comment comments commercial commiseration commission commissioned common commonest commonly communicate communicated communicating communication communicative compact companion companionableness companions company comparative comparatively compare compared compares comparison comparisons compass compassion compassionate competence complacency complain complained complaining complaint complaints complaisance complete completed completely completion complexion compliance compliant complicated compliment compliments composed composedly composition composure compound comprehend comprehended comprehension comprise comprised compromise compunction conceal concealed concealing concealment conceit conceited conceive concern concerned concerning concerns concerto concession concessions conciliate conciliation concise conclude concluded concluding conclusion conclusions concurrence condemnation condemned condemning condescend condition conditioned conditions condolence conduct conducted confederacy conference confess confessed confessedly confession confidant confidante confidence confident confidential confiding confined confinement confirm confirmation confirmed confirming conform conforming conformity confound confounded confused confusedly confusion congratulate congratulated congratulating congratulations conjectural conjecture conjectured conjectures conjecturing conjure conjurer connect connected connection connections conning connoisseur connoisseurship conquest conquests conscience conscientious conscientiously conscious consciousness consent consented consequence consequences consequent consequently consider considerable considerably considerate considerately consideration considerations considered considering considers consisted consistency consistent consists consolation consoled conspicuous conspired constancy constant constantly consternation constitution constitutional constrained construction consult consultation consulted consumption contained containing contempt contemptible contemptuous contemptuously contend content contented contenting contentment contents continual continually continuance continuation continue continued continuing contracted contraction contradict contradicted contradictory contrary contrast contrasted contribute contributed contributing contribution contrition contrivance contrived contrives contriving control controlled convenience conveniences convenient conveniently conversation conversations converse conversed conversing convert conveyed conveying conviction convince convinced convincing cool coolness copied copy copying cordial cordiality cordially cordials corner correct correctness correspond correspondence cost cote cottage cottages couched cough could counsel counsellor countenance counter counteract counteracted countless country county couple couples courage course court courted courtesy courting cousin cousins covenant covered covering covert cows coxcomb coxcombs cramps create created creating creation creature creatures credit creditable credulous crept cried cries crime criminal crimsoned critical critique crooked cross crossing crossness crowd crowned cruel cruelly cruelty cry crying cultivated cunning curacy curate cure curiosity curious curricle curtsying cut cutlets cutting d dagger daggers daily dairy damp dance danced dances dancing danger dangerous dare dared dares dark darker darling dashing date daughter daughters dawdled dawdling dawned day days dead deal dealt dear dearer dearest dearly death debate debated debating debt debts decay decease deceitful deceive deceived deceiving decent decently deception decide decided deciding decision decisions decisive decisively declaration declare declared declares declaring decline declined declining decorum decrease decree deed deemed deep deeper deepest deeply defect defective defects defence defend defended defer deference deficiencies deficiency deficient define defined defy degrade degraded degree degrees dejected dejection delay delayed delays deliberate deliberating deliberation delicacies delicacy delicate delighful delight delighted delightful delightfully delineated delirium deliver deliverance delivered delivery demand demanded demands demeanor demesne demonstrations demur demure denial denied denote denoted denoting deny depart departed departing departure depend depended dependence dependent depending depends deplorable depravity depressed deprive deprived derive derived descend descendant describe described describing description deserted desertion deserts deserve deserved deserves deserving design designs desirable desire desired desiring desirous despair despatch despatching desperate desperately desperation despise despised despising despondence desponding dessert destination destiny destroy destroyed destroys destruction detail detain detaining detected detecting detection deter determinate determination determine determined determining deterred detest detestably detested detract deviation devil devolved devoted diabolical dictate diction did died dies differed difference different differently differing difficult difficulties difficulty diffident diffuse dignified dignity dilatoriness dimensions diminished diminution dine dined dining dinner dinners direct directed directing direction directions directly dirt dirty disadvantage disagreeable disagreement disagreements disappeared disappoint disappointed disappointing disappointment disappointments disapprobation disapprove disapproved disapproves disapproving disarm disastrous disbelief discarded discern discerning discernment discharge discharged discharging disclaiming disclosing disclosure discompose discomposed discontent discontented discontents discourse discover discovered discovering discovery discreet discretion discrimination discussion discussions disengaged disengagement disgrace disgraced disgraceful disgust disgusted disgusting dishonorable disinclination disinherited disinterested disinterestedness dislike disliked disliking dismiss dismissed dismounted disobedient disorder disordered dispatch dispatched dispatches dispersed dispersing dispirited display displayed displeased displeasure disposal dispose disposed disposing disposition disproportion dispute disputes disqualifications disquiet disregard disregarded disrespectfully dissatisfaction dissatisfied dissembling dissent dissented dissimilar dissipated dissipation dissolving dissuade distance distant distinction distinguish distinguished distinguishing distractedly distress distressed distresses distressing distrust distrusts disturb disturbed diverted divide divided dividing divine division divorce do doat doatingly doctrine does dog dogs doing domestic don done doomed dooming door doors doted doting dotted doubly doubt doubted doubtful doubting doubtingly doubtless doubts douceur dove down downs drain drains draw drawback drawing drawings drawn draws dread dreaded dreadful dreadfully dreading dream dreaming dress dressed dresses dressing drew dried drift drink drinking drive driven drives driving droll drop dropped drops dropt drove drunk dry dryness due duets dull dullness duly dupe duration during duties duty dwell dwelling dwelt dying each eager eagerly eagerness ear earlier earliest early earned earnest earnestly earnestness ears earth earthly ease easier easiest easily east easy eat eating ebullition echoed eclat economical economically economy ecstasy ecstatic edge editions edtions education effect effected effecting effects effectual effectually efficacy effort effusion effusions eight eighteen eighty either ejaculation elder elderly eldest elect election elegance elegant elevated eligibility eligible eloping eloquence else elsewhere elucidation eluded em embarrassed embarrassment embellishment embellishments embitter embraced embraces emergence emergency emigrant eminence emotion emphasis employ employed employment employments emptiness enable enabled enamoured enclosure encourage encouraged encouragement encouragements encouraging encroachments encumbered end endear endeavor endeavoring endeavors endeavour endeavoured endeavouring endeavours ended ending endless endowed ends endurance endure endured enemy energy enfeebled enforced enforcement enforcing enfranchisement engage engaged engagement engagements engaging engross engrossed enjoy enjoyed enjoying enjoyment enjoyments enlarge enlargement enlightened ennui enormously enough enquire enquired enquiries enquiring enquiry enraged enrich ensued ensured entanglement enter entered entering entertain entertained entertainment enthusiasm enthusiastic entire entirely entitled entrance entreat entreated entreaties entreaty entrusted entry enumeration environs envy equal equality equalled equally equals ere errand erred error errors escape escaped especially essential establish established establishing establishment estate esteem esteemed esteeming esteems estimable estimate estimating estimation estranged eternal etiquette even evening evenings event events eventually ever everlasting every everybody everything evidence evident evidently evil evils evince exact exactly exactness examination examine examined examining example exceed exceeded exceeding exceedingly excellence excellencies excellent except excepting excess excessive excessively exchange exchanged excite excited exciting exclaim exclaimed exclaiming exclamation exclamations exclusively excursion excursive excuse excused excuses execution exercise exercised exercising exert exerted exertion exertions exhausted exhilarated exhilaration exigence exist existed existence exorbitant expand expatiate expect expectation expectations expected expecting expects expediency expedient expeditiously expel expense expenses expensive expensiveness experience experienced experiencing explain explained explanation explanations explanatory expose exposed express expressed expressing expression expressions expressive expressively expressly exquisite extended extending extensive extent exterior external extinction extinguished extolling extort extorted extorting extraordinary extravagance extravagant extreme extremely extremest extremity exuberance exultation exultingly eye eyed eyeing eyes face faces fact facts faded fail failed failing failure faint fainter fainting faintness fair fairer fairly faith faithful faithfully fall fallen falling falls false falsehood fame familiar familiarity familiarized familiarly families family famous fancied fanciful fancy fancying far farewell farm farther farthest fascinating fashion fashionable fashioned fast faster fastidious fat fate fates father fatigue fatigued fatigues fatiguing fault faultless faults faulty favour favourable favourite favourites fear feared fearful fearing fears feather feature features feeble feebleness feebly feed feeding feel feeling feelingly feelings feels feet feigned felicitations felicity fell fellow felt female females feminine fertile fervent festival fetch fetches fetching fettered fever feverish few fickle field fifteen fifty figure filigree fill filled final finally find finding finds fine finest finger fingers finish finished finishing fir fire firm firmer firmly firmness first fish fit fitted five fix fixed fixing flannel flaring flatter flattered flatteries flattering flattery fled flew floor flourish flourishing flow flowed flower flowing fluctuating flushed flutter fly foibles folded follow followed following follows folly fond fondly fondness food fool foolish foolishly foot footman footsteps for forbade forbear forbearance forbid forbidden forbidding forbore force forced forcibly forcing forebodings forego foregoing forenoon foreplanned foresaw foresee foreseeing foreseen foresight foretell foretold forfeit forfeited forfeiting forgave forget forgetting forgive forgiven forgiveness forgot forgotten forlorn form formal formality formally formed former formerly formidable forming forms forsaking forte forth fortitude fortnight fortunate fortunately fortune fortunes forty forward forwarded forwarding forwards found foundation foundations founded four fourteen fourteenth fourth fowls fox frame frank frankness frantic free freedom freeze frequency frequent frequently fresh fretful fretted friend friendliest friendliness friendly friends friendship fright frighten frightened frightens frightful frivolous froid from front frost frugality fruit fruitless fulfil fulfill fulfilled full fullest fully funeral furnished furnishing furniture further fury fuss future gaiety gaily gain gained gaining gales gallantry galling gallop game gape garden gardener garret garrets gate gates gathered gathering gave gay gaze gazing general generally generations generosity generous generously genial genius genteel genteelly gentility gentle gentleman gentlemanlike gentlemen gentleness gently genuine genuinely get getting giddy gift giggling gigs girl girls give given gives giving glad gladly glance glances glass glebe glimpse gloom gloominess gloomy gloried gloves glow glowing go goes going goings gold gone good goodby goodness goodwill gossip got gout govern governed governing gown gowns grace graceful gracefulness graces gracious graciousness gradually grand grandeur grandmothers granted grass grate grateful gratefully gratification gratify gratifying gratitude grave gravel gravely gravity great greater greatest greatly greatness green grew grey grief grievance grieve grieved grieves grieving grievous groom gross ground grounded grounds group growing grown grows grudge guard guarded guardian guardians guardianship guarding guess guessed guessing guest guests guidance guide guided guilt guilty guineas gum gun habit habitation habits habitual hackneyed had hair half hall hallooing halves ham hand handed handkerchief handle hands handsome handsomely handsomer handsomest hang hanging happen happened happening happens happier happiest happily happiness happy harbour hard hardened hardening hardily hardly hardness hardship hardships harm harmless harmony harp harshly hartshorn has haste hastened hastening hastily hasty hat hate hated hateful hates hating haughty hauteur have having hazard hazarded hazarding hazy he head headache headed heads headstrong healing health healthful healthy hear heard hearer hearing hears heart hearted heartily heartiness hearts hearty heat heath heaven heavens heavily heavy height heighten heightened heightening heights heir heirs held help helping helpless helpmate hence henceforth henceforward hens her here hereafter hero heroically heroism hers herself hesitated hesitatingly hesitation hiding high higher highest highly hilarity hill hills him himself hinder hindrance hint hinted hints his history hit hither hitherto ho hoarded hold holding holds holidays hollow home homes honest honestly honesty honeysuckles honor honorable honorably honour honourable honourably honoured honours hop hope hoped hopeless hopes hoping horizon horrible horrid horridly horror horrors horse horseback horses hospitable hospitality hostess hostile hot hour hours house household housekeeper housekeeping housemaid houses how however howsever hue human humanity humble humbled humiliating humiliations humility humored humour humoured humouring hundred hung hunt hunted hunters hunts hurried hurry hurrying hurt husband husbands hussy huswifes hysterical hysterics ice idea ideas identify idle idled idleness idolized if ignorance ignorant ill illaudable illiberal illiterate illness illusion illustration image imagery imaginable imaginary imagination imaginations imagine imagined imagining imbibed imitate immediate immediately imminent immoderately immovable immoveable imparted impartial impartiality impatience impatient impatiently impediment impenetrable imperfect imperfection imperfections imperfectly impertinence impertinent impertinently impetuous implied implies imply impolitic importance important importunate importunity impose impossibility impossible impoverished impoverishing impracticable impression imprint improperly impropriety improve improved improvement improvements improvident improving imprudence imprudent imprudently impudence impudently impulse imputed in inadvertence inarticulate inattention inattentive incapable incautiousness incessant incessantly inch incitement incivility inclination inclinations inclined inclosing included including incoherently income incommode incommoded incompatible incomprehensible inconsiderable inconsiderately inconsistency inconsolable inconstancy inconstant inconvenience inconveniences inconvenient increase increased increasing incredulity incumbent incurable incurred incurring indecision indecorous indeed indefatigable indelicacy independence independent independently indication indifference indifferent indigence indignant indignantly indignation indignity indispensable indispensably indisposed indisposition indisputable indistinct individual indolence indolent indubitable induce induced inducement indulge indulged indulgence indulgent indulging ineffectual inelegant ineligible inevitable inevitably inexcusable inexperience inexperienced infamous infamously infancy infant infants infatuation infection infer inferior inferiority infinitely infirm infirmity inflict inflicted inflicting influence influenced inforce inforced inform information informed informing ingenious ingenuity ingratiating ingratitude inhabit inhabitants inhabited inhabiting inherit inheriting inheritor injunction injure injured injuries injury injustice inn innate inner innocence innocent innumerable inquietude inquire inquired inquiries inquiring inquiry inquisitive inquisitiveness insensibility insensible insignificance insincere insincerity insinuations insipid insipidity insist insisted insolence insolent inspect inspection inspire inspired inspiring installed instance instant instantaneous instantaneously instantly instead instigated instigation instruction instructions instrument insufferably insufficiency insufficient insult insulted insulting insured insurmountable integrity intelligence intelligent intelligible intend intended intending intends intent intention intentionally intentions intents intercourse interest interested interesting interests interfere interference interfering interim intermission internally interposed interrupt interrupted interrupting interruption interspersed interval intervals interview interviews intimacy intimate intimated intimately into intoxication intreat intrinsically introduce introduced introducing introduction intruded intruder intruding intrusion intuitively invalid invaluable invariable invariably invent invented inventing invention inventive investigation invitation invitations invite invited inviting involuntarily involuntary involve involved irksome irrational irreconcilable irregular irremediable irreparable irrepressible irreproachable irresistible irresolute irritability irritable irritated irritates irritation is issued it its itself ivory jacket jargon jealous jealousies jealousy jest jewels jilting join joined joining joint jointure joke joked jokes joking journey joy joyful joyfully joys judge judged judging judgment judgments judicious judiciously jumbled just justice justification justified justify justifying justly juvenile keen keep keeping keeps kept keys kicked kill kind kinder kindest kindly kindness kingdom kiss kissed kisses kitchen knack knave kneeling knees knew knives knocking knoll know knowing knowledge known knows la labor labour laboured ladies lady ladyship laid lain lament lamentation lamentations lamenting lamps land landing landlord landscape lane lanes language languages languid lap large larger largest last lasted lasting lastingly late lately later latest latter laudable laugh laughed laughing laughs laughter lavender law lawn lawyer lay laying lead leading leaf leagued leaning leant learn learned learning learnt least leave leaves leaving lecture led left legacies legacy legal leisure leisurely length lengthened lengths less lessen lessened lessening lesser lesson lest let letter letters letting liable liberal liberality libertine liberty library lie lief lies life lifted lifting light lightened lighter lightly like liked likelihood likely likeness likes likewise liking limbs limited limits line linen lines linger lingered lingering lip lips liquor listen listened listener listening lit literature little live lived liveliness lively lives living livings ll lobby local lock lodges lodging lodgings loitered long longed longer longest look looked looking looks loose lose losing loss lost lot loud lounging love loved lovely lover lovers loves loving low lower lowered lowering lowness luck luckily lucky lurking lustily luxurious luxury lying m ma madam made madness magnanimity magnificent maid maids maintained maintenance make makes making malady malevolence malice malignant mama man manage managed management manager mankind manly manner manners manor mansion mantel mantelpiece many mare mark marked marking marmalade marriage marriages married marries marry marrying mass match material materially maternal matrimony matter matters maxim maxims may me meadows meal meals mean meaning meanness means meant meantime meanwhile measure measured measures measuring meat mechanically mediation medicine medicines meditated meditation meditations medium meet meeting meetings melancholy memento memorable memory men mend mental mention mentioned mentioning mercy mere merely merest merit merited meritorious merits merrier merriment merry message messages messenger met metaphor method middle midst might mighty mild mildness mile miles militate militated mind minded mindful minds mine mingle miniature minor minute minutely minuteness minuter minutes minutiae miracle mirth misapplied misapprehension mischievous misconduct misconstruction miserable misery misfortune misinformed misled miss missed mistake mistaken mistakes mistress mistrust misunderstood mix mixing moan mode moderate moderation modern modest modestest modesty mohrs moiety moment momentary moments money monkey monopolize monstrous month months mood moonlight morality more moreover morning mornings morrow mortification mortified mortify mortifying mosquitoes moss most mother motherly mothers motion motionless motive motives mound mountain mounted mourning mouth move moved moving much muff mulberry murmurings music musical muslin must muttered mutton mutual mutually my myself mysterious mysteriously mystery nabobs name named nameless names naming narration narrator narrow narrowly nasty natural naturally nature natured navy nay near nearer nearest nearly neat necessarily necessary necessitous necessity neck need needed needle needless negative neglect neglected negligence negligent negotiation neighbour neighbourhood neighbouring neighbourly neighbours neither nephew nerve nerves nervous nests nettles never new newer newly newness news newspaper newspapers next nice nicest nicety niece nieces niggardly night nights nine nineteen ninny nipped no noble nobleman nobly nobody nodded nodding nods noise noisier noisy nominal none nonsense nonsensical noon nor northward not note notes nothing notice noticed noticing notion notions nought nourishment novel novelty now nt nuisance number numerous nuncheon nurse nurses nursing o oath obedient obey obeyed object objected objection objections objects obligation obligations oblige obliged obliging obligingly observable observant observation observations observe observed observer observing obstacle obstacles obstinacy obstinate obstructed obtain obtained obtaining obviated obviating occasion occasional occasionally occasioned occasions occupation occupations occupied occupy occur occurred occurrence odd oddest odious of off offence offences offend offended offending offer offered offering office offices officious officiously offspring often oftener oftenest oh old older oldest olives omitted on once one ones oneself only open opened opening openly openness opera opinion opinions opportunities opportunity oppose opposed opposite opposition oppressed oppression option or orator ordained order ordered orders ordinary ordination origin original originated ornament ornamented ornaments orphan other others otherwise ought our ours ourselves out outdone outgrown outlived outraged outrun outside outstaid outstretched outstripped outward outwardly outweigh outweighs over overcame overcome overcoming overheard overlook overlooked overpowered overpowering overspreading overstrained owe owed own owned owner owners owning pace paces pacified packages packed page pages paid pain pained painful painfully pains paint painted painter painting pair palanquins pale paleness palm pang pangs panting paper papers paragraph parcels pardon pardonable parent parents parish park parliament parlors parlour parsonage part parted partial partiality particular particularity particularly particulars parties parting partly partners partook parts party pass passage passages passed passing passion passionate passionately passions past pasturage pasture patches path patience patient patron patronage patroness patronised pattern patterns pause paused pausing pay paying payment peace pearls peculiar peculiarly pecuniary pen pencil penetrate penetration penitence penitent penny penury people per perceive perceived perceiving perceptible perfect perfection perfections perfectly perform performance performances performed performers performing perhaps period permission permit permitted permitting perpetual perplexed perplexity persecution persecutions perseverance persevered persevering persisted persisting person personal personally persons persuade persuaded persuading persuasion perturbation perusal perverseness petty philanthropic philippic philosophic philosophy phrase piano pianoforte picture pictured pictures picturesque piece pieces pillow pimples pin pinching pink pint pique piqued piquet pitch pitched pitiable pitied pity pitying place placed placing plague plagued plaguing plain plainly plait plan planning plans plantation plantations plants plate play played playfellows playful playfulness playing playthings plea plead pleasant pleasanter pleasantest pleasantly pleasantness please pleased pleasing pleasure pleasures plenty plighted plump plums pocket pocketbook poignant point pointed pointedly pointer pointers pointing points poking policy polished polite politely politeness political politics ponds poor poorly poplars popt porter portion portrait position positive positively possess possessed possesses possessing possession possessions possessor possibility possible possibly post postponing posts posture potent poultry pounds pour poured poverty power powered powerful powerfully powers practicable practice practiced practices practise practised praise praised praises pray prayers pre precaution preceded preceding precious precise precisely precision prefer preferable preference preferment preferred preferring prejudice prejudiced prejudices premeditated premises prenticed preparation preparations prepare prepared preparing prepossessed prepossessing prepossession prescience prescribed presence present presentation presented presenting presently presents preserve preserved preserver presided press pressed pressing presume presumed pretence pretend pretended pretends pretensions pretext prettier prettiest prettily pretty prevail prevailed prevailing prevent prevented previous previously preyed price pride principal principally principle principles print prior privacy private privately privilege probabilities probability probable probably proceed proceeded proclaim proclaimed proclaiming procure procured procuring prodigious prodigiously produce produced producing production productive profess professed professedly profession professions profited profiting progress prohibited project projecting projection projects promise promised promises promising promontories promote promoted promoting promotion prompted promptitude pronounce pronounced pronouncing proof proofs propensities propensity proper properly property prophecies proportion proportionately proportioned proposal proposals propose proposed proposition proprietor propriety prose prosecution prospect prospects prosperity prosperous prosperously protect protection protege protest protestations protested proud prove proved provide provided provident providing provision provisions provocation provoke provoked provoking prudence prudent prudently pry public publication publishing pull pulled pulse punctual punctuality punish punishment pupil puppies puppy puppyism purchase purchases pure purity purpose purposely purposes purse pursue pursued pursuing pursuit pursuits put putrid puts putting puzzle puzzled qualification qualifications qualified quarrel quarrelled quarrelling quarter quarters quest question questions quick quickened quicker quickest quickly quiet quieted quietly quietness quit quite quitted quitting quivered rage raillery rain rained raise raised raises raising rambles ran ranging rank ranked rap rapacious rapid rapidity rapidly rapture raptures rapturous rapturously rare rascal rascally rash rate rated rather rational rationally re reach reached reaching read readily readiness reading ready real reality really reanimate reaped reason reasonable reasonableness reasonably reasoning reasonings reasons recall recalled receipt receive received receiving recent recently reception reciprocal recital reckoned reckons reclaim reclining recognised recognition recollect recollected recollecting recollection recommend recommendation recommended recommending reconcile reconciled reconciliation reconsider recover recovered recovering recovery recreating rectitude rectory recurred recurrence red redeem reduced referred referring refinement refinements reflect reflected reflecting reflection reflections reform reformed refrain refreshed refreshment refreshments refusal refuse refused refusing regain regard regarded regarding regards regiment regret regrets regretted regretting regular regularity regulate regulated rejected rejoice rejoiced rejoicing relapse relate related relating relation relations relationship relative relatives release released relent reliance relics relied relief relieve relieved religion relinquished relish reluctance reluctantly relying remain remainder remained remaining remains remark remarkable remarkably remarks remedies remedy remember remembered remembering remembers remembrance remembrances remind reminded reminding reminds remorse removal remove removed removes removing render rendered rendering renewal renewed renewing renounced rent repaid repair repaired reparation repeat repeated repeatedly repeating repent repentance repetition repine repining replace replied reply replying report reports repose represent representation representations represented representing repressed reprimand reproach reproached reproaches reproachfully reproaching reprobate reproof reproved reproving repulsed repulsive reputation request requested requesting require required requires requiring requisite rescued reseated resemblance resembled resembling resented resentment reserve reserved reservedness resettled reside resided residence residing residue resigned resist resistance resisted resisting resists resolute resolutely resolution resolve resolved resolving resorted resources respect respectability respectable respectably respected respectful respectfully respecting respective respects rest rested restless restorative restore restored restoring restrain restrained restraint restraints restriction result resume resumed resuscitation retailed retain retained retarded retired retirement retort retreat retreated retreating retrenched return returned returning revealed revealment revenge reverie reverse reverted revival revive revived reviving reward rewarded rheumatic rheumatism rheumatisms ribbons rich richer riches rid ride rider ridge ridicule ridiculous riding right rightly ring ringing rings rise risen rises rising risk risking rival rivals road roads roared rob robbed robbing rocks rolling romance romantic roof room rooms rooted rose round rouse roused rousing rub rubber rude rug rugged ruin ruined ruins ruling rumour run rung running rupture rushed rushing s sacred sacrifice sacrificed sacrificing sad sadly sadness safe safeguard safely safety sagaciously sagacity said sail saint sake sakes sale sallow salmon saloon salts salutation same sang sanguine sashes sat satirical satisfaction satisfactory satisfied satisfy satisfying saucy sauntered save saved saves savings saw say saying says scale scanty scarcely scattered scene scenery scenes scheme schemes school scissors scold scolded score scorn scornfully scorning scoundrel scrape scratch scratching scrawls screamed screams screen screened screens scruple scrupled scruples scrupling scrupulous scrutinies seal sealed search searched season seasons seat seated seating seats seclude seclusion second seconded seconds secrecy secret secretly secrets secure secured secures securing security sedateness seduced seducer seduction sedulously see seeing seek seeking seem seemed seeming seems seen seized seizure seldom self selfish selfishness sell sellers send sending sends sensation sensations sense senses sensibility sensible sensibly sensitive sent sentence sentences sentiment sentiments separate separated separately separation separations series serious seriously servant servants serve served service services servilely set setting settle settled settling seven seventeen several severe severely severity sex sha shade shades shake shaken shall shame shamefully shameless shan shape share shared sharing sharp she sheath shed shedding sheet shelter shew shewed shewing shewn shews shield shift shillings shivering shock shocked shocking shoes shook shooting shop shops short shorten shortly shortness shot should shoulder shoulders show showed showers showery showing shown shrewd shrubberies shrubbery shrugging shuddering shuffling shut shutter shutters shutting shy shyness sick sickly sickness side sides sigh sighed sighing sight sighted sign significancy significant significantly signify signs silence silenced silencing silent silently silk silks silly similar similarity simpered simpering simple simplest simplicity simply sin since sincere sincerely sincerity sing singing single singly sink sir sister sisterly sisters sit sitting situated situation situations six sixpence sixteen size sketch skin sky sleep sleepless slept slight slighted slighter slightest slighting slightingly slightly slope sloping slow slowly slumber sly slyly small smaller smallest smallness smart smartness smile smiled smiles smiling smirked smitten smokes smooth smoothly sneer snug so sobbed sober sobered sobs sociable society sofa soft soften softened softener sold soldier sole solely solemn solemnity solemnly solicitation solicitations solicitous solicitude solid solidly solitary solitude some somebody somehow something sometime sometimes somewhat somewhere son song songs sons soon sooner sooth soothe soothing soothings sore sorrow sorrowful sorrows sorry sort sought soul souls sound sounds source sources soured sourness south space spacious spare spared sparkling spasm speak speaking speaks species specimen speculation speculative speech speed speedily speedy spend spending spends spent spirit spirited spiritless spirits spite splendidly spoil spoiling spoilt spoke spoken spontaneous sport sporting sportsman sportsmen spot spotted sprained spraining spread spreading spring sprung spunging spurned square stable stage staid staircase stairs stake stammered stand standard standing stare stared stares start started starting startled starved state stated statement stating station stationer stay stayed staying steadfast steadier steadily steadiness steady stealing steep steepest step stepped stepping steps sterling stew steward stiffly still stimulated sting stipulate stirred stirring stock stockings stocks stole stolen stomach stone stood stop stopped stopping stopt store storm stormy story stout straight strains strange strangeness stranger strangers streamed street streets strength strengthen strengthened strengthening stress stretch stretched strict strictest strictly strike strikes striking strikingly string strive striving stroke strong stronger strongest strongly struck struggle struggled struggling stubborn studied studies study stuff stuffed stupid stupified stupor style styled stylish subdue subdued subject subjection subjects submission submissive submit submitted submitting subsequent subservient subsist subsisted subsisting substance succeed succeeded succeeding success successful successfully succession successively succour such sudden suddenly suffer suffered sufferer suffering sufferings suffers suffice sufficient sufficiently sugar suggest suggested suggesting suggestion suit suitable suited suitor sum summer summits summoned summons sun sunk sunshine superannuated superintend superior superiority supper supplanted supplication supplied supply supplying support supported supports suppose supposed supposing supposition sure surely surfaces surpass surpassed surpassing surplice surprise surprised surprising surrounded surrounding survey surveying survived surviving suspect suspected suspecting suspects suspended suspense suspicion suspicions suspicious swallow swallowed sweep sweet sweetest sweetly sweetmeats sweetness swell swelling swept swollen swoon syllable syllables sympathised sympathize sympathy symptom symptoms systems t table tablecloth tables take taken takes taking tale talent talents talk talked talker talking talks tall tallest tame tardy task taste tasted tastes tattered taught taverns tax taxed tea teach tears teazed teazing tedious tediously tediousness tell telling tells temper temperate tempers temple temporary temporizing tempt temptation tempted tempting ten tend tended tendency tender tenderest tenderly tenderness tending terminated termination terms terrible terror test testimony tete than thank thanked thankful thankfully thanks that the theft their theirs them theme themselves then thence there therefore these they thick thickly thin thing things think thinking thinks third thirds thirteen thirty this thistles thither thorns thorough thoroughly those though thought thoughtful thoughtfully thoughtfulness thoughtless thoughts thousand threatened threatening threats three threw thrill throat through throughout throw throwing thrown thunderbolt thus tidings tidy tied tiled till timber time timed times tiptoe tired tis tithes to today together toilet told tolerable tolerably toleration tomorrow tone toned tongue tonight too took toothpick topic tore torment tormented torn torrent torture tortured total totally touch touched toward towards tower town trace traced tract traded trades traits tranquil tranquility tranquilize tranquillity transact transacted transgressed transparency transport transporting travel travelled travellers travelling treachery treasured treat treated treating treatment tree trees trembled tremour trial trials tribute trick tricked tricking tricks tried tries trifle trifled trifling trim triumph triumphantly trivial troop trouble troubles troublesome true truest truly trust trusted trusting truth truths try trying tuition tumbled tumbling tuned turf turn turned turning turnpike turns twelve twelvemonth twenty twice twilight twisted two twould ugly unabated unable unaccountable unaccountably unacknowledged unaffected unaffectedly unamiable unanimous unanswerable unavailing unavoidable unavoidably unawares unbiased unblemished unbounded unbroken unceasing uncertain uncertainty unchanged unchanging uncheerful uncivil uncle uncomfortable uncommon uncommonly unconcern unconcerned unconnected unconquerable unconscious uncordial uncouth undeceive undeceiving undecided under undergoing undergone understand understanding understood undertake undertaking undervalue undervalued undeserving undesignedly undesirable undiscerning undivided undoubted undoubtedly undoubtingly undressed uneasiness uneasy unembarrassed unemployed unequal unequivocal unexhilarating unexpected unexpectedly unexpressed unfair unfairly unfashionable unfatherly unfathomable unfavourable unfeeling unfeigned unfit unfolded unforeseen unfortunate unfortunately unfulfilled ungenerous ungenteel ungracious ungraciously ungrateful unguarded unhappiness unhappy uniform uniformly uninfluenced uninformed unintelligible unintentional uninteresting unison unite united unitedly unites uniting universal universally university unjust unjustifiable unkind unkindly unkindness unknowingly unknown unless unlike unlikely unlocked unlover unluckily unlucky unmoved unnatural unnecessary unnoticed unobserved unobtrusive unobtrusiveness unpacked unpardonable unpardoned unpleasant unpleasantest unpleasantness unpleasing unpremeditated unprincipled unpromising unquiet unread unreasonable unreasonably unremitting unreserve unreserved unresisted unrestrained unsatiable unseen unsettle unshaken unsolicited unspeakable unsteady unstudied unsubdued unsuitable unsuitableness unsuited unsuspected unthought untied untouched untried unusual unusually unwarily unwelcome unwell unwilling unwillingly unwillingness unworthiness unworthy unwounded up upon uppermost upright uproar upstairs urge urged urgency urgent urging us usage use used useful useless uselessly ushered using usual usually utility utmost utter utterance vacant vacate vague vain valley valleys valuable value valued valueless vanish vanity variation variations varied variety various varying vast vastly ve veal vehemence vent venture ventured venturing veracity verbal very vestibule vex vexation vexed vicinity view viewed viewing views vigor vigorous vigour vile village villages villain villainy vindication violence violent violently violins violoncello virtue virtues virtuous virulence visibly visit visited visiting visitor visitors visits vivacity voice voices volume voluntarily voluntary volunteer vouchsafe vouchsafed vowed vulgar vulgarity wager waistcoat waistcoats wait waited waiting walk walked walking walks walls walnut wander wandered wandering want wanted wanting wanton wants warehouse warm warmed warmest warmly warmth warning warrant warranted was washing wasted watch watched watchful watchfulness watching water way ways we weak weaken weakened weakening weakness weaknesses wealth wealthy wear wearing weary weather weathered wedding weddings week weeks weight welcome welcomed welfare well went wept were west westerly westward wet wettest what whatever when whence whenever where wherever whether which while whiled whims whip whisper whispered whispering whist white whiter whither who whoever whole wholly whom whomsoever whose why wicked wicket wide widely widen widow widower wife wild wildest wildly wildness will willing willingness wind winding window windows wine winks winter wiping wisdom wise wiser wisest wish wished wisher wishes wishing wit with withdrawn withdrew withhold within without withstood witness witnessed witnesses witnessing witticisms wittiest witty wives woman women won wonder wondered wonderer wonderful wondering wont wood wooded woods woody word worded words wore work worked working workmen works world worldly worlds worn worried worry worse worship worst worsted worth worthiest worthless worthy would wound wounded wounding wrapped wrapt wretched wretchedly wretchedness write writer writes writing written wrong wronged wrote wrought wrung yard yards ye year yearly years yes yesterday yet yew yield yielded you young younger youngest your yours yourself yourselves youth youthful zeal zealous zealously
text5.collocations()
wanna chat; PART JOIN; MODE #14-19teens; JOIN PART; PART PART; cute.-ass MP3; MP3 player; JOIN JOIN; times .. .; ACTION watches; guys wanna; song lasts; last night; ACTION sits; -...)...- S.M.R.; Lime Player; Player 12%; dont know; lez gurls; long time
my_string = 'ksereis ti krataei gia panta?'
print(my_string)
ksereis ti krataei gia panta?
my_string2 = ' sto laimo sou sta diamantia'
la = my_string + my_string2
la
'ksereis ti krataei gia panta? sto laimo sou sta diamantia'
la.split()
['ksereis', 'ti', 'krataei', 'gia', 'panta?', 'sto', 'laimo', 'sou', 'sta', 'diamantia']
la.join()
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) /tmp/ipykernel_4488/1895865823.py in <module> ----> 1 la.join() TypeError: join() takes exactly one argument (0 given)
''.join(la)
'ksereis ti krataei gia panta? sto laimo sou sta diamantia'
split(la)
--------------------------------------------------------------------------- NameError Traceback (most recent call last) /tmp/ipykernel_4488/4162192655.py in <module> ----> 1 split(la) NameError: name 'split' is not defined
p1= 'Hey you, '
p2='looking at the corner'
p1 + p2
'Hey you, looking at the corner'
len(p1) + len(p2)
30
len(p1+p2)
30
'Monty Python'[6:12]
'Python'
['Monty','Python'][1]
'Python'
sent1[2][2]
'h'
sent9[5][0]
'l'
senfdist = FreqDist([w for w in sent3 if w=='the'])
senfdist
FreqDist({'the': 3})
senfdist.plot()
<AxesSubplot:xlabel='Samples', ylabel='Counts'>
senfdist.items()
dict_items([('the', 3)])
senfdist.keys()
dict_keys(['the'])
sent3
['In', 'the', 'beginning', 'God', 'created', 'the', 'heaven', 'and', 'the', 'earth', '.']
sorted(set([w for w in text5 if w.startswith('b')]))
['b', 'b-day', 'b/c', 'b4', 'babay', 'babble', 'babblein', 'babe', 'babes', 'babi', 'babies', 'babiess', 'baby', 'babycakeses', 'bachelorette', 'back', 'backatchya', 'backfrontsidewaysandallaroundtheworld', 'backroom', 'backup', 'bacl', 'bad', 'bag', 'bagel', 'bagels', 'bahahahaa', 'bak', 'baked', 'balad', 'balance', 'balck', 'ball', 'ballin', 'balls', 'ban', 'band', 'bandito', 'bandsaw', 'banjoes', 'banned', 'baord', 'bar', 'barbie', 'bare', 'barely', 'bares', 'barfights', 'barks', 'barn', 'barrel', 'base', 'bases', 'basically', 'basket', 'battery', 'bay', 'bbbbbyyyyyyyeeeeeeeee', 'bbiam', 'bbl', 'bbs', 'bc', 'be', 'beach', 'beachhhh', 'beam', 'beams', 'beanbag', 'beans', 'bear', 'bears', 'beat', 'beaten', 'beatles', 'beats', 'beattles', 'beautiful', 'because', 'beckley', 'become', 'bed', 'bedford', 'bedroom', 'beeeeehave', 'beeehave', 'been', 'beer', 'before', 'beg', 'begin', 'behave', 'behind', 'bein', 'being', 'beleive', 'believe', 'belive', 'bell', 'belly', 'belong', 'belongings', 'ben', 'bend', 'benz', 'bes', 'beside', 'besides', 'best', 'bet', 'betrayal', 'betta', 'better', 'between', 'beuty', 'bf', 'bi', 'biatch', 'bible', 'biebsa', 'bied', 'big', 'bigest', 'biggest', 'biiiatch', 'bike', 'bikes', 'bikini', 'bio', 'bird', 'birfday', 'birthday', 'bisexual', 'bishes', 'bit', 'bitch', 'bitches', 'bitdh', 'bite', 'bites', 'biyatch', 'biz', 'bj', 'black', 'blade', 'blah', 'blank', 'blankie', 'blazed', 'bleach', 'blech', 'bless', 'blessings', 'blew', 'blind', 'blinks', 'bliss', 'blocking', 'bloe', 'blood', 'blooded', 'bloody', 'blow', 'blowing', 'blowjob', 'blowup', 'blue', 'blueberry', 'bluer', 'blues', 'blunt', 'board', 'bob', 'bodies', 'body', 'boed', 'boght', 'boi', 'boing', 'boinked', 'bois', 'bomb', 'bone', 'boned', 'bones', 'bong', 'boning', 'bonus', 'boo', 'booboo', 'boobs', 'book', 'boom', 'boooooooooooglyyyyyy', 'boost', 'boot', 'bootay', 'booted', 'boots', 'booty', 'border', 'borderline', 'bored', 'boredom', 'boring', 'born', 'born-again', 'bosom', 'boss', 'bossy', 'bot', 'both', 'bother', 'bothering', 'bottle', 'bought', 'bounced', 'bouncer', 'bouncers', 'bound', 'bout', 'bouts', 'bow', 'bowl', 'box', 'boy', 'boyfriend', 'boys', 'bra', 'brad', 'brady', 'brain', 'brakes', 'brass', 'brat', 'brb', 'brbbb', 'bread', 'break', 'breaks', 'breath', 'breathe', 'bred', 'breeding', 'bright', 'brightened', 'bring', 'brings', 'bro', 'broke', 'brooklyn', 'brother', 'brothers', 'brought', 'brown', 'brrrrrrr', 'bruises', 'brunswick', 'brwn', 'btw', 'bucks', 'buddyyyyyy', 'buff', 'buffalo', 'bug', 'bugs', 'buh', 'build', 'builds', 'built', 'bull', 'bulls', 'bum', 'bumber', 'bummer', 'bumped', 'bumper', 'bunch', 'bunny', 'burger', 'burito', 'burned', 'burns', 'burp', 'burpin', 'burps', 'burried', 'burryed', 'bus', 'buses', 'bust', 'busted', 'busy', 'but', 'butt', 'butter', 'butterscotch', 'button', 'buttons', 'buy', 'buying', 'bwahahahahahahahahahaha', 'by', 'byb', 'bye', 'byeee', 'byeeee', 'byeeeeeeee', 'byeeeeeeeeeeeee', 'byes']
text9.index('sunset')
629
text9[621:644]
['THE', 'suburb', 'of', 'Saffron', 'Park', 'lay', 'on', 'the', 'sunset', 'side', 'of', 'London', ',', 'as', 'red', 'and', 'ragged', 'as', 'a', 'cloud', 'of', 'sunset', '.']
ex = sent1 + sent2 + sent3 + sent4 + sent5 + sent6 + sent7 + sent8
sorted(set(ex))
['!', ',', '-', '.', '1', '25', '29', '61', ':', 'ARTHUR', 'Call', 'Citizens', 'Fellow', 'God', 'House', 'I', 'In', 'Ishmael', 'JOIN', 'KING', 'MALE', 'Nov.', 'PMing', 'Pierre', 'Representatives', 'SCENE', 'SEXY', 'Senate', 'Vinken', 'Whoa', '[', ']', 'a', 'and', 'as', 'attrac', 'beginning', 'board', 'clop', 'created', 'dark', 'director', 'discreet', 'earth', 'encounters', 'for', 'have', 'heaven', 'i', 'join', 'lady', 'lol', 'me', 'nonexecutive', 'of', 'old', 'older', 'people', 'problem', 'scared', 'seeks', 'single', 'the', 'there', 'to', 'was', 'will', 'wind', 'with', 'years']
s=len([w for w in text2 if w.isalpha()])
s
120733
new = [w for w in text2 if w.isalpha()]
new[120731:120733]
['THE', 'END']
x=FreqDist([w for w in text5 if len(w) == 4])
x.max()
'JOIN'
x.keys()
dict_keys(['left', 'with', 'this', 'name', 'PART', 'well', 'NICK', 'U121', 'golf', 'clap', 'JOIN', 'that', 'nice', 'fuck', 'your', 'dont', 'even', 'know', 'what', 'chat', 'drew', 'cast', 'sexy', 'U115', 'girl', 'legs', 'hope', 'draw', 'head', 'good', 'take', 'have', 'docs', 'Slip', 'away', 'Fade', 'Days', 'feel', 'back', 'U129', 'fast', 'U116', 'bowl', 'bong', 'glad', 'hard', 'from', 'here', 'very', 'fire', 'itch', 'U133', 'ogan', 'male', 'show', 'will', 'talk', 'haha', 'opps', 'warm', 'guys', 'cams', 'play', 'sits', 'guyz', 'U126', 'gooo', 'sure', 'like', 'room', 'yeee', 'want', 'pics', 'look', 'U139', 'U138', 'make', 'late', 'lmao', 'ahah', 'does', 'yeah', 'U136', 'hell', 'U101', 'when', 'plan', 'gold', 'jeep', 'ring', 'isnt', 'doin', 'many', 'Just', 'fine', 'hiya', 'Deep', 'Show', 'love', 'Turn', 'Hand', 'just', 'hang', 'such', 'word', 'U141', 'hear', '!!!!', 'deaf', '....', 'hugs', 'baby', 'Only', 'read', 'VBox', 'hate', 'more', 'than', 'ELSE', 'serg', 'most', 'eyes', 'jerk', 'kids', 'type', 'much', 'shut', 'miss', 'work', 'heyy', 'U148', 'boys', 'ugly', 'bein', 'What', 'whys', 'deep', 'tape', 'Your', 'sexs', 'best', 'phil', 'said', 'date', 'they', 'form', 'hmph', 'mean', 'been', 'wait', 'perv', 'lets', 'rule', 'land', 'wont', 'then', 'find', 'need', 'HUGE', 'deal', '????', 'shit', 'U155', 'only', 'Poor', 'pick', 'nads', 'nose', 'face', 'owww', 'gags', 'neck', 'Meep', 'LAst', 'time', 'wash', 'dude', 'gets', 'dang', "pm's", '1.99', 'free', 'goes', 'Lies', 'lick', 'ummm', 'U109', 'dead', 'call', 'case', 'else', 'bite', 'mins', 'nite', 'lool', 'kina', 'give', 'were', 'sext', 'piff', 'lazy', 'busy', 'okay', 'calm', 'down', 'arms', 'eats', 'near', 'smax', '>:->', 'VVil', 'cold', 'cell', 'runs', 'thru', 'hair', 'caps', 'U165', 'jump', 'over', 'este', 'wana', 'chik', 'list', 'wish', 'cmon', 'U128', 'hehe', 'hows', 'bout', 'wats', 'aint', 'lost', 'same', 'Boyz', 'rock', 'went', 'some', 'came', 'home', 'coat', 'kind', 'Eyes', 'Dawn', 'last', 'song', 'LIVE', 'cool', 'mauh', 'mike', 'keep', 'must', 'seem', 'days', 'ques', 'quit', '4.20', 'mine', 'cali', 'year', 'whoa', 'gosh', 'ruff', 'roll', 'nope', 'rest', 'sing', 'mame', 'nada', 'alot', 'band', 'hand', 'dumb', 'damn', 'orgy', 'easy', 'push', 'lose', 'long', 'stay', 'door', 'prob', 'life', 'wild', 'none', 'whew', 'dark', 'seen', 'waht', 'next', 'test', 'self', 'pass', 'once', 'book', 'Well', 'cant', 'come', 'line', 'boot', 'stop', 'slap', 'hiom', 'used', 'live', 'HAHA', 'cute', 'dman', 'holy', 'crap', 'took', 'ever', 'When', 'babe', 'park', 'them', 'jail', 'soon', 'tell', 'cops', 'Sure', 'Come', 'hogs', 'peek', 'help', 'MORE', 'TIME', 'care', 'real', 'LMAO', 'soul', 'done', 'O.k.', 'luck', 'loud', 'o.k.', 'Sexy', 'ride', 'Ctrl', 'mama', 'Nice', 'hots', 'hook', 'awww', 'Need', 'hold', 'lady', 'frst', '1200', 'soft', 'ohio', 'Like', 'whip', 'crop', 'each', 'bomb', 'Pour', 'bend', 'also', 'pour', 'comp', 'mind', 'Swim', 'Hard', 'open', 'full', 'wear', 'toss', 'high', 'ouch', 'evil', 'twin', 'eeek', 'tjhe', 'burp', 'fart', 'true', '10th', 'heee', 'peel', 'fock', 'kool', 'kiss', 'Kold', 'exit', 'kold', '3:45', 'MRIs', 'amen', 'buff', 'plus', 'tory', 'blew', 'knee', 'heya', 'fall', 'OOPS', 'oooh', 'lala', 'fake', 'into', 'ssid', 'temp', 'blue', 'corn', 'poot', 'poop', 'bird', 'Hiya', 'rain', 'plow', 'main', 'MODE', 'Yeah', 'pool', 'deop', 'thnx', 'roof', 'card', 'Hugs', '((((', '))))', 'Lord', 'uyes', 'benz', 'week', 'cash', '<~~~', 'grrr', 'ears', 'disc', 'LONG', 'Been', 'hour', 'From', 'Will', 'porn', 'CHAT', 'told', 'goin', 'boss', 'heal', 'pain', 'game', 'bloe', 'blow', 'hooo', 'Dang', 'ciao', 'DOES', 'U520', 'kick', 'thje', 'Jess', 'nick', 'typo', 'ahhh', 'pink', 'term', 'beer', 'Stop', 'Tina', 'ooer', 'ahem', 'HALO', 'Awww', 'dear', 'hola', 'anal', 'eric', 'Drop', 'dojn', 'wubs', 'mkay', 'butt', 'spat', 'poor', 'gone', 'imma', 'gees', 'Drew', 'hawT', 'town', 'sore', 'yes.', 'puts', 'fish', 'size', 'hawt', 'Live', '39.3', '2006', 'Elev', 'Wind', 'High', '1980', '64.8', 'says', 'That', 'AKDT', 'pfft', 'sigh', 'syck', 'tere', 'suck', 'ohhh', 'U542', 'sent', '45.5', '98.5', '1299', 'hits', '1900', '1930', 'KoOL', 'Werd', 'Rofl', 'lead', 'mode', 'nawt', 'past', 'DING', 'Love', '####', 'sign', 'woof', 'sum1', 'ghet', 'brad', 'note', 'meat', 'offa', 'shes', 'Dood', 'out.', '!!!.', 'LOUD', 'sink', 'wall', 'FINE', 'argh', 'oops', 'gawd', 'cums', 'loss', 'limp', 'rent', 'Have', 'cars', 'Life', 'Damn', 'wrap', 'Tell', 'hide', "PM's", 'Talk', 'okey', 'worl', 'half', 'shop', 'Hold', 'cepn', 'lots', 'Mary', 'mary', 'U172', 'nawp', 'addy', 'lake', 'ROOM', 'ello', 'slip', 'mite', ',,,,', 'meet', 'wood', 'knew', 'lord', 'till', '<---', 'five', 'orta', 'wins', 'sell', 'ebay', 'coem', 'giva', '1.98', 'ball', '<<<<', 'hick', 'city', 'ally', 'wine', 'yard', 'hiii', 'Judy', 'yall', 'cyas', 'grrl', 'shup', 'tooo', "pm'n", 'sick', 'choc', 'chip', 'bear', 'bare', 'mmmm', 'wher', 'made', 'ones', 'foot', 'whoo', 'dint', 'send', 'tend', 'vote', 'uses', 'DONT', 'menu', 'lust', 'nods', 'Liam', 'This', '; ..', '.. .', 'NAME', 'kept', 'Same', 'feet', 'xbox', 'scuk', 'raed', 'Song', 'huge', 'Then', 'wack', 'woot', 'bugs', 'blah', 'sort', 'idea', 'nerd', 'Hill', 'Evil', 'saME', '2Pac', 'Time', 'U110', 'pimp', 'U108', 'shot', 'lies', 'snow', 'hurt', 'haaa', 'U119', '98.6', "it's", 'Mono', 'mono', 'heck', 'team', 'whud', 'Bone', 'U122', 'Hero', 'They', 'Came', '.op.', 'hott', 'Hott', 'Down', 'Joey', 'Jane', 'span', 'wore', 'QUIT', 'pasa', 'barn', 'joke', 'Kick', 'feat', 'Back', 'Lets', 'dork', 'laid', 'club', 'Home', 'ways', 'herd', 'part', 'Born', 'Away', 'Tide', 'adds', 'jush', 'Cute', 'GrlZ', 'lung', 'SOME', 'U156', 'Here', 'Lion', 'brat', 'move', 'road', 'born', 'walk', ':o *', 'MUAH', 'fawk', 'dust', 'fool', 'Help', 'felt', 'seth', 'U105', 'Heya', 'U107', 'wOOt', 'bone', 'abou', 'tthe', 'beat', 'yawn', 'area', '?!?!', 'U103', 'Even', 'Ohio', 'herE', 'Hail', 'hail', 'U112', 'halo', 'pork', 'kent', '1cos', "yw's", 'mark', 'humm', 'dotn', 'newp', 'gays', 'U120', 'PMSL', 'pmsl', 'gift', 'zone', 'hint', 'hmmm', 'outs', 'U130', 'Paul', 'outa', 'York', 'nana', 'U104', 'kill', 'U196', 'Last', 'U132', 'Care', 'Chat', 'spin', 'U106', 'whos', 'ewww', 'fear', 'dies', 'wife', 'givs', 'U219', 'bust', 'xmas', 'enuf', 'LoVe', 'eeww', 'turn', 'pies', 'dick', 'fair', 'lyin', 'doll', 'lois', 'cuss', 'drop', 'LATE', 'THEY', 'GOOD', 'rape', 'U114', 'geez', 'tart', 'hgey', 'hump', 'gimp', 'caan', 'spot', 'elle', 'yada', 'lame', 'lol.', 'ages', 'Elle', 'nude', 'allo', 'yesh', 'clue', 'wind', 'Reub', '!???', 'heat', 'kmph', 'pope', 'mass', 'Ummm', 'yess', '!...', 'duet', 'Gosh', 'wuts', 'flow', 'west', 'quiz', 'kewl', 'scar', 'Girl', 'pair', 'sang', 'Rang', 'hall', 'rang', 'bell', 'dawg', 'tune', 'haze', 'febe', 'Prof', '1996', 'Kewl', 'hank', 'jude', 'slow', 'yoko', 'John', 'john', 'Yoko', 'seee', 'whou', 'idnt', 'sooo', 'perk', 'http', 'rubs', 'skin', '2DAY', 'meds', 'yell', 'mang', 'SSRI', 'cure', 'wean', 'died', 'cost', 'post', 'anti', 'trip', 'noth', 'babi', 'tall', 'pray', 'weed', 'icky', 'Rick', 'spit', 'rich', 'lube', 'mami', 'U102', 'U100', 'east', '18ST', 'seat', 'cock', 'SExy', 'otay', 'firs', 'site', 'U113', 'dump', 'toop', 'four', 'U118', 'sets', 'asss', 'paid', 'Iowa', 'Teck', 'n9ne', 'both', '"...', 'jeff', 'crib', 'food', 'drug', 'cook', '9:10', 'ladz', 'aime', 'Ahhh', 'hong', 'kong', 'U123', 'Oops', '??!!', 'tits', 'gret', 'U111', 'guns', 'inch', 'sean', 'howl', 'moon', 'STOP', 'Take', 'z-ro', 'any1', 'U137', 'Haha', '1985', 'U142', 'slam', 'U144', 'pine', 'yeas', 'puke', 'waaa', 'U145', 'urls', 'star', 'Save', 'U154', 'teck', 'Room', 'wooo', 'sori', 'U169', '<333', 'swim', 'Long', 'poem', 'jack', 'tick', 'tock', 'WITH', 'FROM', 'Rule', 'CAPS', 'junk', 'tips', 'rush', 'Nooo', 'Troy', 'tail', 'Seee', '6:38', 'dyed', 'U988', 't he', 'beam', 'puff', 'daft', 'twit', 'scum', 'U134', 'Type', 'WHOA', 'toke', 'ribs', 'Eggs', 'side', 'Wyte', 'Heyy', 'moms', 'Over', 'West', 'Rock', 'goof', 'howz', 'U146', "ex's", 'U143', 'able', 'vamp', 'Nope', 'Kent', 'U989', 'Cool', 'ther', 'U147', 'TEXT', 'SIZE', 'U163', 'gear', 'CALI', 'Matt', 'Rush', 'AWAY', 'NTMN', 'Kiss', 'U158', 'grea', 'U168', 'Look', 'U170', 'guts', 'U175', 'wrek', 'Fort', '2:55', 'AKST', '4:03', 'root', 'wire', 'soda', 'gray', 'tlak', 'ltnc', "ok'd", 'sayn', 'sock', 'evah', 'bike', 'hill', 'ohwa', 'caca', 'tyvm', 'luvs', 'prep', 'pull', 'dirt', 'vent', '100%', 'safe', 'dogs', 'bull', 'fits', 'asks', 'Road', 'chit', 'grin', 'bred', 'rats', 'Sat.', 'samn', 'Phil', 'nuff', 'rose', 'Ruth', 'rofl', 'grew', 'sand', 'army', 'mena', 'ROFL', 'lapd', 'surf', 'City', 'hazy', 'thot', 'acid', 'wide', 'keys', 'salt', 'mess', 'base', 'byes', 'THAT', "RN's", 'yout', 'numb', 'thah', 'mahn', 'King', 'TALK', 'GIRL', 'WHEN', 'HOTT', 'HERE', 'soup', '6:51', '9.53', 'ltns', 'Mine', 'vega', 'pigs', 'king', 'poof', 'Nova', 'mofo', 'Ohhh', 'flaw', 'Holy', 'sips', 'clay', 'None', 'Male', 'aunt', 'bacl', 'body', 'akon', 'yoll', 'boom', 'News', 'Maps', 'lawl', 'page', 'Okay', 'Tiff', 'wazz', 'Chop', 'toes', 'DAMN', 'TYPR', 'poll', 'boed', 'Dude', 'Does', 'pwns', 'Very', 'Good', 'Food', 'sexi', 'bois', 'KNOW', 'GUYS', 'HAVE', 'NONE', 'YALL', 'EVEN', 'SEEN', 'WILL', 'YOUR', 'COME', 'FACE', 'JUST', 'Lmao', 'Kids', '6:41', 'bied', '6:53', 'U117', 'U149', 'U153', '7:45', 'Uhhh', 'tenn', 'pure', 'Lime', 'U164', 'U150', 'U181', 'gals', 'woah', 'ussy', 'Tisk', 'U190', 'tisk', 'tiff', 'Heys', 'U197', "<3's", 'lisa', 'U819', 'U820', 'brwn', 'hurr', 'Were'])
for w in text6:
if w.isupper():
print(w)
SCENE KING ARTHUR SOLDIER ARTHUR I SOLDIER ARTHUR I I SOLDIER ARTHUR SOLDIER ARTHUR SOLDIER ARTHUR SOLDIER ARTHUR SOLDIER ARTHUR SOLDIER ARTHUR SOLDIER ARTHUR SOLDIER A ARTHUR SOLDIER A ARTHUR SOLDIER ARTHUR SOLDIER I ARTHUR I SOLDIER SOLDIER SOLDIER I ARTHUR SOLDIER SOLDIER SOLDIER SOLDIER SOLDIER SOLDIER SOLDIER SOLDIER SCENE CART MASTER CUSTOMER CART MASTER DEAD PERSON I CART MASTER CUSTOMER DEAD PERSON I CART MASTER CUSTOMER DEAD PERSON I CART MASTER CUSTOMER DEAD PERSON I CUSTOMER CART MASTER I DEAD PERSON I CUSTOMER CART MASTER I DEAD PERSON I CUSTOMER CART MASTER I CUSTOMER CART MASTER I CUSTOMER CART MASTER DEAD PERSON I I CUSTOMER DEAD PERSON I I CUSTOMER CART MASTER CUSTOMER CART MASTER I CUSTOMER CART MASTER SCENE ARTHUR DENNIS ARTHUR DENNIS I ARTHUR I DENNIS I I ARTHUR I DENNIS ARTHUR I DENNIS ARTHUR I DENNIS I ARTHUR I DENNIS WOMAN ARTHUR I WOMAN ARTHUR WOMAN ARTHUR I WOMAN I I DENNIS A WOMAN DENNIS ARTHUR I WOMAN ARTHUR WOMAN ARTHUR DENNIS I ARTHUR DENNIS ARTHUR I DENNIS ARTHUR DENNIS ARTHUR I WOMAN ARTHUR I WOMAN I ARTHUR WOMAN ARTHUR I I DENNIS ARTHUR DENNIS ARTHUR DENNIS I I I ARTHUR DENNIS ARTHUR DENNIS I ARTHUR DENNIS I SCENE BLACK KNIGHT BLACK KNIGHT GREEN KNIGHT BLACK KNIGHT GREEN KNIGHT BLACK KNIGHT BLACK KNIGHT GREEN KNIGHT GREEN KNIGHT BLACK KNIGHT GREEN KNIGHT BLACK KNIGHT ARTHUR I I BLACK KNIGHT ARTHUR BLACK KNIGHT ARTHUR I I BLACK KNIGHT ARTHUR I BLACK KNIGHT I ARTHUR ARTHUR BLACK KNIGHT ARTHUR BLACK KNIGHT ARTHUR BLACK KNIGHT ARTHUR A BLACK KNIGHT ARTHUR BLACK KNIGHT I ARTHUR BLACK KNIGHT ARTHUR BLACK KNIGHT ARTHUR BLACK KNIGHT ARTHUR BLACK KNIGHT ARTHUR BLACK KNIGHT ARTHUR BLACK KNIGHT I ARTHUR BLACK KNIGHT ARTHUR BLACK KNIGHT ARTHUR I ARTHUR BLACK KNIGHT BLACK KNIGHT I ARTHUR BLACK KNIGHT ARTHUR BLACK KNIGHT I ARTHUR BLACK KNIGHT ARTHUR BLACK KNIGHT BLACK KNIGHT ARTHUR BLACK KNIGHT I I SCENE MONKS CROWD A A A A MONKS CROWD A A A A A A A A A A A A A VILLAGER CROWD BEDEVERE VILLAGER CROWD BEDEVERE WITCH I I BEDEVERE WITCH CROWD WITCH BEDEVERE VILLAGER BEDEVERE VILLAGER VILLAGER CROWD BEDEVERE VILLAGER VILLAGER VILLAGER VILLAGER VILLAGERS VILLAGER VILLAGER VILLAGER VILLAGER A VILLAGERS A VILLAGER A VILLAGER RANDOM BEDEVERE VILLAGER BEDEVERE A VILLAGER I VILLAGER VILLAGER CROWD BEDEVERE VILLAGER VILLAGER VILLAGER CROWD BEDEVERE VILLAGER VILLAGER CROWD BEDEVERE VILLAGER VILLAGER VILLAGER BEDEVERE VILLAGER B BEDEVERE CROWD BEDEVERE VILLAGER BEDEVERE VILLAGER RANDOM BEDEVERE VILLAGER VILLAGER VILLAGER CROWD BEDEVERE VILLAGER VILLAGER VILLAGER VILLAGER VILLAGER VILLAGER VILLAGER VILLAGER VILLAGER ARTHUR A CROWD BEDEVERE VILLAGER BEDEVERE VILLAGER A VILLAGER A CROWD A A VILLAGER BEDEVERE CROWD BEDEVERE CROWD A A A WITCH VILLAGER CROWD BEDEVERE ARTHUR I BEDEVERE ARTHUR BEDEVERE I ARTHUR BEDEVERE ARTHUR I NARRATOR SCENE SIR BEDEVERE ARTHUR BEDEVERE SIR LAUNCELOT ARTHUR SIR GALAHAD LAUNCELOT PATSY ARTHUR I KNIGHTS PRISONER KNIGHTS MAN I ARTHUR KNIGHTS SCENE GOD I ARTHUR GOD I I ARTHUR I O GOD ARTHUR GOD ARTHUR O GOD LAUNCELOT A A GALAHAD SCENE ARTHUR FRENCH GUARD ARTHUR FRENCH GUARD ARTHUR FRENCH GUARD I I ARTHUR GALAHAD ARTHUR FRENCH GUARD I ARTHUR FRENCH GUARD ARTHUR FRENCH GUARD I I GALAHAD FRENCH GUARD ARTHUR FRENCH GUARD I GALAHAD ARTHUR FRENCH GUARD I I GALAHAD FRENCH GUARD I ARTHUR I FRENCH GUARD OTHER FRENCH GUARD FRENCH GUARD ARTHUR I KNIGHTS ARTHUR KNIGHTS FRENCH GUARD FRENCH GUARD ARTHUR KNIGHTS FRENCH GUARD FRENCH GUARDS LAUNCELOT I ARTHUR BEDEVERE I FRENCH GUARDS C A ARTHUR BEDEVERE I ARTHUR BEDEVERE U I ARTHUR BEDEVERE ARTHUR KNIGHTS CRASH FRENCH GUARDS SCENE VOICE DIRECTOR HISTORIAN KNIGHT KNIGHT HISTORIAN HISTORIAN S WIFE SCENE NARRATOR MINSTREL O SIR ROBIN DENNIS WOMAN ALL HEADS MINSTREL ROBIN I ALL HEADS MINSTREL ROBIN I ALL HEADS I ROBIN W I I ALL HEADS ROBIN I LEFT HEAD I MIDDLE HEAD I RIGHT HEAD I MIDDLE HEAD I LEFT HEAD I RIGHT HEAD LEFT HEAD ROBIN I LEFT HEAD I RIGHT HEAD MIDDLE HEAD LEFT HEAD RIGHT HEAD MIDDLE HEAD LEFT HEAD MIDDLE HEAD LEFT HEAD I MIDDLE HEAD RIGHT HEAD LEFT HEAD MIDDLE HEAD RIGHT HEAD LEFT HEAD ALL HEADS MIDDLE HEAD RIGHT HEAD MINSTREL ROBIN MINSTREL ROBIN I MINSTREL ROBIN MINSTREL ROBIN I MINSTREL ROBIN I MINSTREL ROBIN MINSTREL ROBIN I CARTOON MONKS CARTOON CHARACTER CARTOON MONKS CARTOON CHARACTERS CARTOON MONKS CARTOON CHARACTER VOICE CARTOON CHARACTER SCENE NARRATOR GALAHAD GIRLS ZOOT GALAHAD ZOOT GALAHAD ZOOT GALAHAD ZOOT MIDGET CRAPPER O ZOOT MIDGET CRAPPER ZOOT GALAHAD I I ZOOT GALAHAD ZOOT GALAHAD ZOOT GALAHAD I ZOOT GALAHAD I I ZOOT I GALAHAD ZOOT PIGLET GALAHAD ZOOT GALAHAD B ZOOT WINSTON GALAHAD PIGLET GALAHAD PIGLET GALAHAD I PIGLET GALAHAD I PIGLET GALAHAD I I I GIRLS GALAHAD GIRLS GALAHAD DINGO I GALAHAD I DINGO GALAHAD I I DINGO GALAHAD DINGO I GALAHAD DINGO I LEFT HEAD DENNIS OLD MAN TIM THE ENCHANTER ARMY OF KNIGHTS DINGO I GOD DINGO GIRLS A A DINGO AMAZING STUNNER LOVELY DINGO GIRLS A A DINGO GIRLS GALAHAD I LAUNCELOT GALAHAD LAUNCELOT GALAHAD LAUNCELOT GALAHAD LAUNCELOT DINGO LAUNCELOT GALAHAD LAUNCELOT GALAHAD I LAUNCELOT GIRLS GALAHAD I DINGO GIRLS LAUNCELOT GALAHAD I I DINGO GIRLS LAUNCELOT GALAHAD I DINGO GIRLS DINGO LAUNCELOT GALAHAD I I LAUNCELOT GALAHAD LAUNCELOT GALAHAD I LAUNCELOT GALAHAD LAUNCELOT GALAHAD I LAUNCELOT I NARRATOR I I CROWD NARRATOR I SCENE OLD MAN ARTHUR OLD MAN ARTHUR OLD MAN ARTHUR OLD MAN ARTHUR OLD MAN ARTHUR OLD MAN ARTHUR OLD MAN SCENE HEAD KNIGHT OF NI KNIGHTS OF NI ARTHUR HEAD KNIGHT RANDOM ARTHUR HEAD KNIGHT BEDEVERE HEAD KNIGHT RANDOM ARTHUR HEAD KNIGHT ARTHUR HEAD KNIGHT KNIGHTS OF NI ARTHUR HEAD KNIGHT ARTHUR HEAD KNIGHT ARTHUR A KNIGHTS OF NI ARTHUR PARTY ARTHUR HEAD KNIGHT ARTHUR O HEAD KNIGHT ARTHUR HEAD KNIGHT ARTHUR HEAD KNIGHT CARTOON CHARACTER SUN CARTOON CHARACTER SUN CARTOON CHARACTER SUN CARTOON CHARACTER SCENE NARRATOR FATHER PRINCE HERBERT FATHER HERBERT FATHER HERBERT B I FATHER I I I I I I HERBERT I I FATHER HERBERT I FATHER I HERBERT B I FATHER HERBERT FATHER HERBERT I FATHER HERBERT I I I FATHER I GUARD GUARD FATHER I GUARD FATHER GUARD GUARD FATHER GUARD FATHER GUARD FATHER GUARD GUARD FATHER GUARD FATHER GUARD FATHER GUARD FATHER GUARD FATHER GUARD I FATHER N GUARD FATHER GUARD FATHER GUARD GUARD FATHER GUARD FATHER GUARD GUARD FATHER GUARD FATHER GUARD FATHER GUARD GUARD GUARD I FATHER GUARD GUARD FATHER GUARD FATHER I GUARD I HERBERT FATHER GUARD FATHER SCENE LAUNCELOT CONCORDE LAUNCELOT CONCORDE LAUNCELOT I I A A CONCORDE I I LAUNCELOT CONCORDE I I I I I LAUNCELOT I CONCORDE I I LAUNCELOT I I CONCORDE LAUNCELOT CONCORDE I LAUNCELOT CONCORDE I I I SCENE PRINCESS LUCKY GIRLS GUEST SENTRY SENTRY SENTRY LAUNCELOT SENTRY LAUNCELOT PRINCESS LUCKY GIRLS LAUNCELOT GUESTS LAUNCELOT GUARD LAUNCELOT O I I HERBERT LAUNCELOT I I HERBERT LAUNCELOT I HERBERT I I LAUNCELOT I HERBERT FATHER HERBERT I FATHER LAUNCELOT I HERBERT LAUNCELOT FATHER LAUNCELOT FATHER LAUNCELOT I I HERBERT I FATHER LAUNCELOT I FATHER I HERBERT FATHER LAUNCELOT I FATHER LAUNCELOT FATHER LAUNCELOT I I I FATHER HERBERT LAUNCELOT I FATHER LAUNCELOT HERBERT I FATHER LAUNCELOT HERBERT I LAUNCELOT I HERBERT LAUNCELOT I I I FATHER HERBERT SCENE GUESTS FATHER GUEST FATHER LAUNCELOT FATHER LAUNCELOT I I I GUEST GUESTS FATHER LAUNCELOT GUEST GUESTS FATHER GUESTS FATHER I I GUEST FATHER GUEST FATHER BRIDE S FATHER GUEST FATHER I I LAUNCELOT GUEST GUESTS CONCORDE HERBERT I FATHER HERBERT I FATHER HERBERT I FATHER GUESTS FATHER GUESTS FATHER GUESTS FATHER GUESTS FATHER GUESTS CONCORDE GUESTS CONCORDE GUESTS LAUNCELOT GUESTS LAUNCELOT I GUESTS CONCORDE LAUNCELOT GUESTS LAUNCELOT GUESTS LAUNCELOT SCENE ARTHUR OLD CRONE ARTHUR CRONE ARTHUR I CRONE ARTHUR CRONE ARTHUR CRONE BEDEVERE ARTHUR BEDEVERE ARTHUR BEDEVERE ARTHUR BEDEVERE ARTHUR BEDEVERE ARTHUR ARTHUR BEDEVERE CRONE BEDEVERE ARTHUR CRONE BEDEVERE ARTHUR BEDEVERE ARTHUR BEDEVERE ROGER THE SHRUBBER ARTHUR ROGER ARTHUR ROGER I I BEDEVERE ARTHUR SCENE ARTHUR O HEAD KNIGHT I ARTHUR HEAD KNIGHT KNIGHTS OF NI HEAD KNIGHT RANDOM HEAD KNIGHT ARTHUR O HEAD KNIGHT ARTHUR RANDOM HEAD KNIGHT KNIGHTS OF NI A A A HEAD KNIGHT ARTHUR HEAD KNIGHT ARTHUR KNIGHTS OF NI HEAD KNIGHT ARTHUR HEAD KNIGHT I ARTHUR KNIGHTS OF NI HEAD KNIGHT ARTHUR KNIGHTS OF NI HEAD KNIGHT KNIGHTS OF NI BEDEVERE MINSTREL ARTHUR ROBIN HEAD KNIGHT ARTHUR MINSTREL ROBIN HEAD KNIGHT KNIGHTS OF NI ROBIN I KNIGHTS OF NI ROBIN ARTHUR KNIGHTS OF NI HEAD KNIGHT ARTHUR KNIGHTS OF NI HEAD KNIGHT ARTHUR HEAD KNIGHT I I I KNIGHTS OF NI NARRATOR KNIGHTS NARRATOR MINSTREL NARRATOR KNIGHTS NARRATOR A CARTOON CHARACTER NARRATOR CARTOON CHARACTER NARRATOR CARTOON CHARACTER NARRATOR CARTOON CHARACTER NARRATOR CARTOON CHARACTER NARRATOR SCENE KNIGHTS ARTHUR TIM THE ENCHANTER I ARTHUR TIM ARTHUR TIM ARTHUR TIM I ARTHUR O TIM ROBIN ARTHUR KNIGHTS ARTHUR BEDEVERE GALAHAD ROBIN BEDEVERE ROBIN BEDEVERE ARTHUR GALAHAD ARTHUR I I TIM A ARTHUR A TIM A ARTHUR I ROBIN Y ARTHUR GALAHAD KNIGHTS TIM ROBIN ARTHUR ROBIN GALAHAD ARTHUR ROBIN KNIGHTS ARTHUR TIM I KNIGHTS TIM ARTHUR O TIM ARTHUR SCENE GALAHAD ARTHUR TIM ARTHUR GALAHAD ARTHUR W TIM ARTHUR TIM ARTHUR TIM ARTHUR TIM ARTHUR TIM ARTHUR TIM ARTHUR TIM ROBIN I I TIM GALAHAD TIM GALAHAD ROBIN TIM I ROBIN TIM ARTHUR BORS TIM BORS ARTHUR TIM I ROBIN I TIM I I ARTHUR TIM ARTHUR TIM KNIGHTS KNIGHTS ARTHUR KNIGHTS TIM ARTHUR LAUNCELOT GALAHAD ARTHUR GALAHAD ARTHUR ROBIN ARTHUR GALAHAD ARTHUR GALAHAD LAUNCELOT ARTHUR LAUNCELOT ARTHUR MONKS ARTHUR LAUNCELOT I ARTHUR BROTHER MAYNARD SECOND BROTHER O MAYNARD SECOND BROTHER MAYNARD KNIGHTS ARTHUR GALAHAD ARTHUR SCENE ARTHUR LAUNCELOT GALAHAD ARTHUR MAYNARD GALAHAD LAUNCELOT ARTHUR MAYNARD ARTHUR MAYNARD BEDEVERE MAYNARD LAUNCELOT MAYNARD ARTHUR MAYNARD GALAHAD ARTHUR MAYNARD LAUNCELOT ARTHUR BEDEVERE GALAHAD BEDEVERE I LAUNCELOT ARTHUR LAUNCELOT KNIGHTS BEDEVERE LAUNCELOT BEDEVERE N LAUNCELOT BEDEVERE I ARTHUR GALAHAD MAYNARD BROTHER MAYNARD BEDEVERE ARTHUR KNIGHTS BEDEVERE KNIGHTS NARRATOR ANIMATOR NARRATOR SCENE GALAHAD ARTHUR ROBIN ARTHUR BEDEVERE ARTHUR GALAHAD ARTHUR GALAHAD ARTHUR ROBIN ARTHUR ROBIN I GALAHAD ARTHUR ROBIN ARTHUR ROBIN I LAUNCELOT I I ARTHUR GALAHAD ARTHUR LAUNCELOT I ARTHUR BRIDGEKEEPER LAUNCELOT I BRIDGEKEEPER LAUNCELOT BRIDGEKEEPER LAUNCELOT BRIDGEKEEPER LAUNCELOT BRIDGEKEEPER LAUNCELOT ROBIN BRIDGEKEEPER ROBIN I BRIDGEKEEPER ROBIN BRIDGEKEEPER ROBIN BRIDGEKEEPER ROBIN I BRIDGEKEEPER GALAHAD BRIDGEKEEPER GALAHAD I BRIDGEKEEPER GALAHAD BRIDGEKEEPER ARTHUR BRIDGEKEEPER ARTHUR BRIDGEKEEPER ARTHUR BRIDGEKEEPER I I BEDEVERE ARTHUR SCENE ARTHUR BEDEVERE ARTHUR BEDEVERE ARTHUR FRENCH GUARD ARTHUR I FRENCH GUARD I I ARTHUR FRENCH GUARD I ARTHUR FRENCH GUARDS ARTHUR FRENCH GUARD ARTHUR FRENCH GUARD FRENCH GUARDS ARTHUR BEDEVERE ARTHUR FRENCH GUARDS ARTHUR FRENCH GUARDS ARTHUR FRENCH GUARDS ARTHUR ARMY OF KNIGHTS HISTORIAN S WIFE I INSPECTOR OFFICER HISTORIAN S WIFE OFFICER INSPECTOR OFFICER BEDEVERE INSPECTOR OFFICER INSPECTOR OFFICER OFFICER RANDOM RANDOM OFFICER OFFICER OFFICER OFFICER INSPECTOR OFFICER CAMERAMAN
for w in text6:
if w.endswith('ize'):
print(w)
for w in text6:
if 'z' in w:
print(w)
zone amazes Fetchez Fetchez zoop zoo zhiv frozen zoosh
for w in text6:
if 'pt' in w:
print(w)
empty aptly Thpppppt Thppt Thppt empty Thppppt temptress temptation ptoo Chapter excepting Thpppt
for w in text3:
if w.islower and not w.istitle:
print(w)
sent = ['she','sells','sea','shells','by','the','sea','shore']
for w in sent:
if w.startswith('sh'):
print(w)
she shells shore
for w in sent:
if len(w)>4:
print(w)
sells shells shore