MediaPipeTasksText Framework Reference

TextProofreaderResult

class TextProofreaderResult : NSObject

The result of a proofread operation generated by TextProofreader.

  • The generated proofread text.

    Declaration

    Swift

    var proofreadText: String { get }
  • The list of corrections transforming the input text to the proofread text.

    Declaration

    Swift

    var corrections: [TextProofreaderCorrection] { get }
  • Initializes a new TextProofreaderResult with the given text and corrections.

    Declaration

    Swift

    init(proofreadText: String, corrections: [TextProofreaderCorrection])