# TextProofreaderResult

    class TextProofreaderResult: NSObject

The result of a proofread operation.
- `
  ### [init(proofreadText:corrections:)](https://developers.google.com/edge/api/mediapipe/swift/text/Classes/TextProofreaderResult.md.txt#/c:objc(cs)MPPTextProofreaderResult(im)initWithProofreadText:corrections:)

  ` Initializes a new `MPPTextProofreaderResult` with the given text and corrections.

  #### Declaration

  Swift

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

  #### Parameters

  |---|---|
  | `proofreadText` | The generated proofread text. |
  | `corrections` | The list of corrections. |

  #### Return Value

  An initialized `MPPTextProofreaderResult`.
- `
  ### [corrections](https://developers.google.com/edge/api/mediapipe/swift/text/Classes/TextProofreaderResult.md.txt#/c:objc(cs)MPPTextProofreaderResult(py)corrections)

  ` The list of corrections to transform the input text to the proofread text.

  #### Declaration

  Swift

      var corrections: [Correction] { get }

- `
  ### [proofreadText](https://developers.google.com/edge/api/mediapipe/swift/text/Classes/TextProofreaderResult.md.txt#/c:objc(cs)MPPTextProofreaderResult(py)proofreadText)

  ` The generated proofread text.

  #### Declaration

  Swift

      var proofreadText: String { get }