from ps7 import *

triggerMap = {}

koalastory = NewsStory('', 'Koala bears are softand cuddly', '', '', '')

s2  = TitleTrigger('')
s3 = TitleTrigger('koala')
#print s2.evaluate(koala)
#
#s4 = OrTrigger(s2, s3)
#print s4.evaluate(koala)

#trigger = makeTrigger(triggerMap, 'TITLE', 'koala', 't1')

#s5 = PhraseTrigger('Koala bears are soft and')
print s3.evaluate(koalastory)