Added API to retrieve segmentation
Added recognizer interface for hypseg