checkGrammar method
checkGrammar(sourceDocument, options)
Checks grammar of the provided document. This operation leverages the connected AI model for checking grammar of document.
checkGrammar(sourceDocument: Aspose.Words.Document, options: Aspose.Words.AI.CheckGrammarOptions)
Parameter | Type | Description |
---|---|---|
sourceDocument | 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 AiModel