From 03b850349e7552c9d8f452e8093375839fe95117 Mon Sep 17 00:00:00 2001 From: Nika Lea Tomicic Date: Fri, 14 Mar 2025 02:16:43 +0000 Subject: [PATCH] HW Attempt --- lab.ipynb | 2047 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 2039 insertions(+), 8 deletions(-) diff --git a/lab.ipynb b/lab.ipynb index 56262e7..5c2358c 100644 --- a/lab.ipynb +++ b/lab.ipynb @@ -14,21 +14,2052 @@ }, { "cell_type": "code", - "execution_count": null, - "metadata": { - "vscode": { - "languageId": "plaintext" + "execution_count": 34, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "thus: 16\n", + "joyful: 1\n", + "troy: 7\n", + "maintained: 1\n", + "the: 382\n", + "watch: 1\n", + "of: 119\n", + "night: 6\n", + "while: 6\n", + "fear: 5\n", + "pale: 1\n", + "comrade: 1\n", + "inglorious: 2\n", + "flight: 3\n", + "and: 277\n", + "heavenbred: 1\n", + "horror: 1\n", + "on: 28\n", + "grecian: 8\n", + "part: 4\n", + "sat: 2\n", + "each: 14\n", + "face: 4\n", + "saddened: 1\n", + "every: 9\n", + "heart.: 1\n", + "as: 26\n", + "from: 37\n", + "its: 3\n", + "cloudy: 1\n", + "dungeon: 1\n", + "issuing: 2\n", + "forth: 2\n", + "a: 76\n", + "double: 3\n", + "tempest: 1\n", + "west: 1\n", + "north: 1\n", + "swells: 1\n", + "oer: 11\n", + "sea: 1\n", + "thracias: 1\n", + "frozen: 1\n", + "shore: 5\n", + "heaps: 3\n", + "waves: 2\n", + "bids: 4\n", + "ægean: 1\n", + "roar: 2\n", + "this: 22\n", + "way: 2\n", + "that: 40\n", + "boiling: 1\n", + "deeps: 1\n", + "are: 25\n", + "tossed: 1\n", + "such: 16\n", + "various: 1\n", + "passions: 3\n", + "urged: 1\n", + "troubled: 1\n", + "host.: 3\n", + "great: 17\n", + "agamemnon: 2\n", + "grieved: 1\n", + "above: 3\n", + "rest: 3\n", + "superior: 2\n", + "sorrows: 2\n", + "swelled: 1\n", + "his: 104\n", + "royal: 9\n", + "breast: 7\n", + "himself: 7\n", + "orders: 2\n", + "to: 124\n", + "heralds: 3\n", + "bears: 1\n", + "bid: 4\n", + "council: 5\n", + "all: 52\n", + "peers: 2\n", + "but: 33\n", + "in: 100\n", + "whispers1: 1\n", + "these: 27\n", + "surround: 2\n", + "their: 30\n", + "chief: 12\n", + "solemn: 4\n", + "sadness: 1\n", + "majestic: 1\n", + "grief.: 1\n", + "king: 13\n", + "amidst: 3\n", + "mournful: 1\n", + "circle: 1\n", + "rose: 2\n", + "down: 2\n", + "wan: 1\n", + "cheek: 1\n", + "briny: 1\n", + "torrent: 1\n", + "flows: 2\n", + "so: 7\n", + "silent: 3\n", + "fountains: 1\n", + "rocks: 1\n", + "tall: 1\n", + "head: 2\n", + "sable: 2\n", + "streams: 1\n", + "softtrickling: 1\n", + "waters: 1\n", + "shed.: 1\n", + "with: 89\n", + "more: 14\n", + "than: 8\n", + "vulgar: 3\n", + "grief: 4\n", + "he: 56\n", + "stood: 4\n", + "oppressed: 1\n", + "words: 3\n", + "mixed: 1\n", + "sighs: 1\n", + "bursting: 1\n", + "ye: 7\n", + "sons: 1\n", + "greece!: 1\n", + "partake: 1\n", + "your: 13\n", + "leaders: 3\n", + "care2: 1\n", + "fellows: 1\n", + "arms: 18\n", + "princes: 4\n", + "war!: 1\n", + "partial: 1\n", + "jove: 14\n", + "too: 3\n", + "justly: 1\n", + "we: 17\n", + "complain: 1\n", + "heavenly: 3\n", + "oracles: 1\n", + "believed: 1\n", + "vain.: 3\n", + "safe: 4\n", + "return: 8\n", + "was: 13\n", + "promised: 2\n", + "our: 46\n", + "toils3: 1\n", + "conquest: 2\n", + "honoured: 3\n", + "enriched: 2\n", + "spoils: 4\n", + "now: 13\n", + "shameful: 1\n", + "alone: 4\n", + "can: 12\n", + "save: 6\n", + "host: 6\n", + "wealth: 4\n", + "people: 2\n", + "glory: 5\n", + "lost.: 1\n", + "decrees: 1\n", + "almighty: 2\n", + "lord: 1\n", + "all!: 1\n", + "at: 17\n", + "whose: 12\n", + "nod: 1\n", + "whole: 6\n", + "empires: 1\n", + "rise: 4\n", + "or: 29\n", + "fall: 6\n", + "who: 14\n", + "shakes: 2\n", + "feeble: 1\n", + "props: 1\n", + "human: 2\n", + "trust: 3\n", + "towers: 3\n", + "armies: 3\n", + "humbles: 2\n", + "dust.: 1\n", + "haste: 3\n", + "then: 34\n", + "for: 42\n", + "ever: 2\n", + "quit: 3\n", + "fatal: 4\n", + "fields: 7\n", + "joys: 3\n", + "native: 3\n", + "country: 3\n", + "yields: 5\n", + "spread: 2\n", + "canvas: 1\n", + "oars: 4\n", + "employ: 3\n", + "nor: 20\n", + "hope: 3\n", + "heavendefended: 2\n", + "troy.: 3\n", + "said: 4\n", + "deep: 3\n", + "silence: 6\n", + "held: 2\n", + "band: 2\n", + "unmoved: 2\n", + "dire: 1\n", + "dismay: 1\n", + "they: 19\n", + "stand: 5\n", + "pensive: 1\n", + "scene!: 1\n", + "till: 10\n", + "tydeus: 1\n", + "warlike: 1\n", + "son: 12\n", + "rolled: 1\n", + "eyes: 6\n", + "begun: 3\n", + "when: 24\n", + "kings: 6\n", + "advise: 2\n", + "us: 5\n", + "renounce: 1\n", + "fame: 4\n", + "first: 10\n", + "let: 23\n", + "him: 19\n", + "speak: 3\n", + "has: 7\n", + "suffered: 1\n", + "shame.: 1\n", + "if: 24\n", + "i: 39\n", + "oppose: 1\n", + "thee: 20\n", + "prince!: 2\n", + "thy: 57\n", + "wrath: 5\n", + "withhold: 1\n", + "laws: 2\n", + "my: 82\n", + "tongue: 2\n", + "be: 23\n", + "bold.: 1\n", + "thou: 18\n", + "fight: 6\n", + "durst: 2\n", + "brand: 1\n", + "courage: 4\n", + "defame: 1\n", + "might: 2\n", + "friend: 7\n", + "unkind: 1\n", + "reproach: 1\n", + "appeared: 1\n", + "greeks: 11\n", + "witness: 2\n", + "army: 2\n", + "heard.: 2\n", + "gods: 13\n", + "o: 5\n", + "chief!: 1\n", + "whom: 11\n", + "honours: 10\n", + "spring: 1\n", + "have: 6\n", + "made: 4\n", + "by: 19\n", + "halves: 1\n", + "gave: 8\n", + "sceptres: 2\n", + "wide: 4\n", + "command: 1\n", + "dominion: 1\n", + "seas: 2\n", + "land: 5\n", + "noblest: 2\n", + "power: 3\n", + "world: 1\n", + "control: 2\n", + "nota: 1\n", + "brave: 4\n", + "virtuous: 1\n", + "soul.4: 1\n", + "is: 24\n", + "generals: 1\n", + "voice: 5\n", + "would: 3\n", + "suggest: 1\n", + "fears: 2\n", + "like: 6\n", + "own: 5\n", + "breast?: 1\n", + "confiding: 1\n", + "want: 2\n", + "worth: 2\n", + "stands: 5\n", + "fly: 1\n", + "tis: 4\n", + "what: 27\n", + "commands.: 2\n", + "go: 3\n", + "inglorious!: 1\n", + "embattled: 1\n", + "plain: 6\n", + "ships: 4\n", + "hast: 3\n", + "store: 5\n", + "nearest: 1\n", + "main: 3\n", + "nobler: 1\n", + "care: 6\n", + "grecians: 1\n", + "shall: 28\n", + "combat: 2\n", + "conquer: 4\n", + "extirpate: 1\n", + "here: 5\n", + "greece: 21\n", + "stay: 8\n", + "retire: 3\n", + "myself: 4\n", + "will: 12\n", + "expire: 1\n", + "sthenelus: 1\n", + "god: 7\n", + "bade: 3\n", + "twas: 1\n", + "came.: 1\n", + "ceased: 5\n", + "loud: 2\n", + "acclamations: 1\n", + "raise: 3\n", + "resounds: 1\n", + "tydides: 2\n", + "praise.: 1\n", + "wise: 5\n", + "nestor: 4\n", + "reverend: 6\n", + "figure: 1\n", + "reared: 1\n", + "spoke: 6\n", + "still: 8\n", + "attention: 1\n", + "heard: 3\n", + "truly: 2\n", + "great!: 1\n", + "joined: 3\n", + "strength: 3\n", + "body: 1\n", + "force: 5\n", + "mind: 8\n", + "conduct: 1\n", + "you: 7\n", + "excel: 1\n", + "act: 1\n", + "well.: 1\n", + "those: 12\n", + "wholesome: 3\n", + "counsels: 6\n", + "which: 7\n", + "wisdom: 4\n", + "moves: 1\n", + "applauding: 1\n", + "common: 1\n", + "approves.: 1\n", + "canst: 1\n", + "blame: 2\n", + "bold: 8\n", + "prudent: 1\n", + "youth: 4\n", + "een: 2\n", + "praise: 4\n", + "because: 1\n", + "truth.: 1\n", + "yet: 12\n", + "since: 4\n", + "birth: 1\n", + "run: 2\n", + "hardly: 1\n", + "style: 1\n", + "nestors: 1\n", + "youngest: 1\n", + "son.: 1\n", + "me: 17\n", + "add: 1\n", + "remains: 2\n", + "behind: 1\n", + "thought: 4\n", + "unfinished: 1\n", + "generous: 9\n", + "age: 5\n", + "advice: 3\n", + "bring: 4\n", + "distaste: 1\n", + "offend: 2\n", + "cursed: 3\n", + "man: 12\n", + "void: 1\n", + "law: 1\n", + "right: 1\n", + "unworthy: 2\n", + "property: 1\n", + "light: 2\n", + "unfit: 1\n", + "public: 3\n", + "rule: 3\n", + "private: 1\n", + "wretch: 3\n", + "monster: 1\n", + "delights: 2\n", + "war: 7\n", + "lust: 1\n", + "murder: 1\n", + "horrid: 1\n", + "joy: 1\n", + "tear: 1\n", + "kind: 5\n", + "destroy!: 1\n", + "refresh: 2\n", + "fortify: 1\n", + "train: 4\n", + "between: 1\n", + "trench: 3\n", + "wall5: 1\n", + "guards: 4\n", + "remain: 2\n", + "duty: 1\n", + "young: 3\n", + "call: 3\n", + "old: 5\n", + "sway: 7\n", + "weighty: 4\n", + "cares: 6\n", + "high: 7\n", + "commands: 1\n", + "must: 10\n", + "spirit: 3\n", + "wars: 4\n", + "thracian: 1\n", + "wines: 1\n", + "recruit: 1\n", + "guests: 2\n", + "happy: 3\n", + "flow: 2\n", + "sober: 1\n", + "feasts.: 1\n", + "aid: 2\n", + "state: 2\n", + "distressed: 1\n", + "monarch: 4\n", + "choose: 4\n", + "best.: 2\n", + "see!: 2\n", + "blaze: 2\n", + "hostile: 3\n", + "tents: 4\n", + "aspires: 1\n", + "how: 4\n", + "near: 1\n", + "fleet: 1\n", + "approach: 2\n", + "trojan: 6\n", + "fires!: 1\n", + "behold: 1\n", + "dreadful: 4\n", + "light?: 1\n", + "eye: 2\n", + "beholds: 1\n", + "them: 8\n", + "close: 1\n", + "tonight?: 1\n", + "interval: 1\n", + "determines: 1\n", + "tomorrow: 2\n", + "flame: 4\n", + "fall.: 1\n", + "hoary: 3\n", + "sage: 2\n", + "obey: 6\n", + "swift: 2\n", + "through: 7\n", + "gates: 4\n", + "direct: 1\n", + "way.: 1\n", + "pass: 3\n", + "lofty: 3\n", + "mound: 1\n", + "thrasymed: 1\n", + "renowned: 3\n", + "next: 2\n", + "ascalaphus: 1\n", + "iälmen: 1\n", + "offspring: 1\n", + "warriorgod.: 1\n", + "deïpyrus: 1\n", + "aphareus: 1\n", + "merion: 1\n", + "join: 3\n", + "lycomed: 1\n", + "creons: 1\n", + "noble: 2\n", + "line.: 1\n", + "seven: 8\n", + "were: 16\n", + "nightly: 3\n", + "bands: 3\n", + "hundred: 4\n", + "spears: 1\n", + "fires: 1\n", + "short: 3\n", + "repasts: 1\n", + "some: 7\n", + "line: 4\n", + "others: 3\n", + "wall.: 2\n", + "men: 5\n", + "bent: 2\n", + "convened: 1\n", + "ample: 8\n", + "tent: 10\n", + "seized: 2\n", + "portion: 2\n", + "kingly: 1\n", + "feast: 4\n", + "stayed: 3\n", + "hand: 4\n", + "thirst: 3\n", + "hunger: 2\n", + "ceased.: 1\n", + "long: 9\n", + "approved: 1\n", + "slowly: 1\n", + "rising: 3\n", + "moved: 2\n", + "nations!: 2\n", + "assembled: 2\n", + "states: 2\n", + "lords: 1\n", + "earth: 3\n", + "given: 1\n", + "millions: 1\n", + "heaven.: 1\n", + "king!: 1\n", + "attend: 4\n", + "begin: 1\n", + "end: 2\n", + "it: 7\n", + "fits: 3\n", + "alike: 2\n", + "hear: 15\n", + "pronounce: 1\n", + "judgment: 2\n", + "regard: 3\n", + "give: 7\n", + "ear: 1\n", + "see: 5\n", + "no: 24\n", + "motion: 1\n", + "withstood: 1\n", + "ratify: 1\n", + "best: 2\n", + "good.: 2\n", + "though: 11\n", + "meaner: 1\n", + "repine: 1\n", + "follow: 2\n", + "make: 4\n", + "thine.: 2\n", + "not: 24\n", + "conceived: 1\n", + "once: 6\n", + "present: 2\n", + "past6: 1\n", + "pelides: 3\n", + "forced: 2\n", + "maid: 3\n", + "opposed: 2\n", + "faithful: 2\n", + "dissuade: 1\n", + "soul: 10\n", + "headlong: 2\n", + "fury: 5\n", + "fired: 1\n", + "wronged: 2\n", + "admired: 1\n", + "seek: 1\n", + "means: 1\n", + "prayers: 10\n", + "move: 3\n", + "gifts: 8\n", + "bend.: 1\n", + "justice: 4\n", + "shewn: 1\n", + "faults: 1\n", + "reason: 1\n", + "own.: 1\n", + "man7: 1\n", + "most: 6\n", + "blessed: 2\n", + "love: 8\n", + "wondrous: 1\n", + "hero: 3\n", + "heaven: 6\n", + "fights: 1\n", + "bands.: 1\n", + "fain: 1\n", + "heart: 12\n", + "erred: 1\n", + "frantic: 1\n", + "rage: 13\n", + "wrathful: 1\n", + "angry: 2\n", + "assuage.: 1\n", + "immense: 1\n", + "mighty: 5\n", + "bow: 1\n", + "vow: 2\n", + "ten: 4\n", + "talents: 2\n", + "purest: 3\n", + "gold: 6\n", + "twice: 3\n", + "vases: 2\n", + "refulgent: 2\n", + "mould: 2\n", + "sacred: 10\n", + "tripods: 2\n", + "unsullied: 2\n", + "frame: 2\n", + "knows: 4\n", + "office: 2\n", + "felt: 3\n", + "flame8: 1\n", + "twelve: 4\n", + "steeds: 3\n", + "unmatched: 4\n", + "fleetness: 2\n", + "victorious: 2\n", + "dusty: 3\n", + "course: 3\n", + "rich: 4\n", + "stores: 2\n", + "exceed: 2\n", + "prizes: 2\n", + "purchased: 2\n", + "winged: 2\n", + "speed: 2\n", + "lovely: 3\n", + "captives: 3\n", + "lesbian: 3\n", + "skilled: 2\n", + "art: 4\n", + "form: 4\n", + "divine: 8\n", + "same: 3\n", + "chose: 2\n", + "charms: 11\n", + "lesbos: 2\n", + "sunk: 2\n", + "beneath: 5\n", + "heros: 1\n", + "buy: 2\n", + "friendship: 5\n", + "paid: 4\n", + "longcontested: 2\n", + "her: 33\n", + "briseïs: 2\n", + "resign: 3\n", + "swear: 2\n", + "never: 7\n", + "mine: 1\n", + "untouched: 2\n", + "she: 12\n", + "uninjured: 2\n", + "removes: 2\n", + "pure: 2\n", + "guiltless: 2\n", + "loves.: 2\n", + "instant: 3\n", + "powers: 4\n", + "proud: 6\n", + "ilions: 2\n", + "spoil: 3\n", + "divides: 2\n", + "brass: 3\n", + "loaded: 3\n", + "navys: 2\n", + "sides.: 2\n", + "besides: 2\n", + "full: 6\n", + "twenty: 2\n", + "nymphs: 3\n", + "race: 4\n", + "copious: 2\n", + "crown: 5\n", + "warm: 4\n", + "embrace: 4\n", + "yield: 5\n", + "none: 3\n", + "helens: 2\n", + "alone.: 2\n", + "farther: 3\n", + "argos: 2\n", + "fruitful: 2\n", + "there: 13\n", + "live: 2\n", + "share: 4\n", + "orestes: 2\n", + "self: 2\n", + "divide: 2\n", + "care.: 2\n", + "morethree: 2\n", + "daughters: 6\n", + "court: 3\n", + "bred: 2\n", + "well: 3\n", + "worthy: 4\n", + "bed: 6\n", + "laodicé: 2\n", + "iphigenia: 2\n", + "fair: 9\n", + "bright: 2\n", + "chrysothemis: 2\n", + "golden: 5\n", + "hair: 2\n", + "approve: 3\n", + "ask: 1\n", + "presents: 4\n", + "reward: 3\n", + "love9: 1\n", + "dower: 2\n", + "vast: 2\n", + "father: 9\n", + "child: 4\n", + "before.: 2\n", + "cities: 3\n", + "confess: 2\n", + "enopé: 2\n", + "pheræ: 2\n", + "cardamylé: 1\n", + "turrets: 2\n", + "crowned: 9\n", + "pedasus: 2\n", + "vines: 2\n", + "æpea: 2\n", + "pastures: 2\n", + "hira: 2\n", + "antheia: 2\n", + "flowery: 2\n", + "extent: 2\n", + "pylos: 2\n", + "sandy: 3\n", + "along: 5\n", + "verdant: 2\n", + "margin: 2\n", + "main.: 3\n", + "heifers: 2\n", + "graze: 2\n", + "labouring: 3\n", + "oxen: 2\n", + "toil: 2\n", + "soil: 1\n", + "reign: 3\n", + "tributary: 2\n", + "realms: 5\n", + "around.: 3\n", + "vengeance: 4\n", + "sure: 3\n", + "may: 9\n", + "soul.: 2\n", + "pluto: 1\n", + "grizly: 1\n", + "spares: 1\n", + "feels: 1\n", + "mercy: 1\n", + "hears: 2\n", + "lives: 2\n", + "dark: 1\n", + "hells: 1\n", + "abodes: 1\n", + "mortals: 2\n", + "hate: 5\n", + "worst: 1\n", + "gods.: 1\n", + "years: 5\n", + "sway.: 1\n", + "glorious: 3\n", + "men!: 1\n", + "offers: 3\n", + "prince: 6\n", + "take: 2\n", + "make.: 1\n", + "chosen: 2\n", + "delegates: 1\n", + "hour: 1\n", + "sent: 5\n", + "name: 4\n", + "themto: 1\n", + "phœnix: 11\n", + "lead: 1\n", + "revered: 1\n", + "ajax: 5\n", + "ithacus: 2\n", + "sage.: 1\n", + "sanctify: 1\n", + "word: 3\n", + "send: 3\n", + "hodius: 1\n", + "eurybates: 1\n", + "attend.: 1\n", + "pray: 2\n", + "grant: 1\n", + "demands: 3\n", + "hands.: 2\n", + "approved.: 1\n", + "cleansing: 1\n", + "water: 1\n", + "living: 2\n", + "spring.: 1\n", + "wine: 5\n", + "goblets: 2\n", + "large: 2\n", + "libations: 2\n", + "drenched: 1\n", + "sands: 2\n", + "rite: 1\n", + "performed: 1\n", + "chiefs: 7\n", + "allay: 1\n", + "turns: 2\n", + "careful: 1\n", + "forbids: 1\n", + "instructs: 1\n", + "apply: 1\n", + "much: 1\n", + "advised: 1\n", + "ulysses: 9\n", + "deprecate: 1\n", + "march: 1\n", + "murmuring: 1\n", + "billows: 2\n", + "sounding: 1\n", + "shore.: 1\n", + "neptune: 2\n", + "ruler: 1\n", + "profound: 2\n", + "liquid: 1\n", + "globe: 1\n", + "pour: 1\n", + "vows: 2\n", + "embassy: 2\n", + "bless: 2\n", + "calm: 3\n", + "stern: 7\n", + "æacides.: 1\n", + "arrived: 1\n", + "where: 4\n", + "bay: 1\n", + "myrmidonian: 1\n", + "vessels: 4\n", + "lay: 4\n", + "amused: 1\n", + "ease: 1\n", + "godlike: 2\n", + "found: 2\n", + "pleased: 1\n", + "harps: 1\n", + "harmonious: 1\n", + "sound: 1\n", + "wellwrought: 1\n", + "harp: 2\n", + "conquered: 3\n", + "thebæ: 1\n", + "came: 3\n", + "polished: 1\n", + "silver: 3\n", + "costly: 1\n", + "frame.: 1\n", + "soothes: 1\n", + "sings: 1\n", + "immortal: 2\n", + "deeds: 2\n", + "heroes: 5\n", + "kings.: 1\n", + "patroclus: 6\n", + "only: 7\n", + "placed: 3\n", + "attends: 2\n", + "strain: 1\n", + "opposite: 1\n", + "listened: 1\n", + "waiting: 1\n", + "song.: 1\n", + "unseen: 2\n", + "proceeds: 1\n", + "leads.: 2\n", + "achilles: 13\n", + "starting: 1\n", + "spied: 1\n", + "leaped: 1\n", + "seat: 1\n", + "laid: 2\n", + "aside.: 1\n", + "surprise: 1\n", + "arose: 2\n", + "menœtius: 2\n", + "grasped: 1\n", + "hands: 4\n", + "hail!: 1\n", + "whatever: 1\n", + "brought: 1\n", + "strong: 4\n", + "necessity: 1\n", + "urgent: 2\n", + "welcome: 1\n", + "greeks!: 1\n", + "foes: 1\n", + "dear: 2\n", + "bear: 3\n", + "name.: 2\n", + "roof: 2\n", + "led: 2\n", + "seats: 2\n", + "purple: 1\n", + "carpets: 3\n", + "spread.: 2\n", + "larger: 1\n", + "bowl: 2\n", + "mix: 2\n", + "purer: 1\n", + "open: 1\n", + "warriors: 2\n", + "yonder: 2\n", + "friend.: 1\n", + "blazing: 1\n", + "fire: 3\n", + "brazen: 2\n", + "vase: 2\n", + "three: 1\n", + "chines: 1\n", + "entire: 2\n", + "automedon: 1\n", + "sustains: 1\n", + "flesh: 1\n", + "porket: 1\n", + "sheep: 1\n", + "goat: 1\n", + "contains: 1\n", + "genial: 1\n", + "presides: 1\n", + "parts: 2\n", + "transfixes: 1\n", + "skill: 1\n", + "divides.: 1\n", + "meanwhile: 2\n", + "sweats: 1\n", + "brightened: 1\n", + "languid: 1\n", + "flames: 5\n", + "length: 4\n", + "subside: 1\n", + "strews: 1\n", + "glowing: 1\n", + "embers: 1\n", + "coals: 1\n", + "smoking: 2\n", + "fragments: 1\n", + "sprinkles: 1\n", + "salt: 1\n", + "lifted: 1\n", + "urns: 1\n", + "bread: 1\n", + "glittering: 1\n", + "canisters: 1\n", + "load: 2\n", + "round: 3\n", + "board: 1\n", + "bestowed: 1\n", + "sight: 1\n", + "rite.: 1\n", + "fat: 2\n", + "offerings: 2\n", + "immortals: 1\n", + "due: 5\n", + "greedy: 2\n", + "threw: 1\n", + "indulging: 1\n", + "social: 1\n", + "soberly: 1\n", + "repressed.: 1\n", + "done: 2\n", + "sign10: 1\n", + "unperceived: 1\n", + "foaming: 1\n", + "began: 1\n", + "speech: 2\n", + "addressing: 1\n", + "health: 1\n", + "achilles!: 3\n", + "guests!: 1\n", + "atrides: 8\n", + "feasts: 1\n", + "plenty: 1\n", + "boards: 1\n", + "agamemnons: 1\n", + "regal: 1\n", + "affords: 1\n", + "greater: 2\n", + "sit: 1\n", + "heavy: 2\n", + "souls: 2\n", + "eased: 1\n", + "banquets: 1\n", + "flowing: 1\n", + "bowls.: 1\n", + "scenes: 1\n", + "slaughter: 2\n", + "yon: 2\n", + "appear!: 1\n", + "dead: 1\n", + "mourn: 1\n", + "brink: 1\n", + "fate: 5\n", + "doubtful: 1\n", + "owns: 1\n", + "help: 1\n", + "saving: 1\n", + "aids: 1\n", + "ready: 1\n", + "threatening: 1\n", + "already: 1\n", + "shade: 1\n", + "wall: 1\n", + "shouts: 3\n", + "proclaim: 2\n", + "point: 1\n", + "ship: 1\n", + "vengeful: 3\n", + "flame!: 1\n", + "declares: 1\n", + "theirs: 1\n", + "omens: 1\n", + "thunder: 1\n", + "theirs.: 1\n", + "avenging: 1\n", + "hector: 2\n", + "rise!: 2\n", + "raging: 1\n", + "defies: 1\n", + "lightning: 1\n", + "eyes!: 1\n", + "waits: 2\n", + "morn: 2\n", + "sink: 1\n", + "heavens!: 1\n", + "countrys: 2\n", + "woes: 2\n", + "distract: 1\n", + "lest: 1\n", + "accomplish: 1\n", + "designed.: 1\n", + "gods!: 2\n", + "heads: 1\n", + "dust: 4\n", + "day?: 1\n", + "oh: 3\n", + "late: 2\n", + "stop: 1\n", + "lies: 2\n", + "redeem: 1\n", + "ah: 2\n", + "day: 6\n", + "come: 1\n", + "slain: 4\n", + "melt: 1\n", + "time: 3\n", + "divinely: 2\n", + "gave.: 2\n", + "peleus: 4\n", + "aged: 2\n", + "embraced: 1\n", + "parting: 2\n", + "accents: 1\n", + "last: 3\n", + "success: 1\n", + "juno: 1\n", + "minerva: 1\n", + "bless!: 1\n", + "engage: 2\n", + "subdue: 1\n", + "gentler: 1\n", + "manners: 1\n", + "grow: 1\n", + "shun: 1\n", + "contention: 2\n", + "source: 1\n", + "woe: 1\n", + "combine: 1\n", + "virtues: 2\n", + "humanity: 1\n", + "despised: 1\n", + "ah!: 1\n", + "check: 1\n", + "anger: 1\n", + "brave.: 1\n", + "wilt: 2\n", + "prepares: 1\n", + "notbut: 1\n", + "number: 2\n", + "proffered: 2\n", + "an: 5\n", + "exhaustless: 1\n", + "store.: 1\n", + "conquering: 3\n", + "hell: 2\n", + "thine: 3\n", + "shalt: 5\n", + "thyself: 1\n", + "wed: 1\n", + "asks: 3\n", + "cardamyé: 1\n", + "soil.: 1\n", + "proffers: 3\n", + "repentance: 1\n", + "suppliant: 3\n", + "king.: 1\n", + "relentless: 2\n", + "disdain: 2\n", + "honour: 3\n", + "interest: 1\n", + "plead: 2\n", + "vain: 3\n", + "redress: 1\n", + "afford: 1\n", + "amongst: 2\n", + "guardian: 2\n", + "adored.: 2\n", + "suffering: 2\n", + "claim: 3\n", + "unresisted: 1\n", + "ire: 2\n", + "nations: 3\n", + "tremble: 1\n", + "hosts: 3\n", + "unequal: 1\n", + "triumphs: 1\n", + "deserve: 1\n", + "goddessborn: 1\n", + "secret: 1\n", + "understood: 1\n", + "utter: 1\n", + "know: 2\n", + "purpose: 2\n", + "retain: 1\n", + "new: 4\n", + "treaties: 1\n", + "vex: 1\n", + "peace: 4\n", + "dares: 3\n", + "think: 2\n", + "one: 9\n", + "thing: 1\n", + "another: 1\n", + "tell: 3\n", + "detests: 1\n", + "hell.: 1\n", + "fixed: 3\n", + "resolves: 2\n", + "bend: 2\n", + "toils: 2\n", + "perils: 2\n", + "cause: 1\n", + "bore: 2\n", + "unfruitful: 1\n", + "glories: 3\n", + "charm: 1\n", + "more.: 1\n", + "find: 3\n", + "prize: 2\n", + "regretted: 1\n", + "ignobly: 1\n", + "bravely: 1\n", + "dies.: 1\n", + "dangers: 1\n", + "pains: 1\n", + "life: 5\n", + "labours: 4\n", + "lo!: 1\n", + "fruit: 1\n", + "remains?: 1\n", + "bird: 1\n", + "helpless: 2\n", + "danger: 2\n", + "defends: 1\n", + "search: 1\n", + "prey: 1\n", + "wings: 1\n", + "spacious: 2\n", + "air: 1\n", + "untasted: 1\n", + "food: 3\n", + "supplies: 1\n", + "thankless: 1\n", + "hardships: 1\n", + "braved: 1\n", + "wives: 1\n", + "infants: 1\n", + "saved: 2\n", + "sleepless: 1\n", + "nights: 3\n", + "sweat: 1\n", + "laborious: 1\n", + "days: 1\n", + "blood: 6\n", + "sacked: 1\n", + "haughty: 3\n", + "feet: 2\n", + "gathered: 1\n", + "made.: 1\n", + "possessed: 2\n", + "few: 1\n", + "soldiers: 1\n", + "had: 3\n", + "rest.: 1\n", + "enjoys: 1\n", + "gift: 2\n", + "refund: 1\n", + "preeminence: 1\n", + "merits: 1\n", + "gain!: 2\n", + "spouse: 1\n", + "lustful: 1\n", + "woman: 2\n", + "enjoy: 3\n", + "whats: 1\n", + "quarrel: 1\n", + "troy?: 1\n", + "shores: 2\n", + "draws: 1\n", + "calls: 1\n", + "womans: 1\n", + "cause?: 1\n", + "endowments: 1\n", + "beauteous: 3\n", + "beloved: 1\n", + "atreus: 1\n", + "race?: 1\n", + "wife: 3\n", + "choice: 3\n", + "passion: 2\n", + "both: 1\n", + "love.: 1\n", + "did: 1\n", + "less: 1\n", + "distinction: 1\n", + "slave: 2\n", + "adored: 3\n", + "dame.: 1\n", + "deceived: 2\n", + "again.: 1\n", + "answer.: 1\n", + "do: 3\n", + "consult: 1\n", + "you.: 1\n", + "needs: 1\n", + "defence: 1\n", + "arm: 5\n", + "make?: 1\n", + "walls: 4\n", + "shake?: 1\n", + "fenced: 1\n", + "guarded: 1\n", + "navy: 3\n", + "piles: 1\n", + "ramparts: 1\n", + "profound?: 1\n", + "wonders: 2\n", + "repel: 1\n", + "priams: 1\n", + "single: 1\n", + "son?: 1\n", + "timetwas: 1\n", + "fought: 2\n", + "hectors: 2\n", + "prowess: 1\n", + "wrought: 1\n", + "kept: 1\n", + "verge: 1\n", + "dared: 1\n", + "wait: 1\n", + "scæan: 1\n", + "gate: 1\n", + "tried: 2\n", + "scarce: 1\n", + "fate.: 1\n", + "ancient: 2\n", + "enmities: 1\n", + "favouring: 1\n", + "implore: 1\n", + "hellespont: 1\n", + "resound.: 1\n", + "third: 1\n", + "hence: 3\n", + "pthia: 2\n", + "greet: 1\n", + "sails: 2\n", + "propitious: 1\n", + "gales: 1\n", + "restore: 3\n", + "left: 3\n", + "detested: 1\n", + "thither: 2\n", + "ruddy: 1\n", + "steel: 1\n", + "shining: 1\n", + "ill: 2\n", + "convey: 1\n", + "rests: 1\n", + "unravished: 1\n", + "prey.: 1\n", + "valued: 1\n", + "tyrant: 1\n", + "resumed: 1\n", + "lyrnessian: 1\n", + "slave.: 1\n", + "learn: 2\n", + "scorn: 2\n", + "basely: 1\n", + "armed: 1\n", + "impudence: 1\n", + "mankind: 2\n", + "braves: 1\n", + "meditates: 1\n", + "cheats: 1\n", + "slaves: 3\n", + "shameless: 1\n", + "dies: 1\n", + "terms: 2\n", + "commerce: 1\n", + "decline: 1\n", + "battle: 2\n", + "mine.: 2\n", + "nolet: 1\n", + "stupid: 1\n", + "deprives: 1\n", + "sense: 1\n", + "frenzy: 1\n", + "drives: 1\n", + "hateful: 1\n", + "before: 4\n", + "mind.: 1\n", + "rapine: 1\n", + "could: 2\n", + "wrest: 1\n", + "tides: 1\n", + "manypeopled: 1\n", + "orchomenian: 1\n", + "town: 3\n", + "thebes11: 1\n", + "unrivalled: 2\n", + "contain: 1\n", + "worlds: 1\n", + "empress: 1\n", + "egyptian: 1\n", + "spreads: 1\n", + "conquests: 1\n", + "thousand: 1\n", + "pours: 1\n", + "two: 2\n", + "horsemen: 1\n", + "cars: 1\n", + "portal: 1\n", + "bribes: 2\n", + "heaped: 1\n", + "should: 4\n", + "all.: 2\n", + "daughter: 1\n", + "illmatched: 1\n", + "consort: 1\n", + "venus: 1\n", + "charmed: 1\n", + "vied: 1\n", + "pallas: 1\n", + "works: 1\n", + "art.: 1\n", + "greek: 1\n", + "nuptials: 1\n", + "grace: 1\n", + "alliance: 1\n", + "tyrants: 2\n", + "race.: 2\n", + "elect: 1\n", + "thessalian: 1\n", + "sue: 3\n", + "glide: 1\n", + "away: 1\n", + "content: 1\n", + "just: 5\n", + "hereditary: 1\n", + "deaf: 1\n", + "martial: 1\n", + "strife: 1\n", + "prerogative: 1\n", + "life.: 1\n", + "bought: 1\n", + "apollos: 1\n", + "pythian: 1\n", + "treasures: 2\n", + "hold: 1\n", + "pride: 2\n", + "bribe: 1\n", + "poor: 1\n", + "possession: 1\n", + "day!: 1\n", + "lost: 2\n", + "herds: 1\n", + "regain: 1\n", + "lips: 1\n", + "vital: 1\n", + "fled: 1\n", + "returns: 2\n", + "wake: 1\n", + "dead.: 1\n", + "fates: 1\n", + "thetis: 1\n", + "disclosed: 1\n", + "alternate: 1\n", + "proposed: 1\n", + "date: 1\n", + "deathless: 1\n", + "renown: 1\n", + "longextended: 2\n", + "days.: 2\n", + "convinced: 1\n", + "fond: 1\n", + "mistake: 1\n", + "warn: 1\n", + "wiser: 1\n", + "joves: 2\n", + "displayed: 1\n", + "asserts: 1\n", + "skies: 2\n", + "hearts: 2\n", + "strengthened: 1\n", + "rise.: 1\n", + "report: 1\n", + "design: 1\n", + "councils: 2\n", + "forces: 1\n", + "arts: 1\n", + "conspire: 1\n", + "troops: 1\n", + "fire.: 2\n", + "stratagem: 1\n", + "failed: 2\n", + "unconquered: 2\n", + "still.: 1\n", + "digest: 1\n", + "message: 1\n", + "tedious: 1\n", + "hairs: 1\n", + "demand: 1\n", + "peaceful: 1\n", + "death: 1\n", + "pthias: 3\n", + "friendly: 1\n", + "land.: 1\n", + "whether: 1\n", + "sail: 1\n", + "free.: 2\n", + "around: 1\n", + "wrapped: 1\n", + "consternation: 2\n", + "drowned: 1\n", + "reply.: 2\n", + "white: 1\n", + "beard: 1\n", + "stream: 1\n", + "sorrow: 2\n", + "mourned: 1\n", + "accent: 1\n", + "weak: 1\n", + "tender: 2\n", + "returned: 1\n", + "leave: 2\n", + "fleets: 3\n", + "fire?: 1\n", + "fill: 1\n", + "ruthless: 2\n", + "behind?: 1\n", + "coast: 2\n", + "early: 2\n", + "achaian: 3\n", + "debates: 1\n", + "unskilled: 1\n", + "direful: 1\n", + "field: 1\n", + "teach: 1\n", + "ways: 1\n", + "shine: 2\n", + "camps: 1\n", + "dare.: 1\n", + "side!: 1\n", + "divide.: 1\n", + "breathed: 1\n", + "bloom: 1\n", + "boasted: 1\n", + "port: 1\n", + "beheld: 1\n", + "youthful: 1\n", + "delightful: 1\n", + "dames.: 1\n", + "faithless: 1\n", + "mothers: 3\n", + "strangers: 1\n", + "desire: 1\n", + "win: 1\n", + "damsel: 1\n", + "prevent: 1\n", + "sire.: 1\n", + "sire: 4\n", + "curses: 2\n", + "loads: 1\n", + "hated: 1\n", + "cries: 2\n", + "furies!: 1\n", + "barren: 1\n", + "bed.: 1\n", + "infernal: 1\n", + "fiends: 2\n", + "below: 1\n", + "proserpine: 1\n", + "confirmed: 1\n", + "despair: 1\n", + "attract: 1\n", + "crime: 1\n", + "impious: 1\n", + "designed!: 1\n", + "thoughtbut: 1\n", + "suppressed: 1\n", + "plunge: 1\n", + "poniard: 1\n", + "fathers: 4\n", + "meditate: 1\n", + "friends: 3\n", + "entreat: 1\n", + "detain.: 1\n", + "rams: 1\n", + "black: 1\n", + "bulls: 1\n", + "brawny: 1\n", + "swine: 1\n", + "daily: 3\n", + "draughts: 1\n", + "fragrant: 1\n", + "watched: 1\n", + "nine: 1\n", + "roofs: 1\n", + "porches: 1\n", + "flamed: 1\n", + "constant: 2\n", + "tenth: 1\n", + "favoured: 1\n", + "oerleaped: 1\n", + "travels: 1\n", + "thence: 2\n", + "extend: 1\n", + "end.: 1\n", + "received: 1\n", + "caressed: 1\n", + "possessions: 1\n", + "blessed.: 1\n", + "dolopians: 1\n", + "thenceforth: 1\n", + "owned: 1\n", + "runs: 1\n", + "bounties: 1\n", + "repaid: 1\n", + "conveyed: 1\n", + "lessons: 1\n", + "took: 2\n", + "infant: 1\n", + "affection: 1\n", + "showed: 1\n", + "everpleasing: 1\n", + "knee: 1\n", + "wouldst: 1\n", + "grateful: 2\n", + "hand.: 2\n", + "watchings: 1\n", + "compliant: 1\n", + "reversed: 1\n", + "hard: 1\n", + "decree: 2\n", + "growing: 1\n", + "justified: 1\n", + "comfort: 1\n", + "hairs.: 1\n", + "resigned: 1\n", + "cruel: 1\n", + "suits: 1\n", + "manly: 1\n", + "sacrifice: 2\n", + "offending: 1\n", + "compassion: 1\n", + "wins: 1\n", + "atone: 1\n", + "sins.: 1\n", + "celestial: 1\n", + "lame: 1\n", + "wrinkled: 1\n", + "humble: 2\n", + "mien: 1\n", + "dejected: 1\n", + "injustice: 3\n", + "flies: 1\n", + "erect: 1\n", + "unconfined: 1\n", + "sweeps: 1\n", + "tramples: 1\n", + "heal: 1\n", + "wrongs: 1\n", + "slow: 1\n", + "behind.: 1\n", + "mediate: 1\n", + "throne: 1\n", + "rejects: 2\n", + "suit: 1\n", + "revenges: 1\n", + "sake: 1\n", + "commissioned: 1\n", + "fierce: 3\n", + "descends: 1\n", + "punish: 1\n", + "unrelenting: 2\n", + "men.: 1\n", + "reconciling: 1\n", + "goddesses: 1\n", + "seed: 1\n", + "belong: 1\n", + "fiercé: 1\n", + "strong.: 1\n", + "harboured: 1\n", + "fortunes: 1\n", + "against: 2\n", + "rage.: 1\n", + "general: 2\n", + "sends: 2\n", + "commends: 1\n", + "permit: 1\n", + "vain!: 1\n", + "fact: 1\n", + "unfold: 1\n", + "example: 1\n", + "drawn: 1\n", + "times: 1\n", + "revenge: 1\n", + "former: 1\n", + "calydon: 1\n", + "rocky: 1\n", + "mountains: 2\n", + "ætolian: 1\n", + "curetian: 1\n", + "guard: 1\n", + "advance: 1\n", + "mutual: 2\n", + "deaths: 1\n", + "dealt: 1\n", + "chance.: 1\n", + "cynthia: 1\n", + "neglected: 1\n", + "œneus: 2\n", + "monstrous: 1\n", + "boar12: 1\n", + "levelled: 1\n", + "harvests: 1\n", + "forests: 1\n", + "tore: 1\n", + "beast: 1\n", + "many: 1\n", + "tusks: 1\n", + "meleager: 1\n", + "stretched: 1\n", + "plain.: 1\n", + "debate: 2\n", + "neighbour: 1\n", + "commencing: 1\n", + "foes.: 1\n", + "curetes: 1\n", + "meleagers: 1\n", + "thundering: 1\n", + "prevailed: 1\n", + "inflamed: 1\n", + "invades: 1\n", + "wisest: 1\n", + "althæa: 2\n", + "wifes: 1\n", + "forgets: 1\n", + "fields.: 1\n", + "marpessa: 1\n", + "sprung: 1\n", + "matchless: 1\n", + "idas13: 1\n", + "afflicted: 1\n", + "pair: 1\n", + "cleopatra: 1\n", + "changed: 1\n", + "called: 2\n", + "alcyone: 1\n", + "shew: 1\n", + "mourning: 1\n", + "woe.: 1\n", + "retired: 1\n", + "althæas: 2\n", + "unhappy: 1\n", + "warrior: 2\n", + "drew: 1\n", + "luckless: 1\n", + "uncle: 1\n", + "slew: 1\n", + "beat: 1\n", + "ground: 3\n", + "wreak: 1\n", + "brothers: 1\n", + "death14: 1\n", + "red: 1\n", + "walked: 1\n", + "ætolia: 1\n", + "deliverer: 1\n", + "thunders: 1\n", + "gates.: 1\n", + "ambassadors: 1\n", + "priests: 1\n", + "elders: 1\n", + "besought: 1\n", + "sinking: 2\n", + "fifty: 1\n", + "acres: 1\n", + "richest: 1\n", + "half: 2\n", + "pasture: 1\n", + "green: 1\n", + "vineyards: 1\n", + "sisters: 1\n", + "followed: 1\n", + "dame: 1\n", + "sues: 1\n", + "victors: 1\n", + "ascend: 2\n", + "scaled: 1\n", + "rolling: 1\n", + "arise: 1\n", + "appears: 1\n", + "piercing: 1\n", + "supplicating: 1\n", + "tears: 2\n", + "paints: 2\n", + "horrors: 1\n", + "palaces: 1\n", + "overthrown: 1\n", + "matrons: 1\n", + "ravished: 2\n", + "enslaved: 1\n", + "vanquished: 1\n", + "saved.: 1\n", + "ætolians: 1\n", + "disdained: 1\n", + "turn: 1\n", + "broken: 1\n", + "faith: 1\n", + "mourn.: 1\n", + "betimes: 1\n", + "curb: 1\n", + "pernicious: 1\n", + "accept: 1\n", + "draw: 1\n", + "sword: 1\n", + "replied: 3\n", + "second: 1\n", + "guide!: 2\n", + "believe: 1\n", + "favours: 1\n", + "designs: 1\n", + "pleasure: 1\n", + "guides: 1\n", + "confines: 1\n", + "behest: 1\n", + "lifes: 1\n", + "beats: 1\n", + "within: 1\n", + "breast.: 1\n", + "lodge: 1\n", + "molest: 1\n", + "taught: 1\n", + "sorrows?: 1\n", + "mortal: 1\n", + "foe?: 1\n", + "cold: 1\n", + "medium: 1\n", + "burns: 1\n", + "resentment: 2\n", + "glows: 1\n", + "interests: 1\n", + "injures: 1\n", + "me.: 1\n", + "voyage: 1\n", + "undetermined: 1\n", + "dawning: 1\n", + "day.: 1\n", + "ordered: 1\n", + "sages: 1\n", + "warmer: 1\n", + "couch: 2\n", + "numerous: 1\n", + "broke: 2\n", + "impatient: 1\n", + "gowhy: 1\n", + "waste: 1\n", + "vain?: 1\n", + "effect: 1\n", + "low: 1\n", + "submissions: 1\n", + "liked: 2\n", + "relate: 1\n", + "expect: 1\n", + "wait.: 1\n", + "iron: 1\n", + "retains: 2\n", + "stubborn: 1\n", + "disdains.: 1\n", + "unpitying!: 1\n", + "brother: 1\n", + "bleed: 1\n", + "atonement: 1\n", + "remit: 1\n", + "deed: 1\n", + "forgives: 1\n", + "price: 1\n", + "discharged: 1\n", + "murderer: 1\n", + "haughtiest: 1\n", + "steeled: 1\n", + "cannot: 1\n", + "yield.: 1\n", + "lo: 1\n", + "offered: 1\n", + "equal: 1\n", + "charms.: 1\n", + "better: 1\n", + "revere: 1\n", + "valour: 1\n", + "most.: 1\n", + "battles: 2\n", + "peoples: 1\n", + "rekindles: 1\n", + "becomes: 1\n", + "disgraced: 1\n", + "dishonoured: 1\n", + "vilest: 1\n", + "slave!: 1\n", + "heroes!: 1\n", + "answer: 1\n", + "dye: 1\n", + "thrown: 1\n", + "consume: 1\n", + "impetuous: 1\n", + "homicide: 1\n", + "cease: 1\n", + "feel: 1\n", + "goblet: 1\n", + "cast: 1\n", + "libation: 1\n", + "gloomy: 1\n", + "shades: 1\n", + "meantime: 1\n", + "prepared: 2\n", + "fleeces: 1\n", + "soft: 1\n", + "linen: 1\n", + "restored: 1\n", + "slumbers: 1\n", + "sweet: 1\n", + "inner: 1\n", + "ampler: 1\n", + "space: 1\n", + "slept: 1\n", + "diomedé: 1\n", + "iphis: 1\n", + "shared: 1\n", + "consigned: 1\n", + "sycros: 1\n", + "fell: 1\n", + "arms.: 1\n", + "elected: 1\n", + "passed: 1\n", + "reached: 1\n", + "tent.: 1\n", + "hailed: 1\n", + "say: 1\n", + "success?: 1\n", + "laertes: 1\n", + "son!: 1\n", + "declare: 1\n", + "fall?: 1\n", + "slights: 1\n", + "proposals: 1\n", + "scorns: 1\n", + "implored: 1\n", + "fiercer: 1\n", + "burns.: 1\n", + "free: 1\n", + "thee.: 1\n", + "view: 1\n", + "morning: 2\n", + "sky: 1\n", + "whitening: 1\n", + "fly.: 1\n", + "heavenprotected: 1\n", + "oershades: 1\n", + "inspires: 1\n", + "shine.: 1\n", + "declared: 1\n", + "transport: 1\n", + "plains: 1\n", + "dawns: 1\n", + "other: 1\n", + "undaunted: 1\n", + "why: 1\n", + "send?: 1\n", + "strive: 1\n", + "bend?: 1\n", + "deride: 1\n", + "burst: 1\n", + "swelling: 1\n", + "pride.: 1\n", + "impulse: 1\n", + "obeyed: 1\n", + "desert: 1\n", + "fit: 1\n", + "madness: 1\n", + "commit: 1\n", + "ourselves: 1\n", + "always: 1\n", + "ours: 1\n", + "repast: 1\n", + "consists: 1\n", + "spirits: 1\n", + "owed: 1\n", + "rosy: 1\n", + "messenger: 1\n", + "strikes: 1\n", + "blue: 1\n", + "ray: 1\n", + "ranged: 1\n", + "squadrons: 1\n", + "flaming: 1\n", + "dread: 1\n", + "front: 1\n", + "command.: 1\n", + "acclaim: 1\n", + "listening: 1\n", + "pays: 1\n", + "sleep: 1\n", + "descending: 1\n", + "bestows: 1\n", + "blessings: 1\n", + "desired: 1\n", + "repose.: 1\n", + "There's a total of 1979 tokens in this token counting!\n", + "The types of tokens are words and their frequencies.\n" + ] } - }, - "outputs": [], + ], "source": [ - "# your code here" + "from pathlib import Path\n", + "from collections import Counter\n", + "import re\n", + "\n", + "# i don't know what happened but the first time I tried to run this all the text in book_9.txt disappeared! I repasted it because I wasn't sure how to navigate the reading and writing commands. \n", + "\n", + "# i started my code without doing the three four loops above and couldn't figure out how to import the txt file into this file. \n", + "\n", + "book = Path(\"book_9.txt\") \n", + "\n", + "with book.open(\"r\") as book:\n", + " text = book.read().lower()\n", + "\n", + "cleaned_book = re.sub(r\"[^\\w\\s\\.!?]\",\"\",text.lower())\n", + "\n", + "# i ran into lots of errors before finding the right cleaned_book equation above...unsure about what was wrong I kept trying \n", + "\n", + "tokens = cleaned_book.split()\n", + "\n", + "# trying to clean up the book file with as many regex expressions I could remember\n", + "\n", + "token_counts = Counter(tokens)\n", + "\n", + "for token, count in token_counts.items():\n", + " print(f\"{token}: {count}\")\n", + "\n", + "print(f\"There's a total of {len(token_counts)} tokens in this token counting!\")\n", + "print(\"The types of tokens are words and their frequencies.\")\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n" ] } ], "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, "language_info": { - "name": "python" + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.12.1" } }, "nbformat": 4,