영어 사전 자동으로 만들기

pycon 2018에 발표되었던 내용인데 앞으로 만들어보고 싶은 내용과 연계가 되어서 실행해보았다.
다른 세션 듣느라 발표는 직접 듣지 못했지만 발표자 분이 실습자료와 ppt 자료를 잘 만들어주셔서 자료만으로도 충분하게 이해할 수 있었다.

코드

아래 코드는 text 파일을 읽어와서 text 파일 안에 존재하는 단어를 빈도순으로 정렬하고 단어 뜻을 네이버 사전에서 추출하여 영어 사전 파일 형태로 csv 파일로 출력하는 것이다.

fhand = open('./data/thelittleprincess.txt')

counts = {}
for line in fhand:
    words = line.split()
    for word in words:
        if word not in counts:
            counts[word] = 1
        else:
            counts[word] = counts[word] + 1

print(counts)
{'Chapter': 27, 'one': 78, 'Once': 2, 'when': 30, 'I': 342, 'was': 155, 'six': 11, 'saw': 13, 'a': 384, 'magnificent': 3, 'picture': 3, 'in': 123, 'book': 4, 'about': 29, 'the': 741, 'jungle,': 1, 'called': 1, 'True': 1, 'Stories.': 1, 'It': 35, 'showed': 4, 'boa': 11, 'constrictor': 4, 'swallowing': 1, 'wild': 2, 'beast.': 1, 'Here': 2, 'is': 98, 'copy': 1, 'of': 259, 'picture.': 1, 'In': 5, 'it': 70, 'said:': 2, '"Boa': 1, 'constrictors': 2, 'swallow': 1, 'their': 12, 'prey': 1, 'whole,': 1, 'without': 12, 'chewing.': 1, 'Afterward': 1, 'they': 46, 'are': 74, 'no': 49, 'longer': 6, 'able': 5, 'to': 349, 'move,': 1, 'and': 188, 'sleep': 3, 'for': 99, 'months': 1, 'need': 10, 'digestion."': 1, 'those': 18, 'days': 5, 'thought': 8, 'lot': 3, 'jungle': 1, 'adventures,': 1, 'eventually': 2, 'managed': 4, 'make': 21, 'my': 126, 'first': 15, 'drawing,': 5, 'with': 57, 'colored': 1, 'pencil.': 2, 'My': 12, 'drawing': 10, 'Number': 5, 'One': 7, 'looked': 12, 'like': 56, 'this:': 2, 'grown-ups': 4, 'masterpiece,': 1, 'asked': 25, 'them': 23, 'if': 48, 'scared': 3, 'them.': 15, 'They': 17, 'answered,': 6, '"Why': 7, 'should': 12, 'anyone': 5, 'be': 99, 'hat?"': 1, 'not': 53, 'hat.': 1, 'digesting': 1, 'an': 41, 'elephant.': 1, 'Then': 24, 'drew': 4, 'inside': 4, 'constrictor,': 1, 'so': 46, 'could': 20, 'understand.': 3, 'always': 13, 'explanations.': 1, 'Two': 2, 'The': 78, 'advised': 2, 'me': 63, 'put': 17, 'away': 5, 'drawings': 4, 'constrictors,': 2, 'outside': 2, 'or': 28, 'inside,': 1, 'apply': 1, 'myself': 3, 'instead': 4, 'geography,': 2, 'history,': 2, 'arithmetic,': 2, 'grammar.': 1, 'That': 16, 'why': 8, 'gave': 4, 'up,': 3, 'at': 79, 'age': 3, 'six,': 2, 'career': 2, 'as': 64, 'artist.': 1, 'had': 69, 'been': 24, 'discouraged': 2, 'by': 45, 'failure': 1, 'Two.': 1, 'Grown-ups': 3, 'never': 42, 'understand': 16, 'anything': 9, 'themselves,': 1, 'exhausting': 1, 'children': 4, 'have': 87, 'explain': 1, 'over': 16, 'again.': 18, 'So': 21, 'then': 26, 'choose': 1, 'another': 11, 'career.': 1, 'learned': 5, 'pilot': 1, 'airplanes.': 1, 'flown': 1, 'almost': 1, 'everywhere': 1, 'world.': 3, 'And,': 2, 'matter': 3, 'fact,': 2, 'geography': 2, 'has': 17, 'big': 5, 'help': 4, 'me.': 13, 'tell': 14, 'China': 2, 'from': 42, 'Arizona': 1, 'glance,': 1, 'which': 20, 'very': 60, 'useful': 4, 'you': 167, 'get': 17, 'lost': 6, 'during': 3, 'night.': 2, 'met,': 1, 'course': 6, 'life,': 3, 'lots': 2, 'serious': 14, 'people.': 2, 'spent': 3, 'time': 25, 'grownups.': 1, 'seen': 7, 'close': 5, 'range...': 1, "hasn't": 1, 'improved': 1, 'opinion': 1, 'Whenever': 1, 'encountered': 2, 'grown-up': 3, 'who': 36, 'seemed': 10, 'intelligent,': 1, 'would': 37, 'experiment': 1, 'on': 88, 'him': 36, 'One,': 1, 'kept.': 1, 'wanted': 6, 'see': 22, 'he': 194, 'really': 9, 'understood': 2, 'anything.': 5, 'But': 79, 'answer,': 3, '"That\'s': 11, 'hat."': 1, "wouldn't": 2, 'talk': 4, 'jungles': 1, 'stars.': 6, 'his': 94, 'level': 1, 'bridge': 1, 'golf': 1, 'politics': 1, 'neckties.': 1, 'And': 118, 'glad': 6, 'know': 23, 'such': 6, 'reasonable': 3, 'person.': 3, 'two': 13, 'lived': 3, 'all': 64, 'alone,': 2, 'to,': 1, 'until': 4, 'crash': 3, 'landing': 2, 'Sahara': 2, 'Desert': 1, 'years': 9, 'ago.': 2, 'Something': 1, "plane's": 1, 'engine': 1, 'broken.': 1, 'Since': 7, 'neither': 3, 'mechanic': 1, 'nor': 4, 'passengers': 1, 'plane': 2, 'me,': 18, 'preparing': 1, 'undertake': 1, 'difficult': 3, 'repair': 1, 'job': 2, 'myself.': 3, 'For': 19, 'life': 10, 'death:': 1, 'only': 27, 'enough': 6, 'drinking': 3, 'water': 10, 'eight': 3, 'days.': 2, 'night,': 4, 'then,': 7, 'went': 14, 'sand': 5, 'thousand': 13, 'miles': 7, 'any': 17, 'inhabited': 12, 'country.': 1, 'more': 26, 'isolated': 1, 'than': 16, 'man': 13, 'shipwrecked': 1, 'raft': 1, 'middle': 2, 'ocean.': 1, 'can': 32, 'imagine': 3, 'surprise': 2, 'awakened': 2, 'daybreak': 2, 'funny': 5, 'little': 221, 'voice': 4, 'saying,': 1, '"Please..."': 1, 'draw': 7, 'sheep...': 3, '"What?"': 1, '"Draw': 1, 'sheep..."': 3, 'leaped': 1, 'up': 27, 'struck': 1, 'lightning.': 1, 'rubbed': 1, 'eyes': 3, 'hard.': 2, 'stared.': 1, 'extraordinary': 3, 'fellow': 4, 'staring': 2, 'back': 15, 'seriously.': 2, 'best': 3, 'portrait': 1, '1': 2, 'him,': 7, 'later': 3, 'on.': 6, 'much': 19, 'less': 3, 'attractive': 1, 'model.': 1, 'This': 10, 'fault.': 2, 'painter': 1, 'grown-ups,': 2, 'except': 4, 'inside.': 1, 'stared': 4, 'wide-eyed': 1, 'this': 46, 'apparition.': 1, "Don't": 3, 'forget': 6, 'that': 127, 'territory.': 2, 'Yet': 2, 'dying': 2, 'exhaustion,': 1, 'hunger,': 1, 'thirst;': 1, 'did': 11, 'seem': 3, 'death.': 2, 'There': 8, 'nothing': 17, 'appearance': 1, 'suggested': 1, 'child': 2, 'desert': 5, 'When': 20, 'finally': 3, 'speak,': 1, '"But...': 1, 'what': 32, 'doing': 3, 'here?"': 2, 'repeated,': 4, 'slowly': 3, 'seriously,': 2, '"Please...': 2, 'encounter': 1, 'overpowering': 1, 'mystery,': 1, "don't": 28, 'dare': 2, 'disobey.': 1, 'Absurd': 1, 'seemed,': 1, 'regions': 1, 'danger': 3, 'death,': 2, 'took': 10, 'piece': 1, 'paper': 2, 'pen': 1, 'out': 34, 'pocket.': 2, 'remembered': 3, 'mostly': 1, 'studied': 1, 'grammar,': 1, 'told': 18, '(rather': 1, 'crossly)': 1, "didn't": 23, 'how': 16, 'draw.': 1, 'He': 58, 'replied,': 4, '"That': 7, "doesn't": 9, 'matter.': 2, 'Draw': 2, 'sheep."': 3, 'drawn': 3, 'sheep,': 4, 'made': 28, 'knew': 5, '-': 13, 'outside.': 1, 'astounded': 1, 'hear': 8, 'answer:': 2, '"No!': 1, 'No!': 1, 'want': 17, 'elephant': 2, 'constrictor.': 1, 'A': 6, 'dangerous,': 1, 'way.': 7, 'Where': 6, 'live,': 3, 'everything': 3, 'small.': 3, 'sheep.': 4, 'drawing.': 4, 'carefully,': 1, 'said,': 18, '"No.': 1, 'already': 8, 'quite': 23, 'sick.': 1, 'Make': 1, 'another."': 2, 'friend': 5, 'kind,': 1, 'indulgent': 1, 'smile:': 1, '"You': 22, 'yourself...': 1, "that's": 12, "it's": 28, 'ram.': 1, 'horns..."': 1, 'third': 4, 'but': 35, 'rejected,': 1, 'others:': 1, '"This': 5, "one's": 2, 'too': 24, 'old.': 2, 'sheep': 20, 'will': 25, 'live': 4, 'long': 15, 'time."': 1, 'impatiently,': 1, 'since': 13, 'hurry': 3, 'start': 3, 'work': 6, 'engine,': 1, 'scribbled': 1, 'added,': 11, 'just': 34, 'crate.': 2, 'inside."': 1, 'amazed': 3, 'young': 2, "critic's": 1, 'face': 3, 'light': 4, 'up.': 4, 'kind': 4, 'wanted!': 1, 'Do': 2, 'think': 9, 'grass?"': 1, '"Why?"': 2, '"Because': 5, 'where': 21, 'small..."': 1, '"There\'s': 4, 'sure': 7, 'enough.': 2, "I've": 14, 'given': 5, 'small': 5, 'bent': 1, '"Not': 2, 'that..."': 2, 'Look!': 1, "He's": 5, 'gone': 3, 'sleep..."': 2, 'acquaintance': 1, 'prince.': 34, 'three': 14, 'came': 10, 'from.': 1, 'prince,': 32, 'many': 4, 'questions,': 3, 'ones': 1, 'him.': 19, 'things': 8, 'said': 96, 'random': 1, 'that,': 4, 'bit': 1, 'bit,': 1, 'explained': 2, 'everything.': 1, 'instance,': 6, 'caught': 7, 'sight': 6, 'airplane': 1, '(I': 1, "won't": 11, 'airplane;': 1, 'complicated': 2, 'me)': 1, 'asked:': 1, '"What\'s': 5, 'thing': 10, 'there?"': 2, '"It\'s': 27, 'thing.': 1, 'flies.': 1, "It's": 24, 'airplane.': 2, 'airplane."': 1, 'proud': 5, 'fly.': 1, 'exclaimed:': 1, '"What!': 1, 'You': 26, 'fell': 8, 'sky?"': 1, '"Yes,"': 2, 'modestly.': 1, '"Oh!': 1, "That's": 4, 'funny..."': 1, 'prince': 102, 'broke': 2, 'into': 18, 'lovely': 2, 'peal': 1, 'laughter,': 1, 'annoyed': 2, 'good': 20, 'deal.': 1, 'misfortunes': 1, 'taken': 4, '"So': 3, 'sky,': 2, 'too.': 6, 'What': 6, 'planet': 34, 'from?"': 2, 'clue': 1, 'mystery': 1, 'presence,': 1, 'questioned': 1, 'sharply.': 1, '"Do': 5, 'come': 21, 'planet?"': 3, 'answer.': 4, 'shook': 2, 'head': 2, 'little,': 3, 'still': 12, '"Of': 13, 'course,': 8, "couldn't": 16, 'brought': 2, 'far..."': 1, 'reverie': 1, 'lasted': 2, 'while.': 2, 'Then,': 2, 'taking': 3, 'pocket,': 1, 'plunged': 2, 'contemplation': 1, 'treasure.': 2, 'intrigued': 1, 'hint': 1, '"other': 1, 'planets."': 1, 'tried': 2, 'learn': 5, 'more:': 1, '"Where': 6, 'do': 40, 'from,': 1, 'fellow?': 1, "'where": 1, "live'": 1, 'yours?': 1, 'sheep?"': 1, 'After': 2, 'thoughtful': 1, 'silence': 3, '"The': 8, 'crate': 2, "you've": 6, 'use': 5, 'house': 4, 'after': 9, 'dark."': 1, 'course.': 3, "you're": 18, 'good,': 3, "I'll": 23, 'give': 3, 'rope': 1, 'tie': 4, 'day.': 3, 'stake': 1, 'to."': 3, 'proposition': 1, 'shock': 1, '"Tie': 1, 'up?': 2, 'idea!"': 1, '"But': 19, "he'll": 1, 'wander': 1, 'off': 4, 'somewhere': 2, 'lost."': 1, 'burst': 3, 'laughing': 4, 'go?"': 1, '"Anywhere.': 1, 'Straight': 1, 'ahead..."': 1, 'remarked': 2, '"Even': 2, 'did,': 1, "everything's": 1, 'live!"': 2, 'perhaps': 2, 'sadly,': 2, '"Straight': 1, 'ahead,': 1, "can't": 8, 'go': 16, 'far."': 2, 'four': 11, 'second': 4, 'important': 9, 'thing,': 1, 'hardly': 3, 'bigger': 3, 'house!': 1, 'much.': 1, 'well': 6, 'huge': 1, 'planets': 2, 'Earth,': 6, 'Jupiter,': 1, 'Mars,': 1, 'Venus,': 1, 'names,': 1, 'there': 24, 'hundreds': 1, 'others': 1, 'sometimes': 8, 'through': 3, 'telescope.': 1, 'astronomer': 2, 'discovers': 2, 'them,': 12, 'gives': 1, 'number': 2, 'name.': 1, 'call': 2, '"Asteroid': 1, '325."': 1, 'reasons': 1, 'believe': 7, 'Asteroid': 4, 'B-612.': 1, 'asteroid': 2, 'sighted': 1, 'once': 14, 'telescope,': 1, '1909': 1, 'Turkish': 2, 'astronomer,': 1, 'formal': 1, 'demonstration': 2, 'discovery': 1, 'International': 1, 'Astronomical': 1, 'Congress.': 1, 'believed': 3, 'account': 6, 'way': 10, 'dressed.': 1, 'that.': 2, 'Fortunately': 1, 'reputation': 1, 'B-612,': 1, 'dictator': 1, 'ordered': 2, 'people,': 2, 'pain': 1, 'wear': 1, 'European': 1, 'clothes.': 1, 'repeated': 3, '1920,': 1, 'wearing': 1, 'elegant': 1, 'suit.': 2, 'everyone': 3, 'If': 14, 'these': 4, 'details': 2, 'B-612': 1, 'its': 3, 'number,': 1, 'grown-ups.': 5, 'numbers.': 3, 'new': 3, 'friend,': 4, 'ask': 4, 'questions': 2, 'matters.': 1, 'ask:': 2, '"What': 31, 'does': 18, 'sound': 4, 'like?"': 1, 'games': 1, 'best?"': 1, '"Does': 2, 'collect': 1, 'butterflies?"': 1, '"How': 9, 'old': 13, 'he?"': 1, 'brothers': 1, 'have?"': 1, 'weigh?"': 1, 'money': 1, 'father': 1, 'make?"': 1, 'Only': 3, '"I': 54, 'beautiful': 4, 'red': 3, 'brick': 1, 'house,': 2, 'geraniums': 1, 'windows': 1, 'doves': 1, 'roof..."': 1, 'house.': 3, 'worth': 4, 'hundred': 11, 'francs."': 1, 'exclaim,': 1, 'pretty': 1, 'house!"': 1, 'them:': 2, 'proof': 1, "prince's": 9, 'existence': 1, 'delightful,': 1, 'laughed,': 2, 'someone': 6, 'wants': 1, 'proves': 1, 'exists,"': 1, 'shrug': 2, 'shoulders': 1, 'treat': 1, 'child!': 1, 'B-612,"': 1, "they'll": 3, 'convinced,': 1, 'bother': 1, 'questions.': 2, 'are.': 1, 'must': 15, 'hold': 2, 'against': 4, 'Children': 1, 'understanding': 3, 'But,': 2, 'us': 4, 'care': 3, 'numbers!': 1, 'liked': 2, 'begin': 3, 'story': 3, 'fairytale.': 1, 'say:': 1, '"Once': 1, 'upon': 3, 'was,': 4, 'needed': 1, 'friend..."': 1, 'truer.': 1, 'fact': 2, 'is,': 1, 'lightly.': 1, 'Telling': 1, 'memories': 3, 'painful': 1, 'away,': 2, 'try': 2, 'describe': 3, 'here,': 3, 'sad': 4, 'friend.': 5, 'Not': 1, 'might': 7, 'become': 2, 'interested': 1, 'Which': 3, 'reason': 2, 'bought': 1, 'box': 1, 'paints': 1, 'some': 8, 'pencils.': 1, 'hard': 2, 'age,': 1, 'attempts': 1, 'outside,': 1, 'six!': 1, 'certainly': 4, 'portraits': 1, 'true': 4, 'possible.': 1, "I'm": 36, 'entirely': 1, 'succeeding.': 1, 'works,': 1, 'next': 6, 'bears': 1, 'resemblance.': 1, 'height,': 1, 'tall.': 1, 'here': 10, 'short.': 1, 'uncertain': 1, 'color': 4, 'grope': 1, 'direction': 1, 'another,': 1, 'can.': 2, 'end,': 1, 'certain': 3, 'wrong.': 2, "you'll": 15, 'forgive': 1, 'Perhaps': 2, 'himself.': 2, 'I,': 2, 'unfortunately,': 1, 'cannot': 1, 'sides': 1, 'may': 3, 'grown': 3, 'five': 6, 'Every': 1, 'day': 14, "I'd": 4, 'something': 11, 'planet,': 13, 'departure,': 2, 'journey.': 4, 'gradually,': 1, 'remarks.': 1, 'learned,': 1, 'day,': 5, 'drama': 1, 'baobabs.': 2, 'time,': 3, 'too,': 4, 'thank,': 1, 'suddenly': 4, 'question,': 1, 'overcome': 1, 'grave': 1, 'doubt.': 1, '"Isn\'t': 1, 'eat': 7, 'bushes?"': 1, '"Yes,': 5, 'right."': 1, '"Ah!': 6, 'glad."': 1, 'bushes.': 1, 'added:': 1, '"And': 22, 'therefore': 2, 'baobabs,': 4, 'too?"': 3, 'pointed': 2, 'baobabs': 5, 'bushes': 1, 'trees': 1, 'tall': 1, 'churches,': 1, 'even': 17, 'whole': 8, 'herd': 3, 'elephants': 2, 'finish': 1, 'single': 7, 'baobab.': 2, 'idea': 2, 'laugh.': 1, '"We\'d': 1, 'pile': 1, 'top': 2, 'observed': 1, 'perceptively:': 1, '"Before': 1, 'grow': 2, 'big,': 1, 'being': 11, 'little."': 1, '"True': 1, 'enough!': 1, 'your': 34, 'baobabs?"': 2, '"Oh,': 7, 'on!': 1, 'know!"': 2, 'we': 7, 'were': 24, 'talking': 4, 'obvious.': 1, 'forced': 1, 'great': 7, 'mental': 1, 'effort': 2, 'problem': 2, 'plants': 3, 'bad': 6, 'plants.': 1, 'seeds,': 1, 'seeds.': 2, 'seeds': 2, 'invisible.': 1, 'secrecy': 1, 'ground': 1, 'decides': 1, 'wake': 1, 'stretches': 1, 'begins': 1, 'sprout,': 1, 'timidly': 2, 'first,': 2, 'charming,': 1, 'harmless': 1, 'twig': 1, 'reaching': 1, 'toward': 5, 'sun.': 2, 'radish': 1, 'seed,': 2, 'rosebush': 1, 'let': 9, 'sprout': 3, 'likes.': 1, 'seed': 2, 'plant,': 1, 'pull': 2, 'plant': 1, 'right': 4, 'soon': 7, 'recognize': 1, 'it.': 12, 'As': 7, 'happens,': 1, 'terrible': 3, 'planet...': 1, 'baobab': 3, "planet's": 1, 'soil': 1, 'infested': 1, 'Now': 5, 'attend': 1, 'late,': 1, 'rid': 1, 'overgrows': 1, 'planet.': 8, 'Its': 1, 'roots': 1, 'pierce': 1, 'through.': 1, 'small,': 2, 'pieces.': 1, 'question': 6, 'discipline,"': 1, '"When': 2, 'finished': 1, 'washing': 1, 'dressing': 2, 'each': 7, 'morning,': 3, 'tend': 2, 'regularly,': 2, 'apart': 1, 'rosebushes,': 1, 'closely': 1, 'resemble': 1, "they're": 12, 'young.': 1, 'tedious': 1, 'work,': 1, 'easy.': 1, '"': 1, 'edification': 1, 'live.': 1, '"If': 9, 'travel': 3, 'someday,"': 1, '"it': 1, 'Sometimes': 3, "there's": 2, 'harm': 1, 'postponing': 1, 'later.': 1, 'catastrophe.': 1, 'lazy': 3, 'man.': 4, 'neglected': 1, 'bushes..."': 1, 'So,': 1, 'following': 1, 'instructions,': 1, 'assuming': 1, 'tone': 1, 'moralist.': 1, 'recognized,': 1, 'risks': 1, 'run': 2, 'considerable,': 1, 'am': 8, 'making': 4, 'exception': 1, 'habitual': 1, 'reserve.': 1, 'say,': 2, '"Children,': 1, 'watch': 6, 'baobabs!"': 1, 'warn': 1, 'friends': 4, 'they,': 1, 'myself,': 5, 'unaware': 1, 'worked': 2, 'lesson': 1, 'teaching': 1, 'trouble.': 2, 'asking,': 1, 'other': 14, "There's": 5, 'simple': 3, 'manage': 2, 'inspired': 1, 'sense': 2, 'urgency.': 1, 'O': 1, 'Little': 1, 'Prince!': 1, 'Gradually,': 1, 'life.': 2, 'entertainment': 1, 'pleasure': 1, 'sunsets.': 2, 'detail': 1, 'morning': 4, 'fourth': 2, 'me:': 3, "Let's": 2, 'look': 17, 'now..."': 1, 'wait..."': 1, 'for?"': 4, '"For': 6, 'sun': 4, 'set."': 1, 'At': 4, 'surprised,': 1, 'laughed': 9, 'yourself.': 1, 'home!"': 1, 'Indeed.': 1, 'noon': 1, 'United': 1, 'States,': 1, 'sun,': 1, 'knows,': 1, 'setting': 1, 'France.': 1, 'fly': 3, 'France': 2, 'minute,': 2, 'sunset.': 3, 'Unfortunately': 1, 'far.': 2, 'tiny': 3, 'move': 2, 'chair': 1, 'few': 1, 'feet.': 2, 'twilight': 1, 'whenever': 3, 'to...': 1, '"One': 2, 'set': 3, 'forty-four': 2, 'times!"': 1, 'know,': 2, 'feeling': 6, 'sad,': 2, 'sunsets': 4, 'wonderful..."': 1, '"On': 4, 'times,': 1, 'sad?"': 1, 'seven': 6, 'On': 3, 'fifth': 2, 'thanks': 1, 'again': 4, 'secret': 2, 'revealed': 1, 'Abruptly,': 1, 'preamble,': 1, 'fruit': 1, 'pondered': 1, 'silence:': 1, 'eats': 3, 'bushes,': 1, 'flowers,': 2, '"A': 6, 'whatever': 4, 'finds."': 1, 'flowers': 5, 'thorns?"': 3, '"Yes.': 2, 'Even': 1, 'thorns."': 1, '"Then': 10, 'know.': 4, 'moment': 2, 'busy': 4, 'trying': 2, 'unscrew': 1, 'bolt': 2, 'jammed': 2, 'engine.': 3, 'worried,': 1, 'beginning': 3, 'extremely': 4, 'serious,': 2, 'lack': 1, 'fear': 2, 'worst.': 1, 'bolt,': 2, 'answered': 10, 'thinking.': 1, '"Thorns': 1, "flowers'": 1, 'mean!"': 1, '"Oh!"': 2, 'silence,': 5, 'lashed': 1, 'sort': 3, 'bitterness.': 1, 'you!': 1, 'Flowers': 2, 'weak.': 1, "They're": 2, 'naive.': 2, 'reassure': 1, 'themselves': 2, 'thorns': 3, 'frightening..."': 1, 'thinking,': 1, 'stays': 1, 'jammed,': 1, 'knock': 1, 'hammer."': 1, 'Again': 1, 'disturbed': 1, 'reflections.': 1, 'flowers..."': 1, '"No,': 5, 'all.': 5, 'anything!': 1, 'head.': 3, 'serious!"': 2, 'astounded.': 2, '"Something': 1, 'holding': 3, 'hammer,': 2, 'fingers': 1, 'black': 1, 'grease,': 1, 'bending': 1, 'object': 1, 'regarded': 1, 'ugly.': 1, 'grown-ups!"': 1, 'ashamed.': 1, 'mercilessly:': 1, 'confuse': 1, 'everything..."': 1, "You've": 1, 'got': 4, 'mixed': 1, 'up!"': 1, 'annoyed.': 2, 'tossed': 1, 'golden': 4, 'curls': 1, 'wind.': 1, 'red-faced': 1, 'gentleman.': 1, 'smelled': 1, 'flower.': 10, 'star.': 1, 'loved': 2, 'anyone.': 3, 'done': 1, 'add': 1, 'says': 1, 'over,': 1, 'you,': 7, "'I'm": 1, 'man!': 1, "man!'": 1, 'puffs': 1, 'pride.': 1, "he's": 11, 'mushroom!"': 2, '"He\'s': 2, 'what?"': 6, 'now': 6, 'pale': 2, 'rage.': 1, 'millions': 4, 'producing': 1, 'thorns.': 2, 'eating': 1, 'same.': 3, 'trouble': 1, 'produce': 1, 'nothing?': 1, 'important,': 2, 'war': 1, 'between': 2, 'flowers?': 1, 'numbers': 1, 'fat': 1, 'gentleman': 4, 'adding': 1, '"Suppose': 1, 'happen': 3, 'unique': 1, 'flower,': 5, 'exists': 2, 'nowhere': 1, 'world': 4, 'wipe': 1, 'bite': 3, 'realizing': 1, "isn't": 8, 'important?"': 2, 'His': 3, 'turned': 2, 'now,': 3, 'loves': 1, 'flower': 24, 'example': 1, 'among': 1, 'stars,': 8, 'happy': 2, 'looks': 1, 'tells': 1, 'himself,': 10, "'My": 1, "flower's": 1, "somewhere...'": 1, 'if,': 1, 'suddenly,': 1, 'stars': 17, 'out.': 3, 'say': 6, 'word.': 1, 'All': 11, 'sudden': 1, 'sobbing.': 1, 'Night': 1, 'fallen.': 1, 'dropped': 1, 'tools.': 1, 'thirst': 1, 'death?': 1, 'star,': 2, 'mine,': 1, 'consoled!': 1, 'arms.': 2, 'rocked': 1, "''The": 1, 'love': 9, 'danger...': 1, 'muzzle': 3, 'fence': 1, 'flower...': 4, 'I..."': 2, 'say.': 2, 'How': 2, 'clumsy': 1, 'felt!': 1, 'reach': 1, 'find': 12, 'him...': 1, 'mysterious,': 1, 'land': 2, 'tears.': 1, 'better.': 1, 'decorated': 1, 'row': 1, 'petals': 3, 'room': 4, 'appear': 2, 'grass,': 1, 'fade': 1, 'nightfall.': 1, 'knows': 4, 'where,': 2, 'kept': 1, 'others.': 3, 'stopped': 2, 'growing': 3, 'began': 3, 'show': 3, 'signs': 1, 'blossoming.': 1, 'watched': 3, 'development': 1, 'enormous': 2, 'bud,': 1, 'realized': 7, 'miraculous': 1, 'apparition': 1, 'emerge': 2, 'it,': 2, 'continued': 9, 'her': 20, 'beauty': 1, 'preparations': 1, 'shelter': 1, 'green': 1, 'chamber,': 1, 'selecting': 1, 'colors': 1, 'greatest': 1, 'deliberately,': 1, 'adjusting': 1, 'one.': 3, 'She': 9, 'desire': 2, 'rumpled,': 1, 'poppies.': 1, 'wished': 1, 'full': 2, 'radiance': 3, 'beauty.': 1, 'Oh': 1, 'yes,': 2, 'she': 22, 'vain!': 1, 'mysterious': 2, 'adornment': 1, 'precisely': 1, 'sunrise,': 1, 'herself.': 1, 'having': 11, 'labored': 1, 'painstakingly,': 1, 'yawned': 1, 'awake...': 1, 'Forgive': 1, 'me...': 1, 'untidy..."': 1, 'contain': 1, 'admiration.': 1, 'are!"': 1, '"Aren\'t': 1, 'I?"': 1, 'sweetly.': 2, 'born': 2, 'same': 12, 'sun..."': 1, "wasn't": 5, 'modest,': 1, 'dazzling!': 1, 'breakfast': 1, 'time,"': 3, 'added.': 2, '"Would': 1, 'me?"': 3, 'utterly': 1, 'abashed,': 1, 'watering': 1, 'can,': 1, 'served': 1, 'begun': 1, 'tormenting': 1, 'rather': 3, 'touchy': 1, 'vanity.': 1, 'alluding': 1, 'thorns,': 2, '"I\'m': 20, 'ready': 1, 'tigers,': 2, 'claws!"': 1, '"There': 1, 'tigers': 2, 'planet,"': 1, 'objected,': 1, '"and': 3, 'besides,': 3, 'weeds."': 1, 'weed,"': 1, 'sweetly': 1, 'replied."': 1, '"Forgive': 1, 'me..."': 3, 'afraid': 2, 'horror': 2, 'drafts.': 1, 'screen?"': 2, 'drafts..."': 1, 'sign,': 1, 'plant,"': 1, 'observed.': 1, 'is..."': 1, '"After': 1, 'dark': 1, 'under': 6, 'glass.': 2, 'cold': 2, 'uncomfortable.': 1, 'from-"': 1, 'off.': 1, 'seed.': 1, 'known': 3, 'worlds.': 1, 'Humiliated': 1, 'herself': 4, 'verge': 1, 'naive': 1, 'lie,': 1, 'coughed': 1, 'times': 2, 'order': 8, 'going': 7, 'one,': 3, 'speaking': 2, 'me!"': 4, 'cough': 2, 'again,': 4, 'inflict': 1, 'twinge': 1, 'remorse': 1, 'despite': 1, 'goodwill': 1, 'love,': 1, 'mistrust': 1, 'her.': 2, 'seriously': 1, 'inconsequential': 1, 'remarks': 1, 'unhappy.': 2, "shouldn't": 1, 'listened': 3, 'her,"': 1, 'confided': 2, 'listen': 1, 'flowers.': 1, 'smell': 1, 'Mine': 1, 'perfumed': 2, 'enjoy': 2, 'business': 1, 'tiger': 1, 'claws,': 1, 'annoying': 1, 'ought': 2, 'moved': 1, 'further,': 1, '"In': 1, 'days,': 3, 'judged': 1, 'according': 2, 'actions,': 1, 'words.': 1, 'lit': 10, 'away!': 2, 'tenderness': 2, 'underlying': 1, 'silly': 2, 'pretensions.': 1, 'contradictory!': 1, 'her."': 1, 'nine': 2, 'escape,': 1, 'advantage': 1, 'migration': 1, 'birds.': 1, 'order.': 1, 'carefully': 2, 'raked': 3, 'active': 4, 'volcanoes.': 2, 'possessed': 2, 'volcanoes,': 6, 'convenient': 1, 'warming,': 1, 'breakfast.': 1, 'also': 7, 'extinct': 6, 'volcano.': 1, 'volcano,': 1, 'properly': 1, 'out,': 1, 'volcanoes': 3, 'burn': 1, 'gently': 1, 'eruptions.': 1, 'Volcanic': 1, 'eruptions': 1, 'fires': 1, 'chimney.': 1, 'Of': 4, 'our': 4, 'Earth': 4, 'rake': 3, 'uprooted,': 1, 'sadly': 1, 'last': 7, 'shoots.': 1, 'coming': 3, 'back.': 2, 'familiar': 1, 'tasks': 1, 'sweet': 2, 'morning.': 2, 'watered': 1, 'glass,': 3, 'felt': 5, 'crying.': 2, '"Good-bye,"': 6, 'answer': 5, 'repeated.': 1, 'coughed.': 1, 'because': 13, 'cold.': 1, '"I\'ve': 2, 'silly,"': 1, 'last.': 3, 'forgiveness.': 1, 'Try': 2, 'happy."': 1, 'surprised': 3, 'reproaches.': 1, 'stood': 2, 'there,': 4, 'bewildered,': 1, 'glass': 2, 'bell': 1, 'midair.': 1, 'failed': 1, 'calm': 1, 'sweetness.': 1, 'you,"': 4, '"It': 6, 'fault': 1, 'knew.': 1, 'was.': 2, 'happy...': 1, 'Put': 1, 'down.': 2, 'anymore."': 1, 'wind..."': 1, '"My': 4, 'bad..."': 1, 'night': 6, 'air': 2, 'good.': 2, 'flower."': 2, 'animals..."': 1, 'caterpillars': 2, 'butterflies.': 1, 'Apparently': 1, 'beautiful.': 1, 'Otherwise': 1, 'visit': 4, 'me?': 1, "You'll": 9, 'far': 3, 'away.': 4, 'animals,': 1, 'own': 15, 'claws."': 1, 'naively': 1, '"Don\'t': 2, 'hang': 1, 'around': 10, 'this;': 1, 'irritating.': 1, 'mind': 1, 'leave.': 3, 'go."': 1, 'ten': 2, 'happened': 3, 'vicinity': 1, 'Asteroids': 1, '325,': 1, '326,': 1, '327,': 1, '328,': 1, '329,': 1, '330.': 1, 'visiting': 1, 'keep': 2, 'himself': 8, 'something.': 1, 'king.': 4, 'Wearing': 1, 'purple': 1, 'ermine,': 1, 'sitting': 3, 'yet': 8, 'majestic': 1, 'throne.': 1, "Here's": 1, 'subject!"': 1, 'king': 18, 'exclaimed': 3, 'wondered,': 1, 'before?"': 1, 'realize': 2, 'kings,': 1, 'simplified:': 1, 'men': 3, 'subjects.': 1, '"Approach': 1, 'throne': 1, 'better': 3, 'king,': 5, 'place': 4, 'sit': 6, 'down,': 2, 'covered': 1, 'ermine': 2, 'cloak.': 1, 'remained': 2, 'standing,': 1, 'tired,': 1, 'yawned.': 2, 'violation': 1, 'etiquette': 1, 'yawn': 4, "king's": 2, 'presence,"': 1, 'monarch': 2, 'forbid': 1, 'so"': 1, 'it,"': 2, 'embarrassed.': 1, 'journey,': 2, "haven't": 9, 'command': 10, 'yawn,"': 1, 'years.': 1, 'yawns': 1, 'curiosity.': 1, 'Come': 3, 'on,': 2, 'again!': 1, 'order."': 1, 'intimidates': 1, 'me...I': 1, 'now,"': 1, 'blushing': 1, 'deeply.': 1, '"Well,': 4, 'well!"': 3, 'replied.': 4, 'to..."': 1, 'sputtering': 1, 'insisted': 3, 'authority': 1, 'universally': 1, 'respected.': 1, 'tolerate': 2, 'disobedience,': 1, 'absolute': 2, 'monarch.': 2, 'kindly': 1, 'man,': 3, 'commands': 1, 'reasonable.': 1, 'command,"': 1, 'often': 3, '"if': 3, 'general': 5, 'turn': 6, 'seagull,': 2, 'obey,': 1, "general's": 1, 'mine."': 1, '"May': 1, 'down?"': 1, 'inquired.': 1, 'down,"': 1, 'majestically': 1, 'gathering': 1, 'fold': 1, 'robe.': 1, 'wondering.': 1, 'tiny.': 1, 'Over': 1, 'reign?': 1, '"Sire..."': 2, 'ventured,': 1, '"excuse': 1, 'asking..."': 1, 'ask,"': 1, 'hastened': 1, 'reign?"': 1, '"Over': 4, 'everything,"': 1, 'simplicity.': 1, 'everything?"': 1, 'With': 1, 'discreet': 1, 'gesture': 1, 'planets,': 1, 'that?"': 4, 'answered.': 11, 'monarch,': 1, 'universal': 1, 'well.': 3, 'obey': 2, 'you?"': 5, 'course,"': 4, '"They': 5, 'immediately.': 1, 'insubordination."': 1, 'Such': 1, 'power': 1, 'wielded': 1, 'forty-': 1, 'seventy-two,': 1, 'hundred,': 1, 'ever': 7, 'chair!': 1, 'remembering': 1, 'forsaken,': 1, 'ventured': 1, 'favor': 1, 'king:': 1, '"I\'d': 3, 'sunset...': 1, 'favor,': 1, 'majesty...': 1, 'Command': 1, 'set..."': 1, 'commanded': 1, 'butterfly,': 1, 'write': 4, 'tragedy,': 1, 'carry': 2, 'command,': 1, 'wrong,': 1, 'be,"': 1, 'firmly.': 1, '"Exactly.': 1, 'perform,"': 1, '"Authority': 1, 'based': 1, 'reason.': 1, 'subjects': 1, 'jump': 1, 'ocean,': 1, 'revolution.': 1, 'entitled': 1, 'obedience': 1, 'orders': 4, 'reasonable."': 1, 'sunset?"': 1, 'shall': 6, 'wait,': 1, 'science': 1, 'government,': 1, 'conditions': 2, 'favorable."': 1, 'be?"': 1, 'inquired': 4, 'replied': 3, 'consulting': 1, 'large': 3, 'calendar.': 1, 'well!': 1, 'around...around...': 1, 'tonight': 1, 'seven-forty!': 1, 'obeyed."': 1, 'regretting': 1, 'bored.': 2, 'further': 2, 'here,"': 3, 'way!"': 1, 'leave!"': 1, 'subject.': 1, 'leave;': 1, 'minister!"': 1, 'minister': 1, '"Of...': 1, 'justice."': 1, 'judge!"': 1, 'know."': 2, 'explored': 1, 'realm.': 1, 'old,': 1, 'carriage,': 1, 'wearies': 1, 'walk."': 1, 'myself,"': 2, 'leaning': 1, 'forward': 1, 'glance': 1, 'side': 1, 'either..."': 1, 'pass': 2, 'judgment': 1, 'yourself,"': 1, 'hardest': 1, 'harder': 1, 'judge': 4, 'yourself': 2, 'succeed': 1, 'judging': 1, 'yourself,': 2, 'truly': 2, 'wise': 1, 'man."': 1, 'anywhere,"': 1, 'here."': 2, 'said.': 41, 'rat': 1, 'living': 2, 'rat.': 1, 'From': 1, 'condemn': 1, 'depend': 1, 'justice.': 1, 'pardon': 1, "economy's": 1, 'sake.': 1, 'rat."': 1, 'condemning': 1, 'death,"': 1, 'way."': 2, '"No,"': 2, 'completed': 1, 'preparations,': 1, 'aggrieve': 1, 'Your': 2, 'Majesty': 1, 'desires': 1, 'promptly': 1, 'obeyed,': 1, 'command.': 1, 'leave': 5, 'before': 4, 'minute': 2, 'seems': 2, 'favorable..."': 1, 'hesitated': 2, 'sigh,': 1, 'ambassador,"': 1, 'hastily': 1, 'shouted': 1, 'authority.': 1, '"Grown-ups': 4, 'strange,"': 4, 'eleven': 4, 'vain': 10, 'admirer!"': 1, 'distance.': 2, 'To': 3, 'men,': 1, 'people': 9, 'admirers.': 1, '"Hello,"': 3, 'hat': 4, 'wearing."': 1, 'answering': 1, 'acclamations,"': 1, '"Unfortunately,': 1, 'comes': 4, '"Is': 2, 'so?"': 1, 'about.': 2, '"Clap': 1, 'hands,"': 1, 'directed': 1, 'clapped': 1, 'hands,': 1, 'tipped': 1, 'modest': 1, 'acknowledgment.': 2, 'entertaining': 1, 'king,"': 1, 'clapping.': 1, 'tipping': 1, 'minutes': 3, 'exercise,': 1, 'tired': 1, "game's": 1, 'monotony.': 1, 'fall': 2, 'off?"': 1, 'asked.': 5, 'Vain': 1, 'praise.': 1, 'admire': 3, 'deal?"': 1, 'mean': 3, '-admire?"': 1, '"To': 7, 'means': 3, 'acknowledge': 1, 'handsomest,': 1, 'best-dressed,': 1, 'richest,': 1, 'most': 3, 'intelligent': 1, 'planet."': 1, 'planet!"': 2, 'favor.': 1, 'Admire': 1, 'same."': 1, 'shoulders,': 1, '"but': 4, 'admiration': 1, 'interests': 1, 'much?"': 1, 'twelve': 2, 'drunkard.': 3, 'brief': 1, 'deep': 1, 'depression.': 1, 'drunkard,': 5, 'whom': 3, 'found': 5, 'sunk': 1, 'collection': 2, 'empty': 1, 'bottles': 1, 'ones.': 1, '"Drinking,"': 1, 'gloomy': 1, 'expression.': 1, 'drinking?"': 1, 'forget,"': 1, 'sorry': 2, 'ashamed,"': 1, 'confessed': 1, 'hanging': 1, 'ashamed': 1, 'of?"': 1, 'help.': 1, 'drinking!"': 1, 'concluded': 1, 'withdrawing': 1, 'way,': 4, 'puzzled.': 1, 'very,': 1, 'thirteen': 1, 'belonged': 1, 'businessman.': 2, 'person': 2, 'raise': 2, 'arrived.': 1, '"Your': 6, "cigarette's": 1, 'out."': 1, '"Three': 1, 'five.': 1, 'Five': 2, 'seven,': 2, 'twelve.': 1, 'Twelve': 1, 'three,': 1, 'fifteen.': 1, 'Hello.': 1, 'Fifteen': 1, 'twenty-two.': 1, 'Twenty-two': 1, 'twenty-eight.': 1, 'No': 1, 'Twenty-six': 1, 'five,': 2, 'thirty-one.': 2, 'Whew!': 1, 'amounts': 1, 'five-hundred-and-one': 1, 'million,': 2, 'hundred-twenty-two': 1, 'thousand,': 4, 'thirty-one."': 1, '"Five-hundred': 1, 'million': 8, '"Hmm?': 1, "You're": 7, 'there?': 2, 'Five-hundred-and-one': 1, 'million...': 1, 'remember...': 2, 'do!': 1, 'bothered': 1, 'trifles!': 1, 'seven..."': 1, '"Five-hundred-and-one': 2, 'businessman': 5, 'raised': 2, 'fifty-four': 1, 'interrupted': 3, 'times.': 1, 'twenty-two': 2, 'ago,': 3, 'beetle': 1, 'fallen': 1, 'onto': 2, 'desk': 1, 'god': 1, 'where.': 1, 'noise,': 2, 'mistakes': 1, 'calculations.': 1, 'fit': 2, 'rheumatism.': 1, 'exercise.': 1, 'take': 9, 'strolls.': 1, 'time...': 1, 'now!': 1, 'I?': 1, 'hundred-and-one': 1, 'million..."': 1, '"Million': 1, 'hope': 1, 'left': 3, 'peace.': 1, 'sky."': 1, '"Flies?"': 1, 'shiny': 1, 'things."': 3, '"Bees?"': 1, 'daydream.': 1, 'Now,': 1, 'daydreaming."': 1, 'stars?"': 5, 'Stars."': 1, 'five-hundred': 4, 'six-hundred-': 1, 'person,': 1, 'accurate."': 1, 'them?"': 2, '"Yes."': 3, '"Nothing.': 1, 'them."': 3, '-"': 2, '"Kings': 1, 'own.': 1, "'reign'": 1, 'over...': 1, 'different."': 1, 'owning': 2, 'rich."': 1, 'rich?"': 1, 'lets': 1, 'buy': 3, 'somebody': 1, 'argues': 1, 'drunkard."': 1, 'Nevertheless': 1, 'belong?"': 1, 'retorted': 1, 'grumpily.': 1, 'nobody."': 1, 'belong': 1, 'first."': 1, 'takes?"': 1, 'diamond': 1, 'belongs': 2, 'nobody': 3, 'particular,': 2, 'yours.': 3, 'island': 1, 'idea,': 1, 'patent': 1, 'enough,"': 1, 'count': 2, 'again,"': 1, 'work.': 1, 'person!"': 1, 'satisfied.': 1, 'scarf,': 1, 'neck': 1, 'pick': 2, 'stars!"': 1, 'bank."': 1, 'mean?"': 9, 'slip': 2, 'paper.': 1, 'lock': 1, 'drawer."': 1, 'all?"': 1, 'enough!"': 1, 'amusing,"': 1, 'poetic.': 1, 'serious."': 1, 'different': 3, 'ideas': 1, 'continued,': 2, '"which': 1, 'every': 4, 'week.': 1, 'stars."': 1, 'opened': 2, 'mouth': 1, 'reply,': 1, 'extraordinary,"': 1, 'fourteen': 1, 'strange.': 1, 'smallest': 2, 'street': 6, 'lamp': 8, 'lamplighter.': 3, 'lamplighter': 9, 'However,': 2, 'possible': 2, 'absurd,': 1, 'absurd': 2, 'businessman,': 2, 'least': 1, 'meaning.': 1, 'lights': 1, 'lamp,': 3, 'bringing': 1, 'star': 5, 'puts': 2, 'sends': 1, 'sleep.': 2, 'fine': 1, 'occupation.': 1, 'useful."': 1, 'reached': 3, 'greeted': 1, 'respectfully.': 1, '"Good': 14, 'Why': 2, 'lamp?"': 1, '"Orders,"': 1, 'morning."': 3, 'those?"': 1, 'lamp.': 4, 'Good': 4, 'evening."': 2, 'again?"': 1, '"Orders."': 1, 'understand,"': 3, '"Orders': 2, 'orders.': 2, 'wiped': 1, 'forehead': 1, 'red-checked': 1, 'handkerchief.': 1, 'have.': 1, 'used': 4, 'mornings': 1, 'dark.': 1, 'rest': 4, 'affairs,': 1, 'sleeping."': 1, 'changed?"': 1, 'changed,"': 1, 'trouble!': 1, 'Year': 1, 'year': 1, 'turning': 1, 'faster': 1, 'faster,': 1, 'changed!"': 1, '"Which': 2, 'means?"': 1, 'revolves': 1, "instant's": 1, 'rest.': 2, 'minute!"': 1, 'funny!': 1, 'long!"': 2, 'all,"': 2, 'month."': 1, 'month?"': 1, 'Thirty': 2, 'minutes.': 1, 'days!': 1, 'fonder': 2, 'faithful': 2, 'follow': 2, 'merely': 3, 'shifting': 1, 'chair.': 1, 'know...': 3, 'rest,"': 1, 'time.': 5, 'walk': 5, 'strides.': 1, 'slowly,': 1, 'walk...': 1, '"when': 1, 'sleep?"': 1, 'luck,"': 1, 'am,"': 1, '"Now': 3, 'man,"': 1, '"that': 1, 'despised': 1, 'others,': 2, 'strike': 1, 'ridiculous.': 1, 'thinking': 2, 'beside': 2, 'himself."': 1, 'heaved': 1, 'sigh': 1, 'regret': 1, 'two..."': 1, 'dared': 1, 'admit': 1, 'regretted': 1, 'leaving': 2, 'blessed': 1, 'forty': 1, 'twenty-four': 1, 'hours!': 1, 'fifteen': 1, 'sixth': 1, 'wrote': 1, 'books.': 2, '"Ah,': 3, 'explorer,"': 1, 'winded': 1, 'sat': 6, 'down': 13, 'desk.': 1, 'traveled': 1, 'far!': 1, 'book?"': 1, 'it?"': 3, 'geographer,"': 1, "what's": 1, 'geographer?"': 1, 'scholar': 1, 'seas': 1, 'are,': 1, 'rivers,': 2, 'cities,': 2, 'mountains,': 2, 'deserts."': 1, 'interesting,"': 1, '"Here': 2, 'real': 1, 'profession!"': 1, 'gazed': 4, "geographer's": 1, 'majestic.': 1, 'beautiful,"': 3, 'oceans?"': 1, 'say,"': 2, 'geographer.': 4, '"Oh,"': 1, 'disappointed.': 1, 'mountains?"': 1, 'cities': 1, 'rivers': 1, 'deserts?"': 1, 'either,"': 1, 'geographer': 9, 'geographer!"': 1, 'right,"': 3, 'geographer,': 3, 'explorer.': 1, 'explorer': 4, 'seas,': 1, 'oceans,': 1, 'deserts.': 1, 'wandering': 1, 'leaves': 1, 'study.': 1, 'receives': 1, 'explorers': 2, 'there.': 2, 'writes': 1, 'remember.': 4, 'interesting': 2, 'conducts': 1, 'inquiry': 1, "explorer's": 2, 'moral': 2, 'character."': 1, 'lies': 1, 'cause': 1, 'disasters': 1, 'drank': 1, 'much."': 1, 'drunkards': 1, 'double.': 1, 'mountains': 2, 'one."': 1, 'someone,"': 1, '"who': 1, 'explorer."': 1, '"Possibly.': 1, 'Well,': 1, 'character': 1, 'investigation': 1, 'discovery."': 1, '"By': 1, 'complicated.': 1, 'required': 2, 'furnish': 1, 'proofs.': 1, 'claims': 1, 'discovered': 2, 'mountain,': 1, 'bring': 1, 'stones': 2, 'it."': 1, 'grew': 2, 'excited.': 1, 'explorer!': 1, 'logbook,': 1, 'sharpened': 1, "Explorers'": 1, 'reports': 1, 'recorded': 1, 'pencil;': 1, 'ink': 1, 'proofs': 1, 'furnished.': 1, '"Well?"': 1, 'expectantly.': 1, 'live,"': 2, '"is': 2, 'interesting.': 2, 'extinct.': 2, 'know,"': 1, '"1': 1, '"We': 1, 'record': 1, 'flowers,"': 1, 'not?': 1, 'prettiest': 1, 'thing!"': 1, 'ephemeral."': 1, 'ephemeral': 3, '"Geographies,\'\'': 1, '"are': 1, 'finest': 1, 'books': 1, 'fashion.': 1, 'rare': 2, 'mountain': 2, 'change': 1, 'position.': 1, 'ocean': 1, 'drained': 1, 'water.': 5, 'We': 1, 'eternal': 1, 'life,"': 1, 'interrupted.': 1, '"Whether': 1, 'us,"': 1, 'counts': 1, 'mountain.': 2, 'change."': 1, "''It": 1, 'means,': 2, "'which": 1, 'threatened': 2, 'imminent': 2, 'disappearance.\'"': 1, 'disappearance?"': 1, 'course."': 2, 'ephemeral,"': 1, 'defend': 2, 'world!': 1, 'alone': 1, 'impulse': 1, 'regret.': 1, 'plucked': 1, 'courage': 1, 'advise': 2, 'visit?"': 1, 'Earth,"': 2, 'reputation."': 1, 'sixteen': 1, 'seventh': 1, 'Earth.': 3, 'planet!': 1, 'contains': 1, 'kings': 1, '(including,': 1, 'African': 1, 'kings),': 1, 'geographers,': 1, 'businessmen,': 1, 'seven-and-a-half': 1, 'drunkards,': 1, 'three-hundred-eleven': 1, 'men;': 1, 'words,': 1, 'billion': 2, 'notion': 1, "Earth's": 1, 'dimensions,': 1, 'invention': 1, 'electricity,': 1, 'necessary': 1, 'maintain,': 1, 'continents,': 1, 'veritable': 1, 'army': 2, 'four-hundred-sixty-two': 1, 'lamplighters.': 1, 'Seen': 1, 'distance,': 1, 'splendid': 1, 'effect.': 1, 'movements': 1, 'ballet.': 1, 'First': 1, 'lamplighters': 4, 'New': 1, 'Zealand': 1, 'Australia;': 1, 'these,': 1, 'lamps,': 1, 'home': 1, 'Next': 1, 'Siberia': 1, 'perform': 1, 'steps': 1, "lamplighters'": 1, 'ballet,': 1, 'vanish': 1, 'wings.': 1, 'Russia': 1, 'India.': 1, 'Africa': 2, 'Europe.': 1, 'South': 2, 'America,': 1, 'North': 2, 'America.': 1, 'missed': 1, 'cues': 1, 'appearances': 1, 'onstage.': 1, 'awe': 1, 'inspiring.': 1, 'Pole': 2, 'colleague': 1, 'led': 1, 'carefree,': 1, 'idle': 1, 'lives:': 1, 'twice': 1, 'year.': 2, 'seventeen': 1, 'Trying': 1, 'witty': 1, 'leads': 1, 'lying,': 1, 'less.': 1, 'completely': 1, 'true,': 1, 'risk': 2, 'giving': 1, 'false': 1, 'Men': 1, 'occupy': 1, 'space': 1, 'inhabitants': 1, 'globe': 1, 'stand': 2, 'together,': 2, 'public': 1, 'event,': 1, 'easily': 1, 'city': 1, 'block': 1, 'twenty': 10, 'wide.': 1, 'crowd': 1, 'humanity': 1, 'Pacific': 1, 'islet.': 1, 'Grown-ups,': 1, 'you.': 7, 'convinced': 1, 'room.': 1, 'consider': 1, 'calculations': 1, 'numbers,': 1, 'waste': 1, 'extra': 1, 'task.': 1, 'unnecessary.': 1, 'Trust': 1, 'wrong': 2, 'moon-colored': 1, 'loop': 1, 'uncoiled': 1, 'sand.': 4, 'evening,"': 2, 'Said,': 1, 'case.': 2, 'snake.': 7, 'landed': 2, "on?''": 1, 'Africa,"': 1, 'snake': 8, '"Ah!...': 1, 'Earth?"': 2, 'here.': 2, 'desert.': 5, 'big,"': 1, 'rock': 1, 'sky.': 4, 'wonder,"': 1, 'own,': 2, 'someday.': 1, 'Look': 3, 'overhead.': 1, 'away!"': 1, 'lovely,"': 1, 'difficulties': 1, 'flower,"': 1, '"Ah!"': 3, 'both': 2, 'silent.': 2, 'people?"': 2, 'resumed': 1, 'conversation.': 1, 'lonely': 2, 'desert..."': 1, 'people,"': 2, '"You\'re': 6, 'creature,"': 1, 'last,': 1, '"no': 1, 'thicker': 1, 'finger."': 1, 'powerful': 1, 'finger,"': 1, 'smiled.': 1, 'powerful..."': 1, 'ship,"': 1, 'coiled': 2, 'ankle,': 1, 'bracelet.': 1, '"Anyone': 2, 'touch,': 1, 'send': 3, 'came,"': 1, 'innocent,': 1, 'star..."': 2, 'reply.': 1, 'feel': 5, 'weak': 1, 'granite': 1, 'earth,"': 1, 'someday,': 2, 'homesick': 1, 'can-"': 1, 'mean,"': 1, 'speak': 1, 'riddles?"': 1, 'solve': 1, 'eighten': 1, 'crossed': 1, 'consequence...': 1, 'morning,"': 10, 'politely.': 1, 'caravan': 1, 'passing.': 1, '"People?': 1, 'believe,': 1, 'existence.': 1, 'wind': 4, 'blows': 1, 'roots,': 1, 'hampers': 1, 'deal."': 1, 'nineteen': 1, 'climbed': 1, 'high': 2, 'knee.': 1, 'volcano': 1, 'footstool.': 1, '"From': 1, 'one,"': 1, '"I\'ll': 2, 'view': 1, 'it..."': 1, 'rocky': 1, 'peaks': 1, 'sharp': 2, 'needles.': 1, '"Hello..."': 1, 'hello..."': 2, 'echo': 3, '"Who': 4, 'you...': 2, 'you..."': 4, '"Let\'s': 1, 'friends.': 4, 'lonely,"': 1, 'lonely...': 2, 'lonely..."': 1, 'peculiar': 1, 'thought.': 3, 'dry': 1, 'imagination.': 1, 'repeat': 1, 'flower:': 1, 'spoke': 2, 'first..."': 1, 'walked': 2, 'rocks': 1, 'snow,': 1, 'road.': 1, 'roads': 1, 'blossoming': 1, 'rose': 6, 'garden.': 1, 'roses.': 1, 'asked,': 1, '"We\'re': 1, 'roses,"': 1, 'roses': 5, 'universe.': 1, 'alike,': 3, 'garden!': 1, '"She': 1, 'annoyed,"': 1, 'this..."She': 1, 'terribly': 1, 'pretend': 2, 'dying,': 1, 'avoid': 1, 'at.': 1, 'nursing': 1, 'her;': 1, 'otherwise,': 1, "she'd": 1, 'die': 3, 'humiliate': 1, 'me."': 1, 'rich': 1, 'ordinary': 2, 'rose.': 2, 'knee,': 1, 'permanently': 1, 'prince..."': 1, 'lay': 1, 'grass': 1, 'wept.': 1, 'fox': 22, 'appeared.': 1, 'fox.': 8, 'politely,': 1, 'though': 1, 'nothing.': 7, '"under': 1, 'apple': 1, 'tree."': 1, 'pretty..."': 1, 'fox,"': 1, '"Come': 1, 'play': 2, 'me,"': 2, 'proposed.': 1, 'sad."': 1, 'tamed."': 1, 'Excuse': 1, 'reflection': 1, 'tamed': 8, 'looking': 15, '"People,"': 1, 'fox,': 1, '"have': 1, 'guns': 1, 'hunt.': 1, 'troublesome.': 1, 'chickens.': 1, 'Are': 1, 'chickens?"': 2, 'neglected.': 1, 'create': 2, 'ties..."': 1, 'ties?"': 1, 'boy': 3, 'boys.': 1, 'either.': 1, 'foxes.': 1, 'tame': 5, "we'll": 1, 'other.': 1, "she's": 8, '"Possibly."': 1, 'sees': 2, 'kinds': 1, 'intrigued.': 1, '"Are': 3, 'hunters': 2, '"No."': 2, '"Nothing\'s': 1, 'perfect,"': 1, 'sighed': 1, 'returned': 1, 'idea.': 1, 'monotonous.': 1, 'hunt': 2, 'chickens;': 1, 'chickens': 1, 'alike.': 1, 'filled': 1, 'sunshine.': 1, 'footsteps': 2, 'Other': 1, 'underground.': 1, 'Yours': 1, 'burrow': 1, 'music.': 1, 'look!': 1, 'wheat': 1, 'fields': 2, 'bread.': 1, 'wheal': 1, 'whatever.': 1, 'Wheat': 1, 'sad.': 1, 'hair': 2, 'gold.': 2, 'wonderful,': 1, 'me!': 1, 'wheat,': 1, 'golden,': 1, 'remind': 1, 'wheat..."': 1, 'silent': 2, 'to,"': 1, 'learn."': 1, 'tame,"': 1, '"People': 5, 'ready-made': 1, 'stores.': 1, 'stores': 1, 'friends,': 1, 'do?"': 1, 'patient,"': 1, '"First': 1, 'ways': 1, 'grass.': 1, 'corner': 1, 'eye,': 1, 'Language': 1, 'source': 1, 'misunderstandings.': 1, 'closer..."': 1, 'returned.': 1, 'return': 1, 'afternoon,': 1, 'three.': 1, 'closer': 1, 'gets': 1, 'four,': 1, 'happier': 1, 'feel.': 1, 'By': 2, 'excited': 2, 'worried;': 1, 'discover': 1, 'costs': 1, 'happy!': 1, 'prepare': 1, 'heart..."': 2, 'rites."': 1, 'rite?"': 1, 'neglected,"': 1, 'hour': 1, 'hours.': 1, 'hunters,': 1, 'example,': 1, 'rite.': 1, 'dance': 1, 'village': 3, 'girls': 1, 'Thursdays.': 1, "Thursday's": 1, 'wonderful': 1, 'day:': 1, 'stroll': 1, 'vineyards.': 1, 'danced': 2, 'chose,': 1, 'holiday': 1, 'all."': 1, 'near:': 1, 'weep."': 1, 'fault,"': 1, 'harm,': 1, 'weep!"': 1, 'something,"': 1, '"because': 1, 'wheat."': 1, '"Go': 1, 'yours': 1, 'good-bye,': 1, 'gift': 1, 'secret."': 1, 'yet,"': 1, '"No': 2, 'world."': 1, 'humbled.': 1, 'lovely,': 1, 'empty,"': 1, 'passerby': 1, 'rose,': 2, 'watered.': 1, 'sheltered': 1, 'behind': 1, 'screen.': 1, 'killed': 1, '(except': 1, 'butterflies).': 1, 'complained,': 1, 'boasted,': 1, 'rose."': 1, 'secret.': 1, 'simple:': 1, 'clearly': 1, 'heart.': 1, 'Anything': 1, 'essential': 2, 'invisible': 2, 'eyes."': 1, '"Anything': 1, 'eyes,"': 1, 'makes': 3, 'important."': 1, 'rose..."': 3, 'forgotten': 1, 'truth,"': 1, "mustn't": 2, 'responsible': 5, 'forever': 1, 'tamed.': 2, 'railway': 1, 'switchman.': 1, 'travelers': 1, 'bundles': 1, 'thousand,"': 1, 'switchman': 6, 'dispatch': 1, 'trains': 1, 'right,': 1, 'left."': 1, 'brightly': 3, 'express': 4, 'train,': 1, 'roaring': 1, 'thunder,': 1, "switchman's": 1, 'cabin.': 1, 'in,"': 1, 'engineer': 1, 'locomotive': 1, 'knows,"': 1, 'train': 2, 'thundered': 2, 'opposite': 1, 'direction.': 1, 'already?"': 1, '"They\'re': 4, 'ones,"': 1, 'exchange."': 1, "weren't": 1, 'satisfied,': 1, 'were?"': 1, 'satisfied': 1, 'is,"': 1, 'past.': 2, 'chasing': 2, 'travelers?"': 1, 'anything,"': 1, 'sleeping': 2, 'else': 2, 'yawning.': 1, 'pressing': 1, 'noses': 1, 'windowpanes."': 1, '"Only': 1, 'for,"': 1, 'spend': 2, 'rag': 1, 'doll': 1, 'becomes': 1, 'cry..."': 1, 'lucky,"': 1, 'salesclerk.': 1, 'salesclerk': 3, 'sold': 1, 'pills': 1, 'invented': 1, 'quench': 1, 'thirst.': 2, 'Swallow': 1, 'week': 1, 'drink.': 2, 'sell': 1, 'pills?"': 1, 'save': 2, '"Experts': 1, 'calculated': 1, 'fifty-': 1, 'week."': 1, 'fifty-three': 2, 'minutes?"': 1, '"Whatever': 1, 'like."': 1, 'liked,"': 1, 'fountain..."': 1, 'eighth': 1, 'desert,': 2, 'drop': 1, 'supply.': 1, '"Ah,"': 2, '"your': 1, 'pleasant,': 1, 'repaired': 1, 'plane.': 1, 'drink,': 1, 'fountain!"': 1, '"Little': 4, 'fellow,': 6, 'fox!"': 1, "we're": 1, 'thirst."': 1, 'reasoning,': 1, 'die.': 1, 'Myself,': 1, 'friend."': 1, '"He': 1, 'danger,"': 1, 'hungry': 1, 'thirsty.': 1, 'sunlight': 1, 'him..."': 1, 'thirsty,': 2, 'too...': 1, 'well..."': 1, 'exasperated': 1, 'gesture.': 1, 'well,': 2, 'random,': 1, 'vastness': 1, 'so,': 1, 'started': 2, 'walking.': 1, 'several': 1, 'hours': 1, 'appear.': 1, 'noticed': 1, 'dream,': 2, 'somewhat': 2, 'feverish': 1, 'words': 1, 'memory.': 1, 'question.': 2, '"Water': 1, 'nothing..."': 1, 'questioning': 1, 'tired.': 1, 'see..."': 1, 'word': 2, 'ridges': 1, 'moonlight.': 1, 'true.': 1, 'dune.': 1, 'shines,': 1, 'sings': 1, 'silence...': 1, 'hides': 1, 'somewhere..."': 1, 'sands.': 1, 'legend': 1, 'treasure': 1, 'buried': 1, 'somewhere.': 1, 'treasure,': 1, 'searched.': 1, 'cast': 1, 'spell': 1, 'hid': 1, 'depths': 1, 'heart...': 1, '"whether': 1, 'invisible!"': 1, 'glad,"': 1, '"you': 1, 'agree': 1, 'fox."': 1, 'falling': 1, 'asleep,': 1, 'picked': 1, 'arms,': 2, 'walking': 5, 'moved.': 1, 'carrying': 1, 'fragile': 3, 'actually': 1, 'moon,': 1, 'forehead,': 1, 'closed': 1, 'eyes,': 1, 'locks': 1, 'trembling': 1, 'wind,': 1, 'shell.': 2, "What's": 1, 'invisible..."': 1, 'lips': 1, 'parted': 1, 'half': 1, 'smile,': 1, 'moves': 1, 'deeply': 1, 'loyalty': 1, 'image': 1, 'shining': 1, 'within': 2, 'flame': 1, 'asleep..."': 1, 'Lamps': 1, 'protected:': 1, 'gust': 1, 'blow': 1, 'out..."': 1, 'daybreak.': 1, 'trains,': 1, 'for.': 1, 'rush': 1, 'circles..."': 1, 'trouble..."': 1, 'wells': 3, 'Sahara.': 1, 'holes': 1, 'dug': 2, 'dreaming.': 1, '"everything': 1, 'ready:': 1, 'pulley,': 2, 'bucket,': 1, 'rope..."': 1, 'grasped': 1, 'rope,': 1, 'pulley': 4, 'working.': 1, 'groaned': 1, 'weather': 1, 'vane': 1, 'groans': 1, 'asleep': 1, '"Hear': 1, '"We\'ve': 1, 'singing."': 1, 'tire': 1, '"Let': 2, 'that,"': 1, 'heavy': 3, 'you."': 5, 'Slowly': 1, 'hoisted': 1, 'bucket': 2, 'edge': 1, 'care.': 1, 'song': 2, 'ears,': 1, 'glisten': 1, 'still-trembling': 1, 'thirsty': 1, 'water,"': 1, 'drink': 3, 'some..."': 1, "he'd": 1, 'for!': 1, 'lips.': 1, 'drank,': 1, 'closed.': 1, 'feast.': 1, 'beneath': 1, 'heart': 4, 'present.': 2, 'boy,': 1, 'Christmas-tree': 1, 'lights,': 1, 'music': 1, 'midnight': 1, 'mass,': 1, "people's": 1, 'smiles': 1, 'Christmas': 1, 'present': 2, 'received.': 1, '"grow': 1, 'garden..."': 1, 'for..."': 1, 'water..."': 1, 'blind.': 1, 'heart."': 1, 'drunk': 1, 'breathe': 1, 'easy': 1, 'now.': 3, 'sand,': 1, 'daybreak,': 1, 'honey-colored.': 1, 'happy,': 1, 'sad?': 1, 'promise,"': 1, 'promise?"': 1, 'know...a': 1, 'flower!"': 1, 'glanced': 1, 'cabbages."': 1, 'baobabs!': 1, 'fox...': 1, 'ears...': 1, 'horns...': 1, 'unfair,': 1, 'prince,"': 1, 'boas': 2, 'outside."': 1, "that'll": 1, '"Children': 1, 'understand."': 1, 'muzzle.': 1, 'handed': 1, '"You\'ve': 1, 'plans': 1, 'about..."': 1, 'Earth..."': 1, 'Tomorrow': 1, 'anniversary..."': 1, 'continued.': 1, 'near': 1, 'here..."': 1, 'blushed.': 1, 'why,': 1, 'strange': 1, 'grief.': 1, 'occurred': 1, 'accident': 1, 'met': 1, 'region?': 1, 'Were': 1, 'returning': 1, 'blushed': 2, 'hesitantly,': 1, '"Perhaps': 1, 'account..."': 1, 'anniversary?"': 1, 'more.': 3, 'blushes,': 1, '"yes"?': 1, 'afraid..."': 1, 'wait': 2, 'tomorrow': 1, 'night."': 1, 'reassured.': 1, 'tears': 1, 'Beside': 1, 'ruin,': 1, 'stone': 1, 'wall.': 2, 'evening,': 1, 'wall,': 2, 'legs': 1, 'dangling.': 1, 'heard': 1, 'talking.': 1, 'remember?"': 1, 'saying.': 1, 'exactly': 1, 'place!"': 1, 'Another': 1, '"Oh': 1, 'place..."': 1, 'anyone,': 1, 'again:': 1, 'tracks': 1, 'Just': 2, 'tonight."': 1, 'yards': 1, 'wall': 2, 'poison': 2, 'good?': 1, 'suffer': 1, 'long?"': 1, 'short,': 1, 'pounding,': 1, 'away,"': 1, 'here!"': 1, 'foot': 1, 'start!': 1, 'There,': 1, 'front': 1, 'yellow': 3, 'snakes': 2, 'kill': 1, 'thirty': 1, 'seconds.': 1, 'pocket': 1, 'revolver,': 1, 'stepped': 1, 'back,': 1, 'noise': 1, 'made,': 1, 'flowed': 1, 'trickling': 1, 'fountain,': 1, 'hurrying,': 1, 'slipped': 1, 'faint': 1, 'metallic': 1, 'sound.': 2, 'catch': 2, 'white': 1, 'snow.': 1, 'here?': 1, 'now?"': 1, 'loosened': 1, 'scarf': 1, 'wore.': 1, 'moistened': 1, 'temples': 1, 'expression': 2, 'arms': 2, 'round': 1, 'neck.': 1, 'beating': 1, "bird's,": 1, 'shot.': 1, 'again..."': 2, 'know?"': 1, 'successful': 1, 'beyond': 1, 'hope!': 1, 'question;': 1, 'today,': 1, 'too."': 1, 'further..."': 1, 'difficult."': 1, 'happening.': 1, 'child,': 1, 'dropping': 1, 'headlong': 1, 'abyss,': 1, 'remote.': 1, 'muzzle..."': 1, 'smiled': 1, 'sadly.': 1, 'waited': 1, 'reviving': 1, 'little.': 2, 'frightened..."': 1, 'frightened!': 1, 'frightened': 1, 'tonight..."': 1, 'chilled': 1, 'irreparable.': 1, 'bear': 1, 'hearing': 2, 'laugh': 3, 'spring': 1, 'fresh': 2, '"Tonight,': 1, "it'll": 5, 'above': 1, 'year..."': 1, 'it?': 1, 'conversation': 1, 'meeting': 1, 'seen..."': 1, 'course..."': 3, 'lives': 1, 'blossoming."': 1, 'music,': 1, 'rope...': 1, 'good."': 1, '"At': 1, 'is.': 2, 'be...': 1, "They'll": 1, 'laugh!"': 2, '"That\'ll': 1, 'that...': 1, "It'll": 4, 'water."': 1, "aren't": 1, 'travelers,': 1, 'guides.': 1, 'lights.': 1, 'scholars,': 1, 'problems.': 1, 'You,': 1, 'though,': 1, 'else."': 1, 'sky': 1, 'laughing.': 1, 'consoled': 1, '(everyone': 1, 'consoled),': 1, 'open': 1, 'window': 1, 'fun': 1, 'it...': 1, 'while': 1, "'Yes,": 1, 'stars;': 1, "laugh!'": 1, 'crazy.': 1, 'nasty': 2, 'trick': 1, 'played': 1, 'bells': 2, 'laugh..."': 1, '"Tonight...': 1, 'come."': 1, '"It\'ll': 2, 'suffering.': 1, 'dying.': 1, 'that;': 1, 'trouble."': 1, 'anxious.': 2, 'telling': 1, 'this...': 1, 'Snakes': 1, 'sometimes.': 1, 'fun..."': 1, 'reassured': 1, 'bite..."': 1, 'fast,': 1, 'determination.': 1, 'hand.': 1, 'come.': 1, 'suffer.': 1, 'dead,': 1, 'true..."': 1, 'body': 1, 'heavy."': 1, 'abandoned': 1, 'shell..."': 1, 'disheartened': 1, 'effort.': 1, 'nice,': 1, 'rusty': 1, 'pulley.': 1, 'pour': 1, 'drink..."': 1, 'fun!': 1, 'bells;': 1, 'springs': 1, 'water...': 1, 'he,': 1, 'nothing,': 1, 'weeping..."': 1, '"Here\'s': 1, 'place.': 1, 'Let': 1, 'alone."': 1, 'frightened.': 1, 'weak!': 1, 'ridiculous': 1, 'world..."': 1, 'unable': 1, 'longer.': 1, '"There...': 1, 'all..."': 1, 'longer,': 1, 'step.': 1, 'move.': 1, 'flash': 1, 'ankle.': 1, 'motionless': 1, 'instant.': 1, 'cry': 1, 'gently,': 1, 'tree': 1, 'falls.': 1, 'sound,': 1, 'already..."': 1, 'before.': 1, 'alive.': 1, 'fatigue."': 1, 'consoled.': 1, 'is...not': 1, 'entirely.': 1, 'body.': 1, 'body...': 1, 'listening': 1, 'bells...': 1, 'happened.': 1, 'forgot': 2, 'leather': 1, 'strap.': 1, 'fastened': 1, 'wonder,': 1, 'planet?': 1, 'Maybe': 1, 'eaten': 3, 'flower..."': 1, 'not!': 1, 'keeps': 1, 'happy.': 1, 'distracted': 1, 'while,': 1, 'takes!': 1, 'night..."': 1, 'changed': 1, 'tears!': 1, 'mystery.': 1, 'universe': 1, 'somewhere,': 1, 'rose...': 1, 'Ask': 1, '"Has': 1, 'not?"': 1, 'changes...': 1, 'important!': 1, 'loveliest': 1, 'saddest': 1, 'landscape': 3, 'preceding': 1, 'page,': 1, 'clearly.': 1, 'appeared': 1, 'disappeared.': 1, 'recognizing': 1, 'beg': 1, 'Wait': 1, 'star!': 1, 'laughs,': 1, 'hair,': 1, 'happen,': 1, 'kind!': 1, 'sad:': 1, 'immediately': 1, 'back...': 1, 'THE': 1, 'END': 1, 'Hope': 1, 'enjoyed': 1, 'reading!': 1, 'http://english-e-books.net/': 1, 'fascinating': 1, 'exciting': 1, 'stories!': 1}
import string

fhand = open('./data/thelittleprincess.txt')

counts = dict()
for line in fhand:
    line = line.rstrip()
    line = line.translate(line.maketrans('', '', string.punctuation))
    line = line.lower()
    words = line.split()
    for word in words:
        if word not in counts:
            counts[word] = 1
        else:
            counts[word] += 1

print(counts)
{'chapter': 27, 'one': 96, 'once': 17, 'when': 53, 'i': 403, 'was': 161, 'six': 14, 'saw': 13, 'a': 396, 'magnificent': 3, 'picture': 4, 'in': 130, 'book': 5, 'about': 32, 'the': 829, 'jungle': 2, 'called': 1, 'true': 9, 'stories': 2, 'it': 136, 'showed': 4, 'boa': 12, 'constrictor': 6, 'swallowing': 1, 'wild': 2, 'beast': 1, 'here': 29, 'is': 107, 'copy': 1, 'of': 278, 'said': 158, 'constrictors': 4, 'swallow': 2, 'their': 12, 'prey': 1, 'whole': 9, 'without': 12, 'chewing': 1, 'afterward': 1, 'they': 69, 'are': 82, 'no': 65, 'longer': 8, 'able': 5, 'to': 366, 'move': 4, 'and': 333, 'sleep': 8, 'for': 132, 'months': 1, 'need': 10, 'digestion': 1, 'those': 19, 'days': 11, 'thought': 11, 'lot': 3, 'adventures': 1, 'eventually': 2, 'managed': 4, 'make': 23, 'my': 143, 'first': 21, 'drawing': 19, 'with': 58, 'colored': 1, 'pencil': 3, 'number': 8, 'looked': 12, 'like': 58, 'this': 65, 'grownups': 21, 'masterpiece': 1, 'asked': 32, 'them': 57, 'if': 75, 'scared': 3, 'answered': 27, 'why': 20, 'should': 12, 'anyone': 11, 'be': 102, 'hat': 7, 'not': 59, 'digesting': 1, 'an': 41, 'elephant': 3, 'then': 69, 'drew': 4, 'inside': 7, 'so': 74, 'could': 20, 'understand': 23, 'always': 13, 'explanations': 1, 'two': 17, 'advised': 2, 'me': 114, 'put': 18, 'away': 15, 'drawings': 4, 'outside': 5, 'or': 28, 'apply': 1, 'myself': 14, 'instead': 4, 'geography': 4, 'history': 2, 'arithmetic': 2, 'grammar': 2, 'that': 166, 'gave': 4, 'up': 37, 'at': 85, 'age': 4, 'career': 3, 'as': 71, 'artist': 1, 'had': 69, 'been': 24, 'discouraged': 2, 'by': 48, 'failure': 1, 'never': 42, 'anything': 18, 'themselves': 3, 'exhausting': 1, 'children': 7, 'have': 90, 'explain': 1, 'over': 23, 'again': 33, 'choose': 1, 'another': 15, 'learned': 6, 'pilot': 1, 'airplanes': 1, 'flown': 1, 'almost': 1, 'everywhere': 1, 'world': 10, 'matter': 5, 'fact': 4, 'has': 18, 'big': 7, 'help': 5, 'tell': 14, 'china': 2, 'from': 49, 'arizona': 1, 'glance': 2, 'which': 27, 'very': 61, 'useful': 5, 'you': 252, 'get': 17, 'lost': 7, 'during': 3, 'night': 15, 'met': 2, 'course': 26, 'life': 16, 'lots': 2, 'serious': 19, 'people': 24, 'spent': 3, 'time': 38, 'seen': 9, 'close': 5, 'range': 1, 'hasnt': 1, 'improved': 1, 'opinion': 1, 'whenever': 4, 'encountered': 2, 'grownup': 3, 'who': 41, 'seemed': 11, 'intelligent': 2, 'would': 38, 'experiment': 1, 'on': 105, 'him': 64, 'kept': 2, 'wanted': 7, 'see': 23, 'he': 255, 'really': 9, 'understood': 2, 'but': 140, 'answer': 14, 'thats': 27, 'wouldnt': 2, 'talk': 4, 'jungles': 1, 'stars': 40, 'his': 97, 'level': 1, 'bridge': 1, 'golf': 1, 'politics': 1, 'neckties': 1, 'glad': 8, 'know': 38, 'such': 7, 'reasonable': 5, 'person': 7, 'lived': 3, 'all': 85, 'alone': 4, 'until': 4, 'crash': 3, 'landing': 2, 'sahara': 3, 'desert': 14, 'years': 10, 'ago': 5, 'something': 15, 'planes': 1, 'engine': 5, 'broken': 1, 'since': 20, 'neither': 3, 'mechanic': 1, 'nor': 4, 'passengers': 1, 'plane': 3, 'preparing': 1, 'undertake': 1, 'difficult': 4, 'repair': 1, 'job': 2, 'death': 7, 'only': 31, 'enough': 11, 'drinking': 6, 'water': 20, 'eight': 3, 'went': 14, 'sand': 10, 'thousand': 18, 'miles': 7, 'any': 17, 'inhabited': 12, 'country': 1, 'more': 30, 'isolated': 1, 'than': 16, 'man': 24, 'shipwrecked': 1, 'raft': 1, 'middle': 2, 'ocean': 3, 'can': 36, 'imagine': 3, 'surprise': 2, 'awakened': 2, 'daybreak': 4, 'funny': 7, 'little': 232, 'voice': 4, 'saying': 2, 'please': 3, 'draw': 11, 'sheep': 38, 'what': 77, 'leaped': 1, 'struck': 1, 'lightning': 1, 'rubbed': 1, 'eyes': 6, 'hard': 4, 'stared': 5, 'extraordinary': 4, 'fellow': 11, 'staring': 2, 'back': 19, 'seriously': 5, 'best': 4, 'portrait': 1, '1': 3, 'later': 4, 'much': 22, 'less': 4, 'attractive': 1, 'model': 1, 'fault': 4, 'painter': 1, 'except': 5, 'wideeyed': 1, 'apparition': 2, 'dont': 33, 'forget': 7, 'territory': 2, 'yet': 11, 'dying': 4, 'exhaustion': 1, 'hunger': 1, 'thirst': 5, 'did': 12, 'seem': 3, 'there': 45, 'nothing': 28, 'appearance': 1, 'suggested': 1, 'child': 4, 'finally': 3, 'speak': 2, 'doing': 3, 'repeated': 8, 'slowly': 5, 'encounter': 1, 'overpowering': 1, 'mystery': 3, 'dare': 2, 'disobey': 1, 'absurd': 4, 'regions': 1, 'danger': 5, 'took': 10, 'piece': 1, 'paper': 3, 'pen': 1, 'out': 40, 'pocket': 4, 'remembered': 3, 'mostly': 1, 'studied': 1, 'told': 18, 'rather': 4, 'crossly': 1, 'didnt': 23, 'how': 27, 'replied': 12, 'doesnt': 9, 'drawn': 3, 'made': 29, 'knew': 6, 'astounded': 3, 'hear': 9, 'want': 17, 'dangerous': 1, 'way': 24, 'where': 37, 'live': 13, 'everything': 8, 'small': 11, 'carefully': 3, 'already': 10, 'quite': 23, 'sick': 1, 'friend': 16, 'kind': 6, 'indulgent': 1, 'smile': 2, 'yourself': 7, 'its': 83, 'ram': 1, 'horns': 2, 'third': 4, 'rejected': 1, 'others': 7, 'ones': 5, 'too': 39, 'old': 16, 'will': 25, 'long': 18, 'impatiently': 1, 'hurry': 3, 'start': 4, 'work': 8, 'scribbled': 1, 'added': 14, 'just': 36, 'crate': 4, 'amazed': 3, 'young': 3, 'critics': 1, 'face': 3, 'light': 4, 'do': 49, 'think': 9, 'grass': 4, 'because': 19, 'theres': 11, 'sure': 7, 'ive': 16, 'given': 5, 'bent': 1, 'look': 22, 'hes': 18, 'gone': 3, 'acquaintance': 1, 'prince': 171, 'three': 17, 'came': 11, 'many': 4, 'questions': 7, 'things': 11, 'random': 2, 'bit': 2, 'explained': 2, 'instance': 6, 'caught': 7, 'sight': 6, 'airplane': 5, 'wont': 11, 'complicated': 3, 'whats': 7, 'thing': 13, 'flies': 2, 'proud': 5, 'fly': 4, 'exclaimed': 4, 'fell': 8, 'sky': 9, 'yes': 16, 'modestly': 1, 'oh': 13, 'broke': 2, 'into': 18, 'lovely': 4, 'peal': 1, 'laughter': 1, 'annoyed': 5, 'good': 45, 'deal': 3, 'misfortunes': 1, 'taken': 4, 'planet': 65, 'clue': 1, 'presence': 2, 'questioned': 1, 'sharply': 1, 'come': 27, 'shook': 2, 'head': 5, 'still': 12, 'couldnt': 16, 'brought': 2, 'far': 9, 'reverie': 1, 'lasted': 2, 'while': 4, 'taking': 3, 'plunged': 2, 'contemplation': 1, 'treasure': 4, 'intrigued': 2, 'hint': 1, 'other': 17, 'planets': 5, 'tried': 2, 'learn': 6, 'yours': 6, 'after': 12, 'thoughtful': 1, 'silence': 10, 'youve': 8, 'use': 5, 'house': 11, 'dark': 3, 'youre': 31, 'ill': 25, 'give': 3, 'rope': 4, 'tie': 5, 'day': 23, 'stake': 1, 'proposition': 1, 'shock': 1, 'idea': 5, 'hell': 1, 'wander': 1, 'off': 6, 'somewhere': 6, 'burst': 3, 'laughing': 5, 'go': 19, 'anywhere': 2, 'straight': 2, 'ahead': 2, 'remarked': 2, 'even': 20, 'everythings': 1, 'perhaps': 5, 'sadly': 4, 'cant': 8, 'four': 12, 'second': 4, 'important': 15, 'hardly': 3, 'bigger': 3, 'well': 23, 'huge': 1, 'earth': 19, 'jupiter': 1, 'mars': 1, 'venus': 1, 'names': 1, 'hundreds': 1, 'sometimes': 12, 'through': 4, 'telescope': 2, 'astronomer': 3, 'discovers': 2, 'gives': 1, 'name': 1, 'call': 2, 'asteroid': 7, '325': 2, 'reasons': 1, 'believe': 8, 'b612': 4, 'sighted': 1, '1909': 1, 'turkish': 2, 'formal': 1, 'demonstration': 2, 'discovery': 2, 'international': 1, 'astronomical': 1, 'congress': 1, 'believed': 3, 'account': 7, 'dressed': 1, 'fortunately': 1, 'reputation': 2, 'dictator': 1, 'ordered': 2, 'pain': 1, 'wear': 1, 'european': 1, 'clothes': 1, '1920': 1, 'wearing': 3, 'elegant': 1, 'suit': 2, 'everyone': 4, 'these': 5, 'details': 2, 'numbers': 6, 'new': 4, 'ask': 8, 'matters': 1, 'does': 20, 'sound': 7, 'games': 2, 'collect': 1, 'butterflies': 3, 'brothers': 1, 'weigh': 1, 'money': 1, 'father': 1, 'beautiful': 8, 'red': 3, 'brick': 1, 'geraniums': 1, 'windows': 1, 'doves': 1, 'roof': 1, 'worth': 4, 'hundred': 12, 'francs': 1, 'exclaim': 1, 'pretty': 2, 'proof': 1, 'princes': 9, 'existence': 2, 'delightful': 1, 'laughed': 11, 'someone': 7, 'wants': 1, 'proves': 1, 'exists': 3, 'shrug': 2, 'shoulders': 2, 'treat': 1, 'theyll': 4, 'convinced': 2, 'bother': 1, 'must': 15, 'hold': 2, 'against': 4, 'understanding': 3, 'us': 5, 'care': 4, 'liked': 3, 'begin': 3, 'story': 3, 'fairytale': 1, 'say': 13, 'upon': 3, 'needed': 1, 'truer': 1, 'lightly': 1, 'telling': 2, 'memories': 3, 'painful': 1, 'try': 4, 'describe': 3, 'sad': 11, 'might': 7, 'become': 2, 'interested': 1, 'reason': 3, 'bought': 1, 'box': 1, 'paints': 1, 'some': 9, 'pencils': 1, 'attempts': 1, 'certainly': 4, 'portraits': 1, 'possible': 3, 'im': 57, 'entirely': 2, 'succeeding': 1, 'works': 1, 'next': 7, 'bears': 1, 'resemblance': 1, 'height': 1, 'tall': 2, 'short': 2, 'uncertain': 1, 'color': 4, 'grope': 1, 'direction': 2, 'end': 2, 'certain': 3, 'wrong': 5, 'youll': 24, 'forgive': 3, 'himself': 21, 'unfortunately': 3, 'cannot': 1, 'sides': 1, 'may': 4, 'grown': 3, 'five': 11, 'every': 5, 'id': 7, 'departure': 2, 'journey': 6, 'gradually': 2, 'remarks': 2, 'drama': 1, 'baobabs': 15, 'thank': 1, 'suddenly': 5, 'question': 10, 'overcome': 1, 'grave': 1, 'doubt': 1, 'isnt': 9, 'eat': 7, 'bushes': 5, 'right': 9, 'ah': 15, 'therefore': 2, 'pointed': 2, 'trees': 1, 'churches': 1, 'herd': 3, 'elephants': 2, 'finish': 1, 'single': 7, 'baobab': 5, 'laugh': 8, 'wed': 1, 'pile': 1, 'top': 2, 'observed': 2, 'perceptively': 1, 'before': 7, 'grow': 3, 'being': 11, 'your': 43, 'we': 9, 'were': 28, 'talking': 5, 'obvious': 1, 'forced': 1, 'great': 7, 'mental': 1, 'effort': 3, 'problem': 2, 'plants': 4, 'bad': 7, 'seeds': 5, 'invisible': 5, 'secrecy': 1, 'ground': 1, 'decides': 1, 'wake': 1, 'stretches': 1, 'begins': 1, 'sprout': 4, 'timidly': 2, 'charming': 1, 'harmless': 1, 'twig': 1, 'reaching': 1, 'toward': 5, 'sun': 8, 'radish': 1, 'seed': 5, 'rosebush': 1, 'let': 12, 'likes': 1, 'plant': 3, 'pull': 2, 'soon': 7, 'recognize': 1, 'happens': 1, 'terrible': 3, 'soil': 1, 'infested': 1, 'now': 25, 'attend': 1, 'late': 1, 'rid': 1, 'overgrows': 1, 'roots': 2, 'pierce': 1, 'pieces': 1, 'discipline': 1, 'finished': 1, 'washing': 1, 'dressing': 2, 'each': 7, 'morning': 22, 'tend': 2, 'regularly': 2, 'apart': 1, 'rosebushes': 1, 'closely': 1, 'resemble': 1, 'theyre': 18, 'tedious': 1, 'easy': 2, 'edification': 1, 'travel': 3, 'someday': 4, 'harm': 2, 'postponing': 1, 'catastrophe': 1, 'lazy': 3, 'neglected': 3, 'following': 1, 'instructions': 1, 'assuming': 1, 'tone': 1, 'moralist': 1, 'recognized': 1, 'risks': 1, 'run': 2, 'considerable': 1, 'am': 9, 'making': 4, 'exception': 1, 'habitual': 1, 'reserve': 1, 'watch': 6, 'warn': 1, 'friends': 9, 'unaware': 1, 'worked': 2, 'lesson': 1, 'teaching': 1, 'trouble': 6, 'asking': 2, 'simple': 4, 'manage': 2, 'inspired': 1, 'sense': 2, 'urgency': 1, 'o': 1, 'entertainment': 1, 'pleasure': 1, 'sunsets': 6, 'detail': 1, 'fourth': 2, 'lets': 4, 'wait': 5, 'set': 5, 'surprised': 4, 'home': 2, 'indeed': 1, 'noon': 1, 'united': 1, 'states': 1, 'knows': 6, 'setting': 1, 'france': 3, 'minute': 5, 'sunset': 5, 'tiny': 4, 'chair': 3, 'few': 1, 'feet': 2, 'twilight': 1, 'fortyfour': 2, 'times': 5, 'feeling': 6, 'wonderful': 3, 'seven': 9, 'fifth': 2, 'thanks': 1, 'secret': 4, 'revealed': 1, 'abruptly': 1, 'preamble': 1, 'fruit': 1, 'pondered': 1, 'eats': 3, 'flowers': 15, 'whatever': 6, 'finds': 1, 'thorns': 12, 'moment': 2, 'busy': 4, 'trying': 3, 'unscrew': 1, 'bolt': 4, 'jammed': 3, 'worried': 2, 'beginning': 3, 'extremely': 4, 'lack': 1, 'fear': 2, 'worst': 1, 'thinking': 4, 'mean': 14, 'lashed': 1, 'sort': 3, 'bitterness': 1, 'weak': 3, 'naive': 3, 'reassure': 1, 'frightening': 1, 'stays': 1, 'knock': 1, 'hammer': 3, 'disturbed': 1, 'reflections': 1, 'holding': 3, 'fingers': 1, 'black': 1, 'grease': 1, 'bending': 1, 'object': 1, 'regarded': 1, 'ugly': 1, 'ashamed': 3, 'mercilessly': 1, 'confuse': 1, 'got': 4, 'mixed': 1, 'tossed': 1, 'golden': 5, 'curls': 1, 'wind': 7, 'redfaced': 1, 'gentleman': 5, 'smelled': 1, 'flower': 49, 'star': 11, 'loved': 2, 'done': 1, 'add': 1, 'says': 1, 'puffs': 1, 'pride': 1, 'mushroom': 2, 'pale': 2, 'rage': 1, 'millions': 4, 'producing': 1, 'eating': 1, 'same': 16, 'produce': 1, 'war': 1, 'between': 2, 'fat': 1, 'adding': 1, 'suppose': 1, 'happen': 4, 'unique': 1, 'nowhere': 1, 'wipe': 1, 'bite': 4, 'realizing': 1, 'turned': 2, 'loves': 1, 'example': 2, 'among': 1, 'happy': 7, 'looks': 1, 'tells': 1, 'word': 3, 'sudden': 1, 'sobbing': 1, 'fallen': 2, 'dropped': 1, 'tools': 1, 'mine': 3, 'consoled': 4, 'arms': 6, 'rocked': 1, 'love': 10, 'muzzle': 5, 'fence': 1, 'clumsy': 1, 'felt': 6, 'reach': 1, 'find': 12, 'mysterious': 3, 'land': 2, 'tears': 3, 'better': 4, 'decorated': 1, 'row': 1, 'petals': 3, 'room': 5, 'appear': 3, 'fade': 1, 'nightfall': 1, 'stopped': 2, 'growing': 3, 'began': 3, 'show': 3, 'signs': 1, 'blossoming': 3, 'watched': 3, 'development': 1, 'enormous': 2, 'bud': 1, 'realized': 7, 'miraculous': 1, 'emerge': 2, 'continued': 12, 'her': 25, 'beauty': 2, 'preparations': 2, 'shelter': 1, 'green': 1, 'chamber': 1, 'selecting': 1, 'colors': 1, 'greatest': 1, 'deliberately': 1, 'adjusting': 1, 'she': 32, 'desire': 2, 'rumpled': 1, 'poppies': 1, 'wished': 1, 'full': 2, 'radiance': 3, 'vain': 12, 'adornment': 1, 'precisely': 1, 'sunrise': 1, 'herself': 5, 'having': 11, 'labored': 1, 'painstakingly': 1, 'yawned': 3, 'awake': 1, 'untidy': 1, 'contain': 1, 'admiration': 2, 'arent': 2, 'sweetly': 3, 'born': 2, 'wasnt': 5, 'modest': 2, 'dazzling': 1, 'breakfast': 2, 'utterly': 1, 'abashed': 1, 'watering': 1, 'served': 1, 'begun': 1, 'tormenting': 1, 'touchy': 1, 'vanity': 1, 'alluding': 1, 'ready': 2, 'tigers': 4, 'claws': 3, 'objected': 1, 'besides': 3, 'weeds': 1, 'weed': 1, 'afraid': 3, 'horror': 2, 'drafts': 2, 'screen': 3, 'sign': 1, 'under': 7, 'glass': 7, 'cold': 3, 'uncomfortable': 1, 'known': 3, 'worlds': 1, 'humiliated': 1, 'verge': 1, 'lie': 1, 'coughed': 2, 'order': 10, 'going': 7, 'speaking': 2, 'cough': 2, 'inflict': 1, 'twinge': 1, 'remorse': 1, 'despite': 1, 'goodwill': 1, 'mistrust': 1, 'inconsequential': 1, 'unhappy': 2, 'shouldnt': 1, 'listened': 3, 'confided': 2, 'listen': 1, 'smell': 1, 'perfumed': 2, 'enjoy': 2, 'business': 1, 'tiger': 1, 'annoying': 1, 'ought': 2, 'moved': 2, 'further': 4, 'judged': 1, 'according': 2, 'actions': 1, 'words': 3, 'lit': 10, 'tenderness': 2, 'underlying': 1, 'silly': 3, 'pretensions': 1, 'contradictory': 1, 'nine': 2, 'escape': 1, 'advantage': 1, 'migration': 1, 'birds': 2, 'raked': 3, 'active': 4, 'volcanoes': 11, 'possessed': 2, 'convenient': 1, 'warming': 1, 'also': 7, 'extinct': 8, 'volcano': 3, 'properly': 1, 'burn': 1, 'gently': 2, 'eruptions': 2, 'volcanic': 1, 'fires': 1, 'chimney': 1, 'our': 4, 'rake': 3, 'uprooted': 1, 'last': 11, 'shoots': 1, 'coming': 3, 'familiar': 1, 'tasks': 1, 'sweet': 2, 'watered': 2, 'crying': 2, 'goodbye': 7, 'forgiveness': 1, 'reproaches': 1, 'stood': 2, 'bewildered': 1, 'bell': 1, 'midair': 1, 'failed': 1, 'calm': 1, 'sweetness': 1, 'down': 19, 'anymore': 1, 'air': 2, 'animals': 2, 'caterpillars': 2, 'apparently': 1, 'otherwise': 2, 'visit': 5, 'own': 18, 'naively': 1, 'hang': 1, 'around': 10, 'irritating': 1, 'mind': 1, 'leave': 10, 'ten': 2, 'happened': 4, 'vicinity': 1, 'asteroids': 1, '326': 1, '327': 1, '328': 1, '329': 1, '330': 1, 'visiting': 1, 'keep': 2, 'king': 29, 'purple': 1, 'ermine': 3, 'sitting': 3, 'majestic': 2, 'throne': 2, 'heres': 2, 'subject': 2, 'wondered': 1, 'realize': 2, 'kings': 6, 'simplified': 1, 'men': 6, 'subjects': 2, 'approach': 1, 'place': 7, 'sit': 6, 'covered': 1, 'cloak': 1, 'remained': 2, 'standing': 1, 'tired': 3, 'violation': 1, 'etiquette': 1, 'yawn': 5, 'monarch': 5, 'forbid': 1, 'embarrassed': 1, 'havent': 9, 'command': 14, 'yawns': 1, 'curiosity': 1, 'intimidates': 1, 'mei': 1, 'blushing': 1, 'deeply': 2, 'sputtering': 1, 'insisted': 3, 'authority': 3, 'universally': 1, 'respected': 1, 'tolerate': 2, 'disobedience': 1, 'absolute': 2, 'kindly': 1, 'commands': 1, 'often': 3, 'general': 5, 'turn': 6, 'seagull': 2, 'obey': 3, 'generals': 1, 'inquired': 5, 'majestically': 1, 'gathering': 1, 'fold': 1, 'robe': 1, 'wondering': 1, 'reign': 3, 'sire': 2, 'ventured': 2, 'excuse': 2, 'hastened': 1, 'simplicity': 1, 'discreet': 1, 'gesture': 2, 'universal': 1, 'immediately': 2, 'insubordination': 1, 'power': 1, 'wielded': 1, 'forty': 2, 'seventytwo': 1, 'ever': 7, 'remembering': 1, 'forsaken': 1, 'favor': 3, 'majesty': 2, 'commanded': 1, 'butterfly': 1, 'write': 4, 'tragedy': 1, 'carry': 2, 'firmly': 1, 'exactly': 2, 'perform': 2, 'based': 1, 'jump': 1, 'revolution': 1, 'entitled': 1, 'obedience': 1, 'orders': 10, 'shall': 6, 'science': 1, 'government': 1, 'conditions': 2, 'favorable': 2, 'consulting': 1, 'large': 3, 'calendar': 1, 'aroundaround': 1, 'tonight': 5, 'sevenforty': 1, 'obeyed': 2, 'regretting': 1, 'bored': 2, 'minister': 2, 'justice': 2, 'judge': 5, 'explored': 1, 'realm': 1, 'carriage': 1, 'wearies': 1, 'walk': 7, 'leaning': 1, 'forward': 1, 'side': 1, 'either': 3, 'pass': 2, 'judgment': 1, 'hardest': 1, 'harder': 1, 'succeed': 1, 'judging': 1, 'truly': 2, 'wise': 1, 'rat': 3, 'living': 2, 'condemn': 1, 'depend': 1, 'pardon': 1, 'economys': 1, 'sake': 1, 'condemning': 1, 'completed': 1, 'aggrieve': 1, 'desires': 1, 'promptly': 1, 'seems': 2, 'hesitated': 2, 'sigh': 2, 'ambassador': 1, 'hastily': 1, 'shouted': 1, 'strange': 6, 'eleven': 4, 'admirer': 1, 'distance': 3, 'admirers': 1, 'hello': 7, 'answering': 1, 'acclamations': 1, 'comes': 4, 'clap': 1, 'hands': 2, 'directed': 1, 'clapped': 1, 'tipped': 1, 'acknowledgment': 2, 'entertaining': 1, 'clapping': 1, 'tipping': 1, 'minutes': 5, 'exercise': 2, 'monotony': 1, 'fall': 2, 'praise': 1, 'admire': 5, 'means': 6, 'acknowledge': 1, 'handsomest': 1, 'bestdressed': 1, 'richest': 1, 'most': 3, 'interests': 1, 'twelve': 4, 'drunkard': 9, 'brief': 1, 'deep': 1, 'depression': 1, 'whom': 3, 'found': 5, 'sunk': 1, 'collection': 2, 'empty': 2, 'bottles': 1, 'gloomy': 1, 'expression': 3, 'sorry': 2, 'confessed': 1, 'hanging': 1, 'concluded': 1, 'withdrawing': 1, 'puzzled': 1, 'thirteen': 1, 'belonged': 1, 'businessman': 9, 'raise': 2, 'arrived': 1, 'cigarettes': 1, 'fifteen': 3, 'twentytwo': 4, 'twentyeight': 1, 'twentysix': 1, 'thirtyone': 3, 'whew': 1, 'amounts': 1, 'fivehundredandone': 4, 'million': 13, 'hundredtwentytwo': 1, 'fivehundred': 5, 'hmm': 1, 'remember': 7, 'bothered': 1, 'trifles': 1, 'raised': 2, 'fiftyfour': 1, 'interrupted': 4, 'beetle': 1, 'onto': 2, 'desk': 2, 'god': 1, 'noise': 3, 'mistakes': 1, 'calculations': 2, 'fit': 2, 'rheumatism': 1, 'take': 9, 'strolls': 1, 'hundredandone': 1, 'hope': 3, 'left': 4, 'peace': 1, 'shiny': 1, 'bees': 1, 'daydream': 1, 'daydreaming': 1, 'sixhundred': 1, 'accurate': 1, 'different': 4, 'owning': 2, 'rich': 3, 'buy': 3, 'somebody': 1, 'argues': 1, 'nevertheless': 1, 'belong': 2, 'retorted': 1, 'grumpily': 1, 'nobody': 4, 'takes': 2, 'diamond': 1, 'belongs': 2, 'particular': 2, 'island': 1, 'patent': 1, 'count': 2, 'satisfied': 3, 'scarf': 2, 'neck': 2, 'pick': 2, 'bank': 1, 'slip': 2, 'lock': 1, 'drawer': 1, 'amusing': 1, 'poetic': 1, 'ideas': 1, 'week': 3, 'opened': 2, 'mouth': 1, 'reply': 2, 'fourteen': 1, 'smallest': 2, 'street': 6, 'lamp': 16, 'lamplighter': 12, 'however': 2, 'least': 1, 'meaning': 1, 'lights': 3, 'bringing': 1, 'puts': 2, 'sends': 1, 'fine': 1, 'occupation': 1, 'reached': 3, 'greeted': 1, 'respectfully': 1, 'evening': 5, 'wiped': 1, 'forehead': 2, 'redchecked': 1, 'handkerchief': 1, 'used': 4, 'mornings': 1, 'rest': 7, 'affairs': 1, 'sleeping': 3, 'changed': 4, 'year': 5, 'turning': 1, 'faster': 2, 'revolves': 1, 'instants': 1, 'month': 2, 'thirty': 3, 'fonder': 2, 'faithful': 2, 'follow': 2, 'merely': 3, 'shifting': 1, 'strides': 1, 'luck': 1, 'despised': 1, 'strike': 1, 'ridiculous': 2, 'beside': 3, 'heaved': 1, 'regret': 2, 'dared': 1, 'admit': 1, 'regretted': 1, 'leaving': 2, 'blessed': 1, 'twentyfour': 1, 'hours': 3, 'sixth': 1, 'wrote': 1, 'books': 3, 'explorer': 8, 'winded': 1, 'sat': 6, 'traveled': 1, 'geographer': 19, 'scholar': 1, 'seas': 2, 'rivers': 3, 'cities': 3, 'mountains': 5, 'deserts': 3, 'interesting': 5, 'real': 1, 'profession': 1, 'gazed': 4, 'geographers': 2, 'oceans': 2, 'disappointed': 1, 'wandering': 1, 'leaves': 1, 'study': 1, 'receives': 1, 'explorers': 5, 'writes': 1, 'conducts': 1, 'inquiry': 1, 'moral': 2, 'character': 2, 'lies': 1, 'cause': 1, 'disasters': 1, 'drank': 2, 'drunkards': 2, 'double': 1, 'possibly': 2, 'investigation': 1, 'required': 2, 'furnish': 1, 'proofs': 2, 'claims': 1, 'discovered': 2, 'mountain': 5, 'bring': 1, 'stones': 2, 'grew': 2, 'excited': 3, 'logbook': 1, 'sharpened': 1, 'reports': 1, 'recorded': 1, 'ink': 1, 'furnished': 1, 'expectantly': 1, 'record': 1, 'prettiest': 1, 'ephemeral': 5, 'geographies': 1, 'finest': 1, 'fashion': 1, 'rare': 2, 'change': 2, 'position': 1, 'drained': 1, 'eternal': 1, 'whether': 2, 'counts': 1, 'threatened': 2, 'imminent': 2, 'disappearance': 2, 'defend': 2, 'impulse': 1, 'plucked': 1, 'courage': 1, 'advise': 2, 'sixteen': 1, 'seventh': 1, 'contains': 1, 'including': 1, 'african': 1, 'businessmen': 1, 'sevenandahalf': 1, 'threehundredeleven': 1, 'billion': 2, 'notion': 1, 'earths': 1, 'dimensions': 1, 'invention': 1, 'electricity': 1, 'necessary': 1, 'maintain': 1, 'continents': 1, 'veritable': 1, 'army': 2, 'fourhundredsixtytwo': 1, 'lamplighters': 6, 'splendid': 1, 'effect': 1, 'movements': 1, 'ballet': 2, 'zealand': 1, 'australia': 1, 'lamps': 2, 'siberia': 1, 'steps': 1, 'vanish': 1, 'wings': 1, 'russia': 1, 'india': 1, 'africa': 3, 'europe': 1, 'south': 2, 'america': 2, 'north': 2, 'missed': 1, 'cues': 1, 'appearances': 1, 'onstage': 1, 'awe': 1, 'inspiring': 1, 'pole': 2, 'colleague': 1, 'led': 1, 'carefree': 1, 'idle': 1, 'lives': 2, 'twice': 1, 'seventeen': 1, 'witty': 1, 'leads': 1, 'lying': 1, 'completely': 1, 'risk': 2, 'giving': 1, 'false': 1, 'occupy': 1, 'space': 1, 'inhabitants': 1, 'globe': 1, 'stand': 2, 'together': 2, 'public': 1, 'event': 1, 'easily': 1, 'city': 1, 'block': 1, 'twenty': 10, 'wide': 1, 'crowd': 1, 'humanity': 1, 'pacific': 1, 'islet': 1, 'consider': 1, 'waste': 1, 'extra': 1, 'task': 1, 'unnecessary': 1, 'trust': 1, 'mooncolored': 1, 'loop': 1, 'uncoiled': 1, 'case': 2, 'snake': 15, 'landed': 2, 'rock': 1, 'wonder': 2, 'overhead': 1, 'difficulties': 1, 'both': 2, 'silent': 4, 'resumed': 1, 'conversation': 2, 'lonely': 6, 'creature': 1, 'thicker': 1, 'finger': 2, 'powerful': 2, 'smiled': 2, 'ship': 1, 'coiled': 2, 'ankle': 2, 'bracelet': 1, 'touch': 1, 'send': 3, 'innocent': 1, 'feel': 6, 'granite': 1, 'homesick': 1, 'riddles': 1, 'solve': 1, 'eighten': 1, 'crossed': 1, 'consequence': 1, 'politely': 2, 'caravan': 1, 'passing': 1, 'blows': 1, 'hampers': 1, 'nineteen': 1, 'climbed': 1, 'high': 2, 'knee': 2, 'footstool': 1, 'view': 1, 'rocky': 1, 'peaks': 1, 'sharp': 2, 'needles': 1, 'echo': 3, 'peculiar': 1, 'dry': 1, 'imagination': 1, 'repeat': 1, 'spoke': 2, 'walked': 2, 'rocks': 1, 'snow': 2, 'road': 1, 'roads': 1, 'rose': 15, 'garden': 3, 'roses': 7, 'universe': 2, 'alike': 4, 'thisshe': 1, 'terribly': 1, 'pretend': 2, 'avoid': 1, 'nursing': 1, 'shed': 1, 'die': 4, 'humiliate': 1, 'ordinary': 2, 'permanently': 1, 'lay': 1, 'wept': 1, 'fox': 35, 'appeared': 2, 'though': 2, 'apple': 1, 'tree': 2, 'play': 2, 'proposed': 1, 'tamed': 11, 'reflection': 1, 'looking': 15, 'guns': 1, 'hunt': 3, 'troublesome': 1, 'chickens': 5, 'create': 2, 'ties': 2, 'boy': 4, 'boys': 1, 'foxes': 1, 'tame': 6, 'shes': 8, 'sees': 2, 'kinds': 1, 'hunters': 3, 'nothings': 1, 'perfect': 1, 'sighed': 1, 'returned': 2, 'monotonous': 1, 'filled': 1, 'sunshine': 1, 'footsteps': 2, 'underground': 1, 'burrow': 1, 'music': 3, 'wheat': 5, 'fields': 2, 'bread': 1, 'wheal': 1, 'hair': 3, 'gold': 2, 'remind': 1, 'readymade': 1, 'stores': 2, 'patient': 1, 'ways': 1, 'corner': 1, 'eye': 1, 'language': 1, 'source': 1, 'misunderstandings': 1, 'closer': 2, 'return': 1, 'afternoon': 1, 'gets': 1, 'happier': 1, 'discover': 1, 'costs': 1, 'prepare': 1, 'heart': 9, 'rites': 1, 'rite': 2, 'hour': 1, 'dance': 1, 'village': 3, 'girls': 1, 'thursdays': 2, 'stroll': 1, 'vineyards': 1, 'danced': 2, 'chose': 1, 'holiday': 1, 'near': 2, 'weep': 2, 'gift': 1, 'humbled': 1, 'passerby': 1, 'sheltered': 1, 'behind': 1, 'killed': 1, 'complained': 1, 'boasted': 1, 'clearly': 2, 'essential': 2, 'makes': 3, 'forgotten': 1, 'truth': 1, 'mustnt': 2, 'responsible': 5, 'forever': 1, 'railway': 1, 'switchman': 7, 'travelers': 3, 'bundles': 1, 'dispatch': 1, 'trains': 2, 'brightly': 3, 'express': 4, 'train': 3, 'roaring': 1, 'thunder': 1, 'switchmans': 1, 'cabin': 1, 'engineer': 1, 'locomotive': 1, 'thundered': 2, 'opposite': 1, 'exchange': 1, 'werent': 1, 'past': 2, 'chasing': 2, 'else': 3, 'yawning': 1, 'pressing': 1, 'noses': 1, 'windowpanes': 1, 'spend': 2, 'rag': 1, 'doll': 1, 'becomes': 1, 'cry': 2, 'lucky': 1, 'salesclerk': 4, 'sold': 1, 'pills': 2, 'invented': 1, 'quench': 1, 'drink': 7, 'sell': 1, 'save': 2, 'experts': 1, 'calculated': 1, 'fifty': 1, 'fiftythree': 2, 'fountain': 3, 'eighth': 1, 'drop': 1, 'supply': 1, 'pleasant': 1, 'repaired': 1, 'reasoning': 1, 'hungry': 1, 'thirsty': 4, 'sunlight': 1, 'exasperated': 1, 'vastness': 1, 'started': 2, 'walking': 6, 'several': 1, 'noticed': 1, 'dream': 2, 'somewhat': 2, 'feverish': 1, 'memory': 1, 'questioning': 1, 'ridges': 1, 'moonlight': 1, 'dune': 1, 'shines': 1, 'sings': 1, 'hides': 1, 'sands': 1, 'legend': 1, 'buried': 1, 'searched': 1, 'cast': 1, 'spell': 1, 'hid': 1, 'depths': 1, 'agree': 1, 'falling': 1, 'asleep': 3, 'picked': 1, 'carrying': 1, 'fragile': 3, 'actually': 1, 'moon': 1, 'closed': 2, 'locks': 1, 'trembling': 1, 'shell': 3, 'lips': 2, 'parted': 1, 'half': 1, 'moves': 1, 'loyalty': 1, 'image': 1, 'shining': 1, 'within': 2, 'flame': 1, 'protected': 1, 'gust': 1, 'blow': 1, 'rush': 1, 'circles': 1, 'wells': 3, 'holes': 1, 'dug': 2, 'dreaming': 1, 'pulley': 7, 'bucket': 3, 'grasped': 1, 'working': 1, 'groaned': 1, 'weather': 1, 'vane': 1, 'groans': 1, 'weve': 1, 'singing': 1, 'tire': 1, 'heavy': 4, 'hoisted': 1, 'edge': 1, 'song': 2, 'ears': 2, 'glisten': 1, 'stilltrembling': 1, 'hed': 1, 'feast': 1, 'beneath': 1, 'present': 4, 'christmastree': 1, 'midnight': 1, 'mass': 1, 'peoples': 1, 'smiles': 1, 'christmas': 1, 'received': 1, 'blind': 1, 'drunk': 1, 'breathe': 1, 'honeycolored': 1, 'promise': 2, 'knowa': 1, 'glanced': 1, 'cabbages': 1, 'unfair': 1, 'boas': 2, 'thatll': 2, 'handed': 1, 'plans': 1, 'tomorrow': 2, 'anniversary': 2, 'blushed': 3, 'grief': 1, 'occurred': 1, 'accident': 1, 'region': 1, 'returning': 1, 'hesitantly': 1, 'blushes': 1, 'reassured': 2, 'ruin': 1, 'stone': 1, 'wall': 6, 'legs': 1, 'dangling': 1, 'heard': 1, 'tracks': 1, 'yards': 1, 'poison': 2, 'suffer': 2, 'pounding': 1, 'foot': 1, 'front': 1, 'yellow': 3, 'snakes': 3, 'kill': 1, 'seconds': 1, 'revolver': 1, 'stepped': 1, 'flowed': 1, 'trickling': 1, 'hurrying': 1, 'slipped': 1, 'faint': 1, 'metallic': 1, 'catch': 2, 'white': 1, 'loosened': 1, 'wore': 1, 'moistened': 1, 'temples': 1, 'round': 1, 'beating': 1, 'shot': 1, 'successful': 1, 'beyond': 1, 'today': 1, 'happening': 1, 'dropping': 1, 'headlong': 1, 'abyss': 1, 'remote': 1, 'waited': 1, 'reviving': 1, 'frightened': 4, 'chilled': 1, 'irreparable': 1, 'bear': 1, 'hearing': 2, 'spring': 1, 'fresh': 2, 'itll': 11, 'above': 1, 'meeting': 1, 'guides': 1, 'scholars': 1, 'problems': 1, 'open': 1, 'window': 1, 'fun': 3, 'crazy': 1, 'nasty': 2, 'trick': 1, 'played': 1, 'bells': 4, 'suffering': 1, 'anxious': 2, 'fast': 1, 'determination': 1, 'hand': 1, 'dead': 1, 'body': 3, 'abandoned': 1, 'disheartened': 1, 'nice': 1, 'rusty': 1, 'pour': 1, 'springs': 1, 'weeping': 1, 'unable': 1, 'step': 1, 'flash': 1, 'motionless': 1, 'instant': 1, 'falls': 1, 'alive': 1, 'fatigue': 1, 'isnot': 1, 'listening': 1, 'forgot': 2, 'leather': 1, 'strap': 1, 'fastened': 1, 'maybe': 1, 'eaten': 3, 'keeps': 1, 'distracted': 1, 'changes': 1, 'loveliest': 1, 'saddest': 1, 'landscape': 3, 'preceding': 1, 'page': 1, 'disappeared': 1, 'recognizing': 1, 'beg': 1, 'laughs': 1, 'enjoyed': 1, 'reading': 1, 'httpenglishebooksnet': 1, 'fascinating': 1, 'exciting': 1}
  1. 어린왕자 텍스트 파일을 읽어와서 단어가 등장하는 횟수 카운트(counts 딕셔너리에 저장)
import operator
import string

#1. 어린왕자 텍스트 파일을 읽어와서 단어가 등장하는 횟수 카운트(counts 딕셔너리에 저장)
fhand = open('./data/thelittleprincess.txt')

counts = dict()
for line in fhand:
    line = line.rstrip()
    line = line.translate(line.maketrans('', '', string.punctuation))
    line = line.lower()
    words = line.split()
    for word in words:
        if word not in counts:
            counts[word] = 1
        else:
            counts[word] += 1

#2. counts 딕셔너리의 등장 횟수 '값'에 따라 정렬
sorted_counts = sorted(counts.items(), key=operator.itemgetter(1), reverse = True) 

print(sorted_counts[:100])
[('the', 829), ('i', 403), ('a', 396), ('to', 366), ('and', 333), ('of', 278), ('he', 255), ('you', 252), ('little', 232), ('prince', 171), ('that', 166), ('was', 161), ('said', 158), ('my', 143), ('but', 140), ('it', 136), ('for', 132), ('in', 130), ('me', 114), ('is', 107), ('on', 105), ('be', 102), ('his', 97), ('one', 96), ('have', 90), ('at', 85), ('all', 85), ('its', 83), ('are', 82), ('what', 77), ('if', 75), ('so', 74), ('as', 71), ('they', 69), ('then', 69), ('had', 69), ('no', 65), ('this', 65), ('planet', 65), ('him', 64), ('very', 61), ('not', 59), ('with', 58), ('like', 58), ('them', 57), ('im', 57), ('when', 53), ('from', 49), ('do', 49), ('flower', 49), ('by', 48), ('there', 45), ('good', 45), ('your', 43), ('never', 42), ('an', 41), ('who', 41), ('stars', 40), ('out', 40), ('too', 39), ('time', 38), ('would', 38), ('know', 38), ('sheep', 38), ('up', 37), ('where', 37), ('can', 36), ('just', 36), ('fox', 35), ('again', 33), ('dont', 33), ('about', 32), ('asked', 32), ('she', 32), ('only', 31), ('youre', 31), ('more', 30), ('here', 29), ('made', 29), ('king', 29), ('or', 28), ('nothing', 28), ('were', 28), ('chapter', 27), ('answered', 27), ('which', 27), ('thats', 27), ('how', 27), ('come', 27), ('course', 26), ('will', 25), ('ill', 25), ('now', 25), ('her', 25), ('been', 24), ('people', 24), ('man', 24), ('way', 24), ('youll', 24), ('make', 23)]

! euc-kr로 바로 저장하면 인코딩 깨지는 문제 -> 확인 필요
영어 단어를 차례대로 naver dictionary로 검색하여 내용을 크롤링하여 저장한다.

import urllib.request
from bs4 import BeautifulSoup
counts2 = {}

def f_word(find_word) :
    url = urllib.request.Request("http://m.endic.naver.com/search.nhn?searchOption=all&query=" + find_word)
    data = urllib.request.urlopen(url).read().decode()
    bs = BeautifulSoup(data,'lxml') 
    word = bs.find_all('span',attrs={'class':'fnt_k05'})
    return word

#4. 크롤링한 결과를 csv 파일에 출력
import csv    
f = open('./data/wordbook.csv', 'w', encoding='utf-8', newline='')
w = csv.writer(f)

for i, j in sorted_counts[:100] :
    result=[]
    if len(i) > 4 :
        counts2[i] = j
        result.append(i)
        for k in f_word(i) :
            result.append(k.text)
        w.writerow(result)
            
f.close()

단어를 빈도순으로 word cloud 그려주기

from os import path
from PIL import Image
import numpy as np
import matplotlib.pyplot as plt

from wordcloud import WordCloud, STOPWORDS, ImageColorGenerator

text = open(path.join('./data/thelittleprincess.txt')).read()

alice_coloring = np.array(Image.open(path.join("./data/prince.png")))
stopwords = set(STOPWORDS)
stopwords.add("chapter")

wc = WordCloud(background_color="white", max_words=3000, mask=alice_coloring,
               stopwords=stopwords, max_font_size=300, random_state=500)

wc.generate(text)

# create coloring from image
image_colors = ImageColorGenerator(alice_coloring)

# show
plt.figure(figsize=(20,10))
plt.imshow(wc, interpolation="bilinear")
plt.axis("off")
plt.savefig('little180809.png', dpi = 100)
plt.show()

wordcloud

실행 후 생성된 csv 파일을 열어보면 단어와 단어 뜻이 함께 잘 저장되어 있는 것을 확인할 수 있다.
result

Reference

  • https://pypi.org/project/Wikiprw3eedia-API/
  • https://github.com/greatsong/pycon2018/blob/master/4%EA%B5%90%EC%8B%9C%20-%20%EC%98%81%EC%96%B4/4.%20%EC%96%B4%EB%A6%B0%EC%99%95%EC%9E%90%20%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8.ipynb

실행해 본 후 추가 개선 필요한 사항

  • 일반 파일 ascii / utf-8 디코딩 에러
  • 네이버 사전 뿐만 아니라 영영 사전 또는 wikipedia에서 단어 검색하기
  • png 파일 outline 따라 word cloud 그리기

댓글남기기