1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/usr/bin/env python
# -*- coding: UTF-8 -*-

"""
For mortals Peace has blessings in her hands, plenty and poesy's nectared flowers. 
And for the immortals thighs of oxen and long-fleeced sheep burn in yellow flames on 
    rich-carved altars. 
Athletic sports and the flute and festive dances busy the young.
But in the shields' iron-bound handles the tawny spider weaves her webs, and the 
    long-shafted spear-heads and double-edged swords are marred with rust.
Nor is the brazen clarion heard frightening sweet slumber, foul-caresser, from the eyelids.
But joyous revelry fills the streets, and notes of love-songs tremble in the air.
"""

# Syllable lists
syllables = {
        'hard sound': [
            'for', 'poe', 'nec', 'tar', 'for', 'long', 'burn', 'yell', 'let',
            'dan', 'but', 'bound', 'taw', 'long', 'dou', 'rust', 'bra',
            'clar', 'foul', 'car', 'lid', 'but', 'joy', 'trem'
            ],
        'soft sound': [
            'mor', 'in', 'han', 'flow', 'mor', 'thigh', 'flee', 'in', 'on',
            'all', 'flu', 'fes', 'young', 'in', 'han', 'web', 'are', 'mar',
            'nor', 'fri', 'ing', 'ress', 'from', 'eye', 'ous', 'fill', 'no',
            'song', 'in'
            ],
        'hard noise': [
            'tal', 'ble', 'ds', 'ty', 'rd', 'tal', 'ox', 'st', 'ms', 'carv',
            'd', 'tars', 'tic', 'ts', 't', 'ds', 'bs', 'fted', 'spear', 'ds',
            'ble', 'edged', 'ds', 'rd', 'd', 'ten', 'ds', 's', 'stree', 'ts',
            'ts', 's', 'ble'
            ],
        'soft noise': [
            'ings', 'her', 'sy', 'wer', 'of', 'en', 'flay', 'rich',
            'ath', 'sez', 'sy', 'vs', 'her', 'sha', 'hea', 'with',
            'zn', 'her', 'er', 'l', 'ry', 'of', 's', 's', 's', 's', 's', 's'
            ],
        'hard sound-noise': [
            'peace', 'plen', 'the', 'im', 'low', 'spor', 'the', 'tiv', 'biz',
            'the', 'the', 'dles', 'the', 'ny', 'der', 'the', 'the', 'ber',
            'the', 'rev', 'the', 'the'
            ],
        'soft sound-noise': [
            'sheep', 'has', 'sheil', 'and', 'sweet', 'slum', 'and', 'and', 'and',
            'and', 'iron', 'spi', 'weav', 'and', 'and', 'swor', 'is', 'rion',
            'and', 'love', 'air'
            ]
        }

"""
Peace give birth to great wealth for mortals,
to the flowers of honey-sweet songs,
to sacrifices for the gods --
thighs of oxen and fleecy sheep
burning in a blond flame on decorated altars --
to young men's concern for athletics, flute-playing and good times.
On the iron grips of shields
red-brown spiders spin their webs;
rust subdues sharp spears
and double-edged swords.
There is no noise of bronze trumpets,
and sleep -- honey for the mind --
still soothes the heart at dawn:
it is not pillaged from men's eyelids.
The streets are laden with lovely feasts,
and the singing of boys rises like a flame.
"""