# This is a Stand-Alone Conversational Interface for a municipality. It starts with
# a bunch of definitions, but you can create your own knowledge base and vocab
# using the snippet located at: http://www.pastie.org/574682
#
# Copyright 2009, Jerry Felix.
#
# Use Freely for non-commercial use,
# but please send me an email at amyiris@amyiris.com so I can
# keep you up-to-date on developments!
vocab = {'code': [6], 'barking': [5], 'pothole': [3], 'meetings': [26], 'obtain': [29, 34],
'facilities': [19], 'planning': [42], 'find': [22, 35, 49], 'restrictions': [50], 'death': [34],
'police': [10], 'burning': [31], 'zone': [35], 'flood': [35], 'personal': [45], 'dispose': [14,
16], ',': [6, 23, 34, 54], "neighbor's": [5], 'hall': [9], 'bike': [32], 'population': [23],
'local': [23], 'rules': [20, 27], 'demographics': [23], 'safe': [51], 'municipal': [47],
'cultural': [23], 'birth': [34], 'fall': [15], 'report': [2, 3, 4, 6], 'ticket': [28], 'day':
[11], 'arrange': [44], 'recreation': [19], 'necessary': [30], 'like': [6], 'held': [26],
'taxes': [46], 'activity': [37], 'sirens': [18], 'right': [54], 'financial': [1], 'guidelines':
[20], 'street': [2], 'parking': [27], 'home': [1, 43], 'development': [42], 'event': [41],
'special': [41], 'container': [13], 'pet': [33], 'assistance': [0, 1], 'outside': [16],
'certificates': [34], 'checks': [43], '?': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 31, 32, 34, 36, 37, 38, 39, 40, 41,
42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54], 'available': [0], 'noise': [4], 'extend': [54],
'schedule': [41], 'hours': [8], 'qualify': [1], 'hazard': [35], 'members': [7], 'address': [45],
'change': [45], 'yard': [16, 20], 'license': [29, 32, 33], 'leaves': [15], 'job': [25], 'tour':
[44], 'swine': [17], 'pick': [15], 'permit': [30], 'repair': [3], 'garbage': [12], 'recycling':
[11], 'municipality': [15, 25, 27, 36, 38, 50, 54], 'number': [10], 'vacation': [43],
'improvements': [1], 'brush': [16], 'backyard': [31], 'vote': [48], 'apply': [25, 30], '.':
[47], 'open': [31], 'zoning': [53], 'city': [9], 'commission': [26, 42], 'leash': [40],
'sports': [36], 'whom': [6], 'center': [37], 'station': [44], 'call': [10, 47], 'recyclables':
[13], 'collected': [11, 12], 'waste': [14, 16], 'household': [14], 'building': [30],
'diversity': [23], 'way': [54], 'name': [47], 'fire': [44], 'turned': [47], 'hazardous': [14],
'/garage': [20], 'phone': [10], 'hear': [18], 'happening': [18], '/off': [47], 'bill': [45],
'flu': [17], 'dogs': [40], 'growth': [23], 'marriage': [29, 34], 'freedom': [21], 'meet': [42],
'property': [22, 35, 45, 46, 53, 54], 'election': [49], 'discolored': [51], 'file': [21],
'allowed': [31], 'tax': [45], 'sales': [20], 'rent': [19], 'council': [7], 'need': [3, 32, 47],
'information': [21, 23, 46, 49], 'pay': [28], 'parks': [19], 'easements': [22], 'trick-or-treating': [24], 'curfew': [38], 'trash': [11], 'week': [16], 'fluoride': [52], 'added':
[52], 'attend': [26], 'collection': [16], 'holidays': [12], 'water': [39, 50, 51, 52],
'services': [47], 'law': [40], 'senior': [37], 'lawn': [39], 'branches': [16], 'mortgage': [0],
'programs': [36], 'light': [2], 'register': [48], 'request': [21], 'dog': [5], 'contact': [6,
7], 'far': [54], 'mailing': [45], 'violation': [4, 6]}
synvocab = {'limited': [41], 'middleman': [6, 7], 'reprocess': [11], 'hitch': [43, 44],
'entropy': [49, 21, 46, 23], 'forgather': [26, 42], 'mansion': [9],
'methamphetamine_hydrochloride': [11], 'bike': [32], 'recycle': [11], 'open_fire': [44], 'risk':
[35], 'stipulate': [1], 'rising_tide': [35], 'govern': [27, 20], 'encounter': [16, 49, 18, 35,
22, 42, 26], 'flowage': [35], 'coming_together': [26], 'bequeath': [15], 'rollick': [36],
'bicycle': [32], 'direct': [45], 'street': [2], 'spread_out': [31], 'tether': [40], 'neb': [45],
'hold_back': [26, 43], 'numeral': [10], 'cull': [15], 'menage': [1, 43, 14], 'gather_up': [11,
12], 'stamping_ground': [3], 'fervency': [44], 'dorm': [9], 'path': [54], 'wastefulness': [16,
14], 'conform_to': [26, 42], 'chink': [43], 'substance': [37], 'get_a_line': [18], 'study': [2,
3, 4, 6], 'permit': [32, 33, 29, 30, 31], 'midway': [37], 'secure': [51], 'gloaming': [15],
'dearie': [33], 'total': [10, 52], 'plow': [45, 47], 'throw_away': [16, 14], 'prescript': [27,
20], 'military_commission': [26, 42], 'call': [10, 45, 47], 'strike': [15], 'give_chase': [40,
5], 'break_up': [15], 'run_around': [36], 'reign': [27, 20], 'go_out': [15], 'ware': [16, 14],
'copse': [16], 'room': [54], 'work': [47], 'pay_up': [28], 'foliage': [15], 'appendage': [7],
'give': [25, 26, 31, 28, 30, 15], 'household': [1, 43, 14], 'involve': [32, 3, 47], 'want': [32,
3, 47], 'enchantress': [18], 'cope_with': [26, 42], 'end': [34], 'provide': [31, 15],
'sports_meeting': [42], 'feature': [36], 'infringement': [4, 6], 'political_program': [36],
'duty_tour': [44], 'gamble': [35], 'swine': [17], 'credential': [34], 'unhorse': [2], 'utilise':
[25, 30], 'law': [40, 10], 'scourge': [16, 14], 'detent': [40, 5], 'maintain': [26], 'order':
[44], 'restriction': [50], 'deform': [47], 'devote': [28], 'pothole': [3], 'misdemeanor': [4,
6], 'vary': [45], 'see_to_it': [43], 'befall': [18], 'enlistment': [44], 'fit': [26, 43, 42],
'personal': [45], 'fix': [3], 'striking': [6, 7], 'out_of_doors': [16], 'bespeak': [21],
'precipitate': [15], 'descend': [15], 'slate': [28], 'safe': [51], 'zoning': [53], 'break':
[43], 'modification': [45], 'weenie': [40, 5], 'meat': [37], 'brightness': [2], 'filling': [15],
'luck': [35], 'self-possessed': [11, 12], 'concord': [26], 'carry': [26, 54], 'combust': [31],
'decree': [27, 20], 'sparkle': [2], 'mend': [3], 'get_hold': [49, 35, 22], 'tierce': [40],
'interchange': [45], 'midpoint': [37], 'inscribe': [6], 'group_meeting': [26], 'Light_Within':
[2], 'stochasticity': [4], 'substantiation': [43], 'pay_off': [28], 'center_of_attention': [37],
'penury': [32, 3, 47], 'voter_turnout': [48], 'restrict': [1], 'enumerate': [10], 'service':
[47], 'tot': [52], 'upshot': [41], 'postulate': [32, 3, 47], 'listen': [18], 'reparation': [3],
'hangout': [3], 'shopping_centre': [37], 'serve': [26, 47], 'get_off': [2, 45], 'emaciate': [16,
14], 'linguistic_rule': [27, 20], 'incur': [49, 34, 35, 29, 22], 'heart_and_soul': [37],
'requisite': [30], 'peculiar': [41], 'peril': [35], 'romp': [36], 'nominate': [47], 'trey':
[40], 'H2O': [50, 51, 52, 39], 'flame': [44], 'open_air': [31], '24-hour_interval': [11],
'telephone_call': [10, 47], 'fashion': [54], 'resound': [4], 'glass': [11], 'give_the_sack':
[44], 'ethnical': [23], 'manner': [54], 'increment': [23], 'protract': [54], 'make_up': [28],
'fitting': [42], 'curfew': [38], 'greenback': [45], 'coif': [44], 'glow': [31], 'encipher': [6],
'send_away': [44], 'partition': [35, 53], 'flow': [15], 'dog': [40, 5], 'swamp': [35],
'reputation': [2, 3, 4, 6], 'principle': [27, 20], 'voting': [48], 'mailing': [45], 'scream':
[10, 47], 'reserve': [26, 31], 'luminance': [2], 'nascence': [34], 'plectrum': [15], 'alight':
[2], 'assembling': [16], 'light_touch': [16], 'nascency': [34], 'attend_to': [26], 'caper':
[25], 'refreshment': [19], 'maturation': [42, 23], 'theme': [2, 3, 4, 6], 'rick': [47], 'lodge':
[21], 'hoard': [11, 12], 'ardor': [44], 'watch': [43], 'preferred': [33], 'permissive_waste':
[16, 14], 'wedding': [34, 29], 'report': [2, 3, 4, 6], 'student_residence': [9], 'suffrage':
[48], 'bank_note': [45], 'one_thousand': [16, 20], 'key_out': [47], 'reference': [45], 'result':
[41, 15], 'nub': [37], 'subject': [31], 'combustion': [31], 'rightfield': [54], 'away': [16],
'wienerwurst': [40, 5], 'view_as': [26], 'discovery': [49, 35, 22], 'wage': [28], 'triplet':
[40], 'extend': [54], 'keep_back': [26], 'weak': [2], 'unfold': [54, 31], 'picking': [15],
'draw_out': [54], 'matrimony': [34, 29], 'ilk': [6], 'body_process': [37], 'haphazardness': [4],
'pith': [37], 'merging': [26], 'widen': [54], 'public_figure': [47], 'speak': [45],
'constabulary': [40, 10], 'union': [34, 29], 'intrusion': [4, 6], 'three': [40], 'advert': [26,
47], 'commission': [26, 42], 'remediate': [3], 'frisk': [36], 'electrocution': [31], 'dismiss':
[44], 'confinement': [50], 'deepen': [45], 'pecker': [45], 'topical_anesthetic': [23], 'weewee':
[50, 51, 52, 39], 'lessen': [15], 'employ': [25, 30], 'birdcall': [10, 47], 'aid': [0, 1],
'property': [35, 53, 22, 54, 45, 46], 'revolve_around': [37], 'sting': [31], 'characterize':
[1], 'elicit': [44], 'exterior': [16], 'municipal': [47], 'descent': [15], 'indigence': [32, 3,
47], 'find_fault': [15], 'split': [19], 'fix_up': [44], 'wheel': [32], 'bank_bill': [45], 'nib':
[45], 'hang': [26, 15], 'aggregation': [16], 'overt': [31], 'cycle': [32], 'diverseness': [23],
'pull_up_stakes': [15], 'contact': [26, 42, 6, 7], 'impediment': [43], 'natural_action': [37],
'identification_number': [10], 'perpetration': [26, 42], 'out-of-doors': [31], 'mending': [3],
'identify': [47], 'prognosticate': [10, 47], 'run_across': [26, 42], 'bit': [10], 'note': [45],
'guidepost': [20], 'shout': [10, 47], 'spread': [31], 'trine': [40], 'easy': [2], 'hap': [18],
'natural_process': [37], 'usable': [0], 'reuse': [11], 'troika': [40], 'cultural': [23],
'dismount': [2], 'birth': [34], 'security': [34], 'fluoride': [52], 'right': [54], 'squander':
[16, 14], 'deal': [45], 'elderly': [37], 'accost': [45], 'election': [49], 'invoice': [45],
'animate': [3], 'natural_law': [40], 'turn_over': [47], 'bring_up': [47], "banker's_bill": [45],
'right_smart': [54], 'core': [37], 'burn': [44, 31], 'inter-group_communication': [6, 7],
'term_of_enlistment': [44], 'post': [44, 45], 'limitation': [50], 'lightheaded': [2],
'multifariousness': [23], 'ensure': [43], 'faint': [2], 'facility': [19], 'infraction': [4, 6],
'set_up': [44], 'accommodate': [26], 'computer_programme': [36], 'obligate': [26],
'gross_sales': [20], 'marriage_ceremony': [34, 29], 'support': [26], 'furcate': [16], 'way':
[54], 'fork': [16], 'offer': [54], 'hear': [18], 'surrender': [15], 'extremity': [7],
'diagnose': [47], 'trio': [40], 'toss': [16, 14], 'in_good_order': [54], 'vivify': [3], 'check':
[26, 43], 'posting': [45], 'make_noise': [4], 'encrypt': [6], 'dying': [34], 'stake': [35],
'hollo': [10, 47], 'food_waste': [12], 'holding': [35, 22, 45, 46, 53, 54], 'frolic': [36],
'go_on': [18], 'handicap': [43], 'liquidate': [16, 14], 'mightily': [54], 'dissipation': [16,
14], 'discharge': [44], 'entrust': [15], 'ramify': [16], 'cast_aside': [16, 14], 'happening':
[18], 'phone': [10, 47], 'cross-file': [48], 'ramification': [16], 'go_off': [44], 'handbill':
[45], 'find_oneself': [49, 35, 22], 'lend_oneself': [25, 30], 'take_hold': [26], 'pay_heed':
[26], 'focus': [37], 'wakeful': [2], 'daytime': [11], 'skin': [5], 'rot': [16, 14],
'take_place': [18], 'zona': [35], 'hold': [34, 43, 25, 26, 29, 30], 'zone': [35, 53], 'open_up':
[31], 'show': [48], 'charge': [26, 21, 42, 45], 'compensate': [3, 28, 54], 'folderol': [11],
'Day': [11], 'Charles_Martin_Hall': [9], 'blast': [44], 'betterment': [1], 'materialize': [18],
'prophylactic': [51], 'tear': [19], 'telephone_number': [10], 'leave': [31, 15], 'settle': [15],
'pauperism': [32, 3, 47], 'dip': [15], 'accumulation': [16], 'center_field': [37], 'occurrence':
[18], 'pore': [37], 'discover': [49, 18, 35, 22, 47], 'lark_about': [36], 'frankfurter': [40,
5], 'assistance': [0, 1], 'international': [16], 'appeal': [16], 'satisfy': [26, 42], 'water':
[50, 51, 52, 39], 'entertain': [26], 'address': [10, 45, 47], 'brightness_level': [2], 'change':
[45], 'exemption': [21], 'boast': [36], 'shift': [45], 'exploitation': [42], 'triad': [40],
'run_a_risk': [35], 'extra': [41], 'committal': [26, 42], 'light-colored': [2], 'illumination':
[2], 'water_system': [50, 51, 52, 39], 'visit': [10, 47], 'ravage': [16, 14], 'checkout': [43],
'afford': [31], 'aright': [54], 'ignitor': [2], 'change_by_reversal': [47], 'pretend': [35],
'flu': [17], 'sour': [47], 'growing': [42, 23], 'cad': [40, 5], 'heart': [37], 'plaza': [37],
'earphone': [10], 'figure': [10, 47], 'downfall': [15], 'predict': [10, 47], 'attribute': [35,
22, 45, 46, 53, 54], 'chip': [43], 'chit': [43], 'nerve_center': [37], 'council': [7],
'provoke': [44], 'occur': [18], 'exceptional': [41], 'farm_out': [25], 'birdsong': [10, 47],
'terzetto': [40], 'home_plate': [1, 43], 'data': [49, 21, 46, 23], 'grow': [47], 'burn_up':
[31], 'fire_up': [2], 'flood_lamp': [35], 'outpouring': [35], 'switch': [45], 'skirmish': [16],
'local_anesthetic': [23], 'telephone_set': [10], 'railway_yard': [16, 20], 'self-collected':
[11, 12], 'put_out': [54], 'police': [40, 10], 'platform': [36], 'fall_down': [15], 'mail':
[45], 'tour_of_duty': [44], 'petition': [21], 'give_the_axe': [44], 'savoir-faire': [45],
'halt': [26, 43], 'fling': [16, 14], 'twilight': [15], 'hall': [9], 'name': [10, 47], 'plunk':
[15], 'drop': [15], 'endangerment': [35], 'regulation': [27, 20], 'call_up': [10, 47],
'retrieve': [49, 35, 22], 'breakthrough': [49, 35, 22], 'happen': [49, 18, 35, 22], 'concur':
[26], 'opened': [31], 'interference': [4], 'increase': [23], 'Job': [25], 'ingathering': [16],
'bestow': [52], 'formula': [27, 20], 'dominate': [27, 20], 'correct': [54], 'go_for': [25, 26,
30], 'G': [16, 20], 'ascertain': [49, 35, 22, 43], 'flyer': [45], 'light-headed': [2],
'alluvion': [35], 'the_right_way': [54], 'card': [45], 'care': [6], 'advance': [1], 'come_up':
[49, 35, 22], 'right_hand': [54], 'turn': [10, 44, 47], 'enkindle': [44], 'place': [1, 35, 54,
43, 44, 45, 46, 53, 22], 'recompense': [3], 'outcry': [10, 47], '1000': [16, 20], 'touch_on':
[3], 'dwelling': [1, 43], 'remuneration': [28], 'municipality': [50, 36, 54, 38, 25, 27, 15],
'sluttish': [2], 'nativity': [34], 'habitation': [1, 43], 'vote': [48], 'ring': [10, 47],
'open': [31], 'languish': [16, 14], 'city': [9], 'district': [35, 53], 'selective_information':
[49, 21, 46, 23], 'bite': [31], 'checker': [43], 'manor_hall': [9], 'convention': [27, 20],
'check-out_procedure': [43], 'cite': [47], 'taxation': [45, 46], 'broadcast': [36],
'blackguard': [40, 5], 'peck': [15], 'specify': [1], 'population': [23], 'rightfulness': [54],
'local_anaesthetic': [23], 'easement': [22], 'require': [32, 3, 47], 'venture': [35], 'outcome':
[41], 'go_after': [40, 5], 'rend': [19], 'Trachinotus_falcatus': [30], 'turned': [47],
'summercater': [36], 'Call': [10, 47], 'rent': [19], 'get_out': [15], 'commissioning': [26, 42],
'recover': [49, 35, 22], 'adjudge': [26], 'revenue_enhancement': [45, 46], 'take': [32, 26, 3,
47], 'interior': [1, 43], 'Hall': [9], 'economic_rent': [19], 'normal': [27, 20], 'track': [40,
5], 'assault': [4, 6], 'lawn': [39], 'get_down': [2], 'link': [6, 7], 'senior': [37], 'perch':
[2], 'give_ear': [26], 'certification': [34], 'chuck_out': [16, 14], 'fervour': [44],
'trespass': [4, 6], 'flack': [44], 'mansion_house': [9], 'outside': [16], 'woof': [15],
'positron_emission_tomography': [33], 'lighter': [2], 'unfastened': [31],
'spousal_relationship': [34, 29], 'water_supply': [50, 51, 52, 39], 'yield': [28], 'workweek':
[16], 'Federal_Reserve_note': [45], 'burn_down': [44, 31], 'undefendable': [31], 'ravishment':
[4, 6], 'neutralise': [16, 14], 'kernel': [37], 'unaccented': [2], 'vizor': [45], 'phone_call':
[10, 47], 'parking': [27], 'sport': [36], 'detect': [49, 35, 22], 'mortgage': [0], 'dormitory':
[9], '3': [40], 'notice': [49, 35, 45, 22], 'ante_up': [28], 'pluck': [15], 'blame': [15],
'countenance': [30, 31], 'concentrate': [37], 'spark': [2], 'come': [10, 15], 'installation':
[19], 'residence': [9], 'centerfield': [37], 'file_away': [21], 'tour': [44], 'chase_after':
[40, 5], 'Death': [34], 'PET': [33], 'check_over': [43], 'leave_alone': [15], 'line_up': [49,
35, 22], 'deoxyephedrine': [11], 'tercet': [40], 'fervidness': [44], 'stretch': [54], 'certify':
[32, 33, 29], 'vacation': [43, 12], 'mark': [43], 'dependable': [51], 'sum_up': [52],
'direction': [26, 42, 54], 'gist': [37], 'thousand': [16, 20], 'foregather': [26, 42],
'observe': [49, 35, 22], 'external': [16], 'rest_home': [1, 43], 'unclouded': [2], 'best-loved':
[33], 'sound': [10], 'developing': [42], 'amend': [3], 'melioration': [1], 'scum': [11], 'ALIR':
[54], 'discolour': [51], 'contrive': [42], 'telephone': [10, 47], 'strain': [54], 'ontogeny':
[42, 23], 'doctor': [3], 'pay': [28], 'reanimate': [3], 'same': [6], 'be_after': [42], 'speech':
[45], 'lite': [2], 'Indian_file': [21], 'pan': [11], 'week': [16], 'defy': [26], 'assist': [0,
1, 26], 'cauterize': [31], 'decently': [54], 'postulation': [21], 'find_out': [49, 18, 35, 22,
43], 'solicitation': [16], 'alfresco': [16], 'force_out': [44], 'relief': [22], 'illume': [2],
'easing': [22], 'foyer': [9], 'dimension': [35, 22, 45, 46, 53, 54], 'computer_code': [6],
'tot_up': [52], 'desolate': [16, 14], 'burn_off': [31], 'grippe': [17], 'take_chances': [35],
'drivel': [12], 'accumulate': [11, 12], 'manse': [9], 'touch': [26, 42, 6, 7], 'halfway': [37],
'blow': [16, 14], 'death': [34], 'flood': [35], 'line_of_work': [25], 'domicile': [1, 43],
'improvement': [1], 'color': [51], 'poised': [11, 12], 'run_off': [16, 14], 'read': [48],
'ruler': [27, 20], 'quickness': [19], 'credentials': [34], 'fortune': [35], 'trumpery': [11],
'undefended': [31], 'preferent': [33], 'look_into': [43], 'fulfil': [26, 42], 'dwelling_house':
[1, 43], 'exposed': [31], 'nitty-gritty': [37], 'oblige': [26], 'exit': [15], 'moderate': [26,
43], 'declension': [15], 'refer': [47], 'metropolis': [9], 'business': [25], 'revivify': [3],
'give_birth': [34], 'squall': [10, 47], 'urban_center': [9], 'assemble': [26, 42], 'throw':
[26], 'placard': [45], 'capable': [31], 'favorite': [33], 'go_forth': [15], 'act': [10], 'twenty-four_hour_period': [11], 'threesome': [40], 'Asaph_Hall': [9], 'burning': [31], 'focus_on':
[37], 'check_mark': [43], 'garner': [11, 12], 'renovate': [3], 'harness': [27, 20],
'flood_tide': [35], 'determine': [49, 35, 22, 43], 'financial': [1], 'fill': [26, 42],
'natural_event': [18], 'stoppage': [43], 'project': [42], 'gibe': [43], 'pull': [19],
'receptive': [31], 'put_on': [25, 30], 'turn_to': [45], 'agree': [26, 43], 'waste_matter': [16,
14], 'weft': [15], 'describe': [2, 3, 4, 6, 47], 'sales': [20], 'measure_up': [1], 'deem': [26],
'file': [48, 21], 'corresponding': [6], 'deterrent': [43], 'hound': [40, 5], 'cream': [15],
'hot_dog': [40, 5], 'rubber': [51], 'trash': [11], 'go_over': [43], 'bounder': [40, 5],
'indemnify': [3], 'home_base': [1, 43], 'separate': [16], 'nerve_centre': [37], 'law_of_nature':
[40], 'peak': [45], 'go_away': [15], 'legal_philosophy': [40], 'building': [30], 'temptress':
[18], 'remote': [16], 'Marguerite_Radclyffe_Hall': [9], 'thriftlessness': [16, 14],
'sportswoman': [36], 'influenza': [17], 'forget': [15], 'codification': [6], 'alleviation':
[22], 'have_got': [26], 'call_off': [10, 47], 'commute': [45], 'throw_out': [16, 14], 'wanton':
[2], 'extraneous': [16], 'tail': [40, 5], 'program': [36], 'fervor': [44], 'safety': [51],
'news_report': [2, 3, 4, 6], 'case': [41], 'pull_in': [11, 12], 'song': [10, 47], 'far': [54],
'bechance': [18], 'candid': [31], 'fall': [2, 15], 'ticket': [28], 'condition': [1, 43],
'hebdomad': [16], 'randomness': [4], 'list': [10, 47], 'deftness': [19], 'programme': [36],
'Siren': [18], 'Christ_Within': [2], 'Granville_Stanley_Hall': [9], 'self-contained': [11, 12],
'design': [42], 'pass': [18, 54, 15], 'quicken': [3], 'compile': [11, 12], 'crepuscule': [15],
'sum': [52, 37], 'undecided': [31], 'nurse': [26], 'vociferation': [10, 47], 'K': [16, 20],
'loose': [2, 31], 'modify': [1, 45], 'hours': [8], 'elbow_room': [54], 'outgrowth': [16, 23],
'cubic_yard': [16, 20], 'pickaxe': [15], 'amount': [10], 'summate': [52], 'pick': [15],
'action': [37], 'right_wing': [54], 'depart': [15], 'family': [1, 43, 14], 'usurpation': [4, 6],
'Former_Armed_Forces': [54], 'ask': [32, 3, 47], 'establish': [30], 'eye': [37], 'destination':
[45], 'shopping_center': [37], 'flak': [44], 'middle': [37], 'data_file': [21], 'mall': [37],
'lightsome': [2], 'learn': [18, 43], 'gallop': [54], 'autumn': [15], 'plectron': [15], 'dress':
[44], 'earpiece': [10], 'information': [49, 21, 46, 23], 'siren': [18], 'equanimous': [11, 12],
'irrigate': [50, 51, 52, 39], 'utilize': [25, 30], 'earnings': [28], 'Fall': [15],
'police_force': [40, 10], 'light_source': [2], 'calorie-free': [2], 'lighting': [2],
'adventure': [35], 'backyard': [31], 'choice': [15], 'refuse': [12], 'short': [2], 'deluge':
[35], 'register': [48, 21], 'dog-iron': [40, 5], 'wrench': [47], 'keep_down': [10], 'help': [0,
1], 'essence': [37], 'chiliad': [16, 20], 'urine': [50, 51, 52, 39], 'mission': [26, 42],
'held': [26], 'wiener': [40, 5], 'paper': [2, 3, 4, 6], 'committee': [26, 42], 'suffer': [26,
42], 'style': [54], 'Delilah': [18], 'assailable': [31], 'furbish_up': [3], 'resort': [3], 'wish-wash': [11], 'shopping_mall': [37], 'alter': [45], 'good': [51, 54], 'return': [15], 'evenfall':
[15], 'foot': [15], 'speculate': [25], 'curtilage': [16, 20], 'characterise': [1], 'downslope':
[15], 'harbor': [26], 'right-hand': [54], 'athletics': [36], 'take_into_account': [31], 'house':
[1, 43, 14], 'fixture': [3], 'event': [41], 'luminousness': [2], 'wedlock': [34, 29], 'deary':
[33], 'sustain': [26], 'darling': [33], 'issue': [41, 10], 'parturition': [34],
'centre_of_attention': [37], 'favored': [33], 'low-cal': [2], 'story': [2, 3, 4, 6], 'qualify':
[16, 1, 14], 'base': [1, 43], 'put': [44], 'coiffure': [44], 'unresolved': [31], 'diversion':
[19], 'liaison': [6, 7], 'circuit': [44], 'consequence': [41], 'devolve': [15], 'bushel': [3],
'feel': [49, 35, 22], 'number': [10], 'elder': [37], 'nursing_home': [1, 43], 'guess': [35],
'revive': [3], 'construct': [30], 'lobby': [9], 'leash': [40], 'station': [44], 'tangency': [6,
7], 'oversupply': [35], 'codswallop': [11], 'coppice': [16], 'option': [15], 'park': [19, 27],
'ferment': [47], 'anticipate': [10, 47], 'marriage': [34, 29], 'outdoors': [16, 31], 'kindle':
[44], 'declare': [26], 'risky': [14], 'residence_hall': [9], 'motivation': [32, 3, 47],
'justly': [54], 'give_up': [31], 'alike': [6], 'fall_out': [18], 'aged': [37], 'flaming': [44],
'click': [40, 5], 'internal': [1, 43], 'build': [30], 'play': [26, 36, 42], 'exsert': [54],
'take_on': [26, 42], 'promiscuous': [2], 'M': [16, 20], 'confluence': [26], 'cast_out': [16,
14], 'plan': [42, 36], 'services': [47], 'salary': [28], 'Charles_Francis_Hall': [9],
'take_a_chance': [35], 'clear': [2, 31], 'cover': [2, 3, 4, 6, 45, 54], 'clean': [2, 15],
'hindrance': [43], 'barren': [16, 14], 'jeopardy': [35], 'converge': [26, 42], 'outdoor': [16],
'fine': [28], 'find': [49, 34, 35, 20, 22, 18, 27, 29], 'occupation': [25], 'add_together':
[52], 'condom': [51], 'center_on': [37], 'devastate': [16, 14], 'entrance_hall': [9],
'permission': [32, 33, 29, 30], 'necessitate': [32, 3, 47], 'remedy': [3], 'cry': [10, 47],
'delegacy': [26, 42], 'alteration': [45], 'railyard': [16, 20], 'go_down': [15], 'vestibule':
[9], 'activity': [37], 'rivet': [37], 'set': [44], 'nibble': [15], 'bank_check': [43], 'plough':
[47], 'see': [49, 18, 35, 22, 42, 43, 26], 'arouse': [44], 'bark': [5], 'arm': [16],
'preparation': [42], 'leg': [16], 'idle': [2], 'piss': [50, 51, 52, 39], 'available': [0],
'add_up': [10, 52], 'distinguish': [47], 'irreverence': [4, 6], 'lightness': [2], 'useable':
[0], 'last': [34], 'reverse': [47], 'license': [32, 33, 29, 30], 'thou': [16, 20], 'out-of-door': [16], 'amass': [11, 12], 'flier': [45], 'consume': [16, 14], 'supply': [52], 'recycling':
[11], 'sweep': [16], 'harbour': [26], 'visible_light': [2], 'wrick': [47], 'godforsaken': [16,
14], 'decline': [15], 'raise': [44], 'Canis_familiaris': [40, 5], 'collected': [11, 12],
'meeting': [26], 'fire': [44, 31], 'convert': [45], 'demand': [32, 3, 47], 'swooning': [2],
'ternion': [40], 'look': [26], 'reach_out': [54], 'bill': [45], 'tolerate': [30, 31], 'rope':
[40], 'pace': [16, 20], 'computer_address': [45], 'fun': [36], 'chuckhole': [3], 'ducky': [33],
'rip': [19], 'call_for': [32, 3, 11, 12, 47, 21], 'run_into': [26, 42], 'chase': [40, 5],
'grant': [31], 'FAR': [54], 'misdemeanour': [4, 6], 'grand': [16, 20], 'wasteland': [16, 14],
'composition': [2, 3, 4, 6], 'right_on': [54], 'development': [42, 23], 'hallway': [9],
'chequer': [43], 'epithet': [47], 'stretch_forth': [54], 'ardour': [44], 'necessity': [30],
'come_across': [26, 42], 'task': [25, 45, 46], 'earmark': [31], 'older': [37], 'ontogenesis':
[42, 23], 'docket': [41], 'hotdog': [40, 5], 'chore': [25], 'jeopardize': [35],
'mean_solar_day': [11], 'discipline': [43], 'cut': [31], 'abstemious': [2], 'declivity': [15],
'snag': [19], 'format': [44], 'bid': [10, 47], 'displace': [44], 'quest': [21], 'jibe': [43],
'hold_in': [26, 43], 'emergence': [23], 'shabu': [11], 'collect': [11, 12], 'continue': [54],
'Radclyffe_Hall': [9], 'essential': [30], 'pick_up': [18, 11, 12], 'leafage': [15],
'delegation': [26, 42], 'mighty': [54], 'twinkle': [2], 'pet': [33], 'write_in_code': [6],
'prop': [35, 22, 45, 46, 53, 54], 'rule_of_thumb': [20], 'lark': [36], 'pee': [50, 51, 52, 39],
'phone_number': [10], 'run': [54], 'reach': [6, 7], 'tripping': [2], 'shine': [15], 'firing':
[44], 'pass_on': [15], 'offshoot': [16], 'bridle': [43], 'check_into': [43], 'pine_away': [16,
14], 'repair': [3], 'garbage': [12], 'recreate': [3], 'anteroom': [9], 'appropriate': [31],
'numerate': [10], 'adeptness': [19], 'poke_out': [54], 'syllabus': [36], 'pauperization': [32,
3, 47], 'poster': [45], 'tally': [43, 52], 'properly': [54], 'crank': [11], 'line': [25],
'info': [49, 21, 46, 23], 'hold_up': [26], 'growth': [42, 23], 'verification': [43], 'similar':
[6], 'flop': [54], 'haunt': [3], 'Parks': [19], 'curb': [26, 43], 'prevail': [26, 34, 27, 20,
29], 'fixing': [3], 'forebode': [10, 47], 'scraps': [12], 'photoflood': [35], 'confine': [26],
'Rosa_Parks': [19], 'brushing': [16], 'curriculum': [36], 'lend': [52], 'favourite': [33],
'waste_product': [16, 14], 'macerate': [16, 14], 'political_platform': [36], 'jurisprudence':
[40], 'declination': [15], 'ternary': [40], 'chalk': [11], 'name_and_address': [45], 'code':
[6], 'piddle': [50, 51, 52, 39], 'get_through': [6, 7], 'broaden': [54], 'come_about': [18],
'right_to_vote': [48], 'go': [44, 54], 'fourth-year': [37], 'send': [44, 45], 'call_on': [47],
'adjoin': [26, 42, 6, 7], 'go_to': [26], 'abode': [1, 43], 'confirmation': [43], 'assay': [43],
'take_in': [11, 12], 'written_report': [2, 3, 4, 6], 'foretell': [10, 47], 'materialise': [18],
'margin_call': [10, 47], 'arrange': [44], 'recreation': [19], 'uncovering': [49, 35, 22], 'try':
[18], 'man_and_wife': [34, 29], 'enforce': [25, 30], 'assemblage': [16], 'regain': [49, 35, 22],
'encroachment': [4, 6], 'methamphetamine': [11], 'practice_of_law': [40], 'put_away': [16, 14],
'deputation': [26, 42], 'append': [52], 'shout_out': [10, 47], 'edifice': [30], 'applesauce':
[11], 'exchange': [45], 'Light': [2], 'gathered': [11, 12], 'gloam': [15], 'let': [30, 31],
'licence': [32, 33, 29, 30], 'meet': [26, 42, 6, 7], 'incinerate': [31], 'knock_off': [16, 14],
'take_care': [26], 'receive': [42, 49, 34, 35, 22, 26, 29], 'gens': [47], 'implement': [25, 30],
'pile_up': [11, 12], 'rive': [19], 'adroitness': [19], 'claim': [10, 47], 'body_of_water': [50,
51, 52, 39], 'decrease': [15], 'limb': [16], 'apply': [25, 26, 30], 'use': [25, 30],
'dissonance': [4], 'certificate': [34], 'road_map': [20], 'cauterise': [31], 'waste_material':
[16, 14], 'guideline': [20], 'phallus': [7], 'Interahamwe': [54], 'patrol': [10], 'trail': [40,
5], 'train': [43], 'bodily_process': [37], 'rubbish': [11], 'penis': [7], 'account': [2, 3, 4,
45, 6], 'do_in': [16, 14], 'universe': [23], 'fulfill': [26, 42], 'control': [26, 43], 'pawl':
[40, 5], 'plate': [1, 43], 'tax': [45, 46], 'tag': [40, 28, 5], 'bend': [47], 'tab': [43],
'come_down': [15], 'the_like': [6], 'delay': [43], 'rape': [4, 6], 'circular': [45],
'gross_revenue': [20], 'take_for': [26], 'especial': [41], 'attend': [26], 'stop': [43],
'hazard': [35], 'tick_off': [43], 'belongings': [35, 22, 45, 46, 53, 54], 'marrow': [37],
'married_couple': [34, 29], 'giving_birth': [34], 'readiness': [19], 'wait_on': [26], 'light':
[2, 15], 'correspond': [43], 'agenda': [41], 'free_fall': [15], 'pass_off': [18], 'ignite': [2],
'motorcycle': [32], 'banknote': [45], 'dispose': [16, 1, 14], 'restrain': [26], 'asking': [21],
'holiday': [43, 12], 'flex': [47], 'practice': [25, 30], 'mention': [47], 'broadsheet': [45],
'set_aside': [31], 'day': [11], 'suss_out': [43], 'topical_anaesthetic': [23], 'mode': [54],
'leave_behind': [15], 'veracious': [54], 'move_around': [47], 'illuminate': [2], 'bump': [49,
18, 35, 22], 'baulk': [43], 'sportsman': [36], 'constitute': [47], 'measure': [45], 'meth':
[11], 'witness': [49, 35, 22], 'visible_radiation': [2], 'defend': [26], 'dominion': [27, 20],
'birthing': [34], 'impart': [52, 15], 'frank': [40, 5], 'release': [47], 'collection': [16],
'filing_cabinet': [21], 'yard': [16, 20], 'spill': [15], 'keep': [26], 'retain': [26],
'change_state': [47], 'predominate': [27, 20], 'geographical_zone': [35], 'ethnic': [23],
'powerful': [54], 'sack': [44], 'call_option': [10, 47], 'attack': [44], 'burning_at_the_stake':
[31], 'scant': [2], 'Clarence_Shepard_Day_Jr.': [11], 'check_up_on': [43], 'diminish': [15],
'send_for': [10, 47], 'get_word': [18], 'check_off': [43], 'discolor': [51], 'bind': [26],
'torrent': [35], 'gambol': [36], 'collecting': [16], 'lightly': [2], 'neutralize': [16, 14],
'firedog': [40, 5], 'need': [32, 3, 47], 'get_wind': [18], 'pull_together': [11, 12], 'agency':
[54], 'get_together': [26, 42], 'visor': [45], 'balloting': [48], 'allow': [31, 30, 15],
'clash': [16], 'centre': [37], 'cipher': [6], 'demise': [34], 'sidereal_day': [11], 'toss_out':
[16, 14], 'igniter': [2], 'gather': [26, 11, 12, 42], 'request': [21], 'scrap': [11],
'selection': [15], 'violation': [4, 6], 'terminate': [44], 'bring': [52], 'uncommitted': [0],
'planning': [42], 'floodlight': [35], 'thicket': [16], 'illumine': [2], 'cavort': [36],
'brushwood': [16], 'prolong': [54], 'fuel': [44], 'local': [23], 'handle': [45], 'means': [54],
'coiffe': [44], 'impinging': [6, 7], 'bear': [34, 28, 26], 'accrue': [15], 'beak': [45, 15],
'evolution': [42], 'luminosity': [2], 'contain': [26, 43], 'rein': [27, 20], 'the_likes_of':
[6], 'withstand': [26], 'requirement': [30], 'tripe': [11], 'twenty-four_hours': [11],
'national': [1, 43], 'roll_up': [11, 12], 'computer_program': [36], 'racket': [4],
'concentrate_on': [37], 'call_in': [10, 47], 'pattern': [27, 20], 'tear_apart': [11],
'correctly': [54], 'routine': [10], 'progress': [30], 'comparable': [6], 'deliver': [34],
'file_cabinet': [21], 'antechamber': [9], 'job': [25], 'key': [47], 'nightfall': [15],
'undetermined': [31], 'disport': [36], 'inundate': [35], 'write_up': [2, 3, 4, 6], 'broadside':
[45], 'assure': [43], 'admit': [26, 31], 'eyeshade': [45], 'Clarence_Day': [11], 'grounds': [16,
20], 'course_of_study': [36], 'speech_sound': [10], 'crepuscle': [15], 'take_heed': [18],
'decent': [54], 'tote_up': [52], 'treat': [45], 'report_card': [2, 3, 4, 6], 'waste': [16, 14],
'trinity': [40], 'domestic_dog': [40, 5], 'diversity': [23], 'frump': [40, 5], 'ice': [11],
'cypher': [6], 'billhook': [45], 'will': [15], 'Methedrine': [11], 'wild': [16, 14],
'hinderance': [43], 'mutant': [36], 'pickax': [15], 'ripe': [54], 'surface': [31],
'femme_fatale': [18], 'physical_contact': [6, 7], 'andiron': [40, 5], 'subcontract': [25],
'member': [7], 'get_hold_of': [6, 7], 'Army_for_the_Liberation_of_Rwanda': [54], 'way_of_life':
[54], 'spell': [44], 'balk': [43], 'dusk': [15], 'lay_waste_to': [16, 14], 'effect': [41],
'occurrent': [18], 'light_up': [2], 'pedal': [32], 'sunburn': [31], 'check_out': [43], 'collar':
[40], 'expand': [54], 'destruction': [34], 'insure': [43], 'compendium': [16], 'retard': [43],
'government_note': [45], 'off': [47], 'center': [37], 'cast_away': [16, 14], 'colour': [51],
'build_up': [30], 'cash_register': [48], 'inwardness': [37], 'restore': [3], 'allow_for': [31,
15], 'glut': [35], 'fellow_member': [7], 'obtain': [34, 35, 49, 22, 26, 29], 'disturbance': [4],
'provision': [42], 'Book_of_Job': [25], 'demographic': [23], 'arrest': [26, 43], 'add': [52],
'crack': [43], 'match': [26, 43, 42], 'inundation': [35], 'G._Stanley_Hall': [9],
'capitulation': [15], 'tick': [43], 'necessary': [30], 'like': [6], 'ramp_up': [30], 'become':
[47], 'sprain': [47], 'heel': [40, 5], 'decease': [34], 'mark_off': [43], 'tumble': [15],
'junk': [11], 'motive': [32, 3, 47], 'daylight': [11], 'redress': [54], 'holler': [10, 47],
'proper': [54], 'home': [1, 43, 14], 'ballot': [48], 'leaf': [15], 'lead': [40, 54, 15],
'deuce-ace': [40], 'mutation': [36], 'turn_back': [43], 'noise': [4], 'stretch_out': [54],
'schedule': [41], 'snapper': [37], 'expiry': [34], 'variation': [36], 'offset': [16], 'stage':
[44], 'incline': [16, 14], 'freedom': [21], 'evoke': [44], 'just_the_ticket': [28], 'discard':
[16, 14], 'come_up_to': [45], 'registry': [48], 'Inner_Light': [2], 'rectify': [3, 54],
'headphone': [10], 'assess': [45, 46], 'guard': [26], 'promise': [10, 47], 'brush': [16],
'solar_day': [11], 'III': [40], 'parentage': [34], 'transfer': [45], 'give_notice': [44],
'chicken_feed': [11], 'fiscal': [1], 'hazardous': [14], 'construction': [30], 'subdivision':
[16], 'overflow': [35], 'count': [10], 'wish': [6], 'contact_lens': [6, 7], 'skylark': [36],
'record': [48], 'problem': [25], 'piece': [15], 'bodily_function': [37], 'pin': [15],
'contribute': [52], 'twist': [47], 'throwaway': [45], 'right_field': [54], 'folio': [15],
'variety': [45, 23], 'activeness': [37], 'book': [26], 'special': [41], 'branch': [16],
'work_up': [30], 'revolve_about': [37], 'single_file': [21], 'stay': [43], 'chance': [49, 18,
35, 22], 'calendar_week': [16], 'hold_out': [54], 'cheque': [43], 'container': [13],
'toss_away': [16, 14], 'appoint': [47], 'heart-to-heart': [31], 'rule': [49, 27, 20, 22, 35],
'yell': [10, 47]}
kb = [('Is mortgage assistance available?',
'The Social Work staff provides information and referrals for Financial Assistance Providers and Availability. Please call 847/933-8208 for further information.'), ('How do I qualify for financial assistance to make improvements to my home? ', 'If you are a Skokie homeowner you may be eligible to receive financial assistance for eligible home repairs. Qualified low-income households may receive grants from the Village of up to $8,000 for eligible housing improvements. http://www.egovlink.com/public_documents300/skokie/published_documents/Community%20Development/Permits%20and%20Application/Home_Improvements_Program_Application.pdf'),
('How do I report a street light that is out?',
'To report a street light problem, please fill out this form: https://www.comed.com/customerservice/outage/streetlight/streetlightform.htm'), ('How do I report a pothole in need of repair?', 'To report pot holes in the roadway, please call 847/933-8427'),
('How do I report a possible noise violation?',
'Issues with neighbors can be reported through the non-emergency police number. Or you can contact the Village of Skokie Human Services Division at 847/933-8208. '),
("What can I do about my neighbor's barking dog?",
'Issues with neighbors can be reported through the non-emergency police number. Or you can contact the Village of Skokie Human Services Division at 847/933-8208. '),
('I would like to report a code violation, whom do I contact?',
'The Property Standards Division of our Community Development Department enforces the a href="http://www.municode.com/Resources/gateway.asp?pid=13375&sid=13">Village Code</a>, and can be reached at 847/933-8224.'),
('Who are the Council Members? How do I contact Council Members?',
'The Village government oversight is performed by the elected trustees. Their contact information is at http://www.skokie.org/LocalElectedOfficials.cfm.'),
('What are your hours?', 'Skokie Village Hall, located at 5127 Oakton Street is open Monday through Friday 8:30 a.m.\xa0to 5:00 p.m.'),
('How do I get to City Hall?',
'Skokie Village Hall, located at 5127 Oakton Street is open Monday through Friday 8:30 a.m.\xa0to 5:00 p.m.'),
('What phone number do I call for the Police?',
'For emergencies, dial 9-1-1. For non-emergency situations, contact 847/982-5900. The police department is located at Laramie Avenue and Main Street.'),
('What day is my trash and recycling collected?',
'If you live north of Greenleaf Street, refuse is collected on Monday and Thursday.\xa0 If you live south of Greenleaf Street, refuse is collected on Tuesday and Friday. You may also be interested in our holiday collection schedule at http://www.egovlink.com/public_documents300/skokie/published_documents/Public%20Works%20Department/2009%20Refuse%20and%20Recycling%20Schedule.pdf'),
('Is garbage collected on holidays?',
'The holiday collection schedule is located at http://www.egovlink.com/public_documents300/skokie/published_documents/Public%20Works%20Department/2009%20Refuse%20and%20Recycling%20Schedule.pdf'),
('Where can I get a recyclables container?', 'Recycling bins available through Village Hall. Call 847/673-0500'),
('How do I dispose of household hazardous waste?',
'The Illinois Environmental ProtectionAgency offers a household hazardous chemicals disposal facility at Goose Island, 1150 North Branch Street in Chicago. For more information or for drop-off time, please call 312/744-7606. For other household hazardous waste disposal options and electronics recycling, visit the SolidWasteAgency of Northern Cook County website at www.swancc.org.'),
('When does the municipality pick up fall leaves?',
'Brush\xa0collection\xa0and limited collection of other\xa0yard debris will continue\xa0each Wednesday through\xa0October 14, 2009'),
('How do I dispose of branches and yard waste outside of Brush Collection week?',
'To schedule a collection of your yard waste including brush, thatch from raking and old flower and vegetable plants, click here. http://www.egovlink.com/skokie/action.asp?actionid=9777'),
('What is swine flu?',
"You can find out about swine flu, and Skokie's plans at http://www.skokie.org/H1N1Update.cfm"),
('What is happening when I hear sirens?',
"Sirens are tested in Skokie on the first Tuesday of each month for one minute at 10 a.m.\xa0 A steady tone is used for testing. Sirens are also sounded for severe weather or other hazardous situations. If you'd like to read about what to do during an emergency, click here http://www.skokie.org/EmergencyPrep.cfm."),
('Can I rent out any parks or recreation facilities? ',
'There are a number of parks and facilities that are available to the community, but are not available for private rental. See http://www.skokie.org/DowntownParks.cfm.'),
('What are the rules and guidelines around yard/garage sales?',
'See our rules for garage and yard sales at http://www.egovlink.com/public_documents300/skokie/published_documents/Police%20Department/Brochures/Garage%20Sale%20Brochure%202009.pdf'),
('How do I file a Freedom of Information Request?',
'There are two ways to submit a freedom of information request: online, at http://www.egovlink.com/skokie/action.asp?actionid=9778 , or fill out a PDF form and submit by mail, in person or email, to FOIA@skokie.org. PDF is at http://www.egovlink.com/public_documents300/skokie/published_documents/Manager%20Department/FOIARequestForm.pdf .'),
('How do I find out about the easements around my property?',
'A drill-down copy of the zoning map can be found at http://www.skokie.org/ZoningMap.cfm '), ('Where can I get information on local demographics such as population, growth and cultural diversity?', 'General facts about Skokie can be found on our "About Skokie" page: http://www.skokie.org/AboutSkokie.cfm'),
('Trick-or-Treating', 'The halloween Trick-or-Treat hours are 3 to 8 PM on October 31.'), ('How do I apply for a job with the municipality?',
'Employment Opportunities are described here: http://www.skokie.org/job-opportunities.cfm'),
('When are Commission meetings held? Can anyone attend?',
'The schuedule for meetings is posted at http://www.skokie.org/PublicMeetings.cfm . Meetings are open to the public.'),
('What are the rules for parking in the municipality? ', 'The Vehicle Ordinance violations and fines can be reviewed at http://www.skokie.org/VehicleOrdFinesFees.cfm'),
('How do I pay a ticket?', 'Tickets are due to be paid within 21 days of the date of the violation date. Pay online here http://www.egovlink.com/skokie/payment.asp or read about other payment options here http://www.skokie.org/PayingTicket.cfm'),
('How do we obtain a marriage license? ',
'You can apply for a marriage licenses at the Cook County website, http://www.cookctyclerk.com/sub/marriage_licenses.asp'),
('When is it necessary to apply for a Building Permit?', 'Read about when building permits - when you need them, and how to get them, at http://www.skokie.org/CDBldgPermits.cfm'), ('Is backyard or open burning allowed?',
'Our yard waste collection process is a legal option to disposing of yard waste. Brush collection and limited collection of other yard debris will continue each Wednesday through October 14, 2009'),
('Do I need a license for my bike? ',
'Licenses are normally not required for human powered bicycles.'),
('How do I get a pet license',
"All cats and dogs in residence are required to have a pet license and to wear the license tags when off the owner's property. Pet licenses are available for purchase at the Collections Division window on the first floor of Skokie Village Hall, 5127 Oakton St, Skokie, IL 60077."), ('How do I obtain birth, death, or marriage certificates?',
'You can apply to reive certificates by visiting this page http://www.skokie.org/FormsPermitsApplications.cfm'),
('How do I find out if my property is in a Flood Hazard Zone', 'All of Skokie is designated as "No Special Flood Hazard Area - All "Zone X " (NSFHA) by the Federal Emergency Management Agency (FEMA)'),
('What sports programs are offered by the municipality?', 'Recreation programs and events can be explored at our Skokie Park District website: http://www.skokieparkdistrict.org/'), ('What is the Senior Activity Center?',
'Skokie offers various services for Seniors. Read about them, at http://www.skokie.org/HSSenior.cfm.'),
('Does the municipality have a curfew?', 'Children under the age of 17 must be home between 11 p.m. and 6 a.m. Sunday through Thursday, and home from midnight to 6 a.m. on Friday and Saturday. The driver\x92s license of a 16 year old is not valid after curfew.'), ('When may I water my lawn?',
'Lawn sprinkling or irrigation, including but not limited to the use of automatic or oscillating sprinklers, is prohibited from May 15 through September 15 inclusive, from the hours of 10:00 a.m. until 4:00 p.m., Monday through Friday.'), ('Is there a leash law for dogs?', 'The Skokie Health Department enforces leash, licensing, dog/cat litter regulations, and other domestic animal regulations through officer patrols and investigation of citizen complaints. Violations will result in a written warning or a citation. Stray animals are captured and impounded. A lost and found program is operated to assist individuals in recovering their lost pets. Call the Animal Control Division at 847/933-8484 to file a complaint.'),
('How do I schedule a special event?',
'Skokie Park District has a number of special events available. To be involved in the scheduling of these events, and for information regarding other fun events throughout the district, call (847) 674-1500.'),
('When and where does the Planning and Development Commission meet?', 'Meeting are usually held on the 1st and 3rd Thursday of each month at 7:30\xa0p.m. in Village Council Chamber.'),
('Vacation home checks', 'Contact the police by telephone or a walk-in visit to request vacation home checks. Crime Prevention/Community Relations Unit is at 847/982-5919.'), ('How do I arrange a tour of a fire station?',
'You can schedule a fire station tour event for your school, community group, corporate setting or staff training, by calling us at 847/982-5340 Monday through Friday, 8:30am to\xa05:00 p.m.'),
('How do I change the mailing address on my Personal Property Tax Bill? ', 'Contact the Cook County Treasurer for assistance with bill payment and other property tax issues at www.cookcountytreasure.com/default.aspx or phone 312-443-5100.'), ('How do I get information on my property taxes?',
"Contact the Cook County Assessor's Office can help with questions about your property tax assessment and property tax appeals on the web at www.cookcountyassessor.com/index.asp or phone the local office at 847-470-7237, located at 5600 Old Orchard Rd., Room 149."),
('I need to get municipal Services turned on/off under my name. Who do I call?',
'For issues regarding your water service account, please contact the Village Water Billing Department immediately at 847/933-8418'),
('How do I register to vote? ',
"Skokie residents can register to vote in the Village Clerk's Office. Village Hall, 5127 Oakton Street."), ('Where can I find election information?', "Skokie residents can register to vote in the Village Clerk's Office. Village Hall, 5127 Oakton Street. Voting Districts: http://www.egovlink.com/public_documents300/skokie/published_documents/Voting%20District%20Map%205-1-2009.pdf"),
('Does the municipality have water restrictions?', 'Lawn sprinkling or irrigation, including but not limited to the use of automatic or oscillating sprinklers, is prohibited from May 15 through September 15 inclusive, from the hours of 10:00 a.m. until 4:00 p.m., Monday through Friday.'), ('Why is my water discolored? Is this safe?',
"Skokie's water supplies are in compliance with all USEPA requirements. Read about our water quality at http://www.skokie.org/WaterAndSewer.cfm"), ('Why is fluoride added to the water?', "A fluorine compound is added to drinking water for the purpose of reducing tooth decay. Skokie's water supplies are in compliance with all USEPA requirements. Read about our water quality at http://www.skokie.org/WaterAndSewer.cfm"),
('What is the zoning for a particular property?', 'A drill-down copy of the zoning map can be found at http://www.skokie.org/ZoningMap.cfm '),
('What is the municipality right of way, and how far does it extend onto my property?',
'Right of way varies per parcel. A drill-down copy of the zoning map can be found at http://www.skokie.org/ZoningMap.cfm ')]
import re
# TO DO: Improve normalization, by eliminating apostrophes, punctuation, etc.
def normalize(textin):
return textin.lower()
while True:
textin = normalize(raw_input("->"))
words=re.findall(r"\w+(?:[-']\w+)*|'|[-.(]+|\S\w*", textin)
scores={}
max_score=0.0
syn_factor = 0.1
for word in words:
if word in vocab:
for question_index in vocab[word]:
s = scores.setdefault(question_index,0.0)
scores[question_index] = s + 1.0/float(len(vocab[word]))
max_score += 1.0/float(len(vocab[word]))
if word in synvocab:
for question_index in synvocab[word]:
s = scores.setdefault(question_index,0.0)
scores[question_index] = s + syn_factor/float(len(synvocab[word]))
max_score += syn_factor/float(len(synvocab[word]))
score,index = sorted([(v,k) for k,v in scores.iteritems()])[-1]
if max_score < 0.5:
print "Sorry, I didn't understand. "
print "Try asking your question a different way. "
print "it seems like you might be interested in the answer to this question: "
print kb[index][0]
print kb[index][1]