get_segments: improved docstring