check_grammar method
check_grammar(source_document, options)
Checks grammar of the provided document. This operation leverages the connected AI model for checking grammar of document.
def check_grammar(self, source_document: aspose.words.Document, options: aspose.words.ai.CheckGrammarOptions):
...
Parameter | Type | Description |
---|---|---|
source_document | Document | The document being checked for grammar. |
options | CheckGrammarOptions | Optional settings to control how grammar will be checked. |
Returns
A new Document with checked grammar.
See Also
- module aspose.words.ai
- class IAiModelText