Documentation for chord_segment