View source on GitHub
|
Result of the text proofreader task.
mp.tasks.text.TextProofreaderResult(
proofread_text: Optional[str],
corrections: List[mp.tasks.text.TextProofreaderCorrection],
done: bool
)
Attributes | |
|---|---|
proofread_text
|
The proofread text with corrections applied. |
corrections
|
List of unchanged, deleted, and inserted text segments. |
done
|
Whether the proofreading is done. |
Methods
create_from_ctypes
@classmethodcreate_from_ctypes( c_result: Union[_MpTextProofreaderResultC, _MpTextProofreaderStreamResultC] ) -> 'TextProofreaderResult'
Creates a TextProofreaderResult object from a C struct.
__eq__
__eq__(
other
)
Return self==value.
View source on GitHub