def convert_to_segment_level(self) -> "WhisperResult":
        """
        Remove all word-level data.

        Converting from word-level to segment-level is useful when the word-level data restricts certain operations that
        need to be performed at the segment-level or when the segment-level results of operations are more desirable.

        Returns
        -------
        stable_whisper.result.WhisperResult
            The current instance after the changes.

        Notes
        -----
        Since many regrouping operations require word-timestamps, it is recommended to only use this method after the
        result has been regrouped into its final segments.

        """
        for seg in self.segments:
            seg.convert_to_segment_level()
        self._update_history('csl')
        return self

        Remove all word-level data.

        Converting from word-level to segment-level is useful when the word-level data restricts certain operations that
        need to be performed at the segment-level or when the segment-level results of operations are more desirable.

        Returns
        -------
        stable_whisper.result.WhisperResult
            The current instance after the changes.

        Notes
        -----
        Since many regrouping operations require word-timestamps, it is recommended to only use this method after the
        result has been regrouped into its final segments.

        
stable_whisper/result.py