ted segm