Functions for basic processing of OMorFi segment labelling style analyses.
finntk.omor.seg.
labelsegment_to_subword_tokens
Returns a iterator of segments specified as (type, value) tuple. Type is one of “seg”, “tag” or “surf”.
tokens_to_surf
Given an iterator of segments as (type, value) tuples, reconstruct the surface string.