def construction(): try: s = seg.Segmentation() s.segmentation() b = by.NBayes() b.initForTest() except Exception, e: raise