Create edge_of_sentence_segment and translate methods.