Skip to content

Commit

Permalink
Update file(s) "/." from "aspose-words/Aspose.Words-API-References"
Browse files Browse the repository at this point in the history
  • Loading branch information
aspose-evgeny-vasilev committed Dec 30, 2024
1 parent d8a5045 commit 084614e
Show file tree
Hide file tree
Showing 91 changed files with 3,163 additions and 8 deletions.
2 changes: 2 additions & 0 deletions content/sites/aspose/words/english/cpp/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ is_root: true
| [Aspose::Words::Lists](./aspose.words.lists/) | The **Aspose.Words.Lists** namespace contains classes for working with bulleted and numbered lists defined in a document. |
| [Aspose::Words::Loading](./aspose.words.loading/) | The **Aspose.Words.Loading** namespace provides classes and enumerations that allow to specify additional options when loading documents. |
| [Aspose::Words::LowCode](./aspose.words.lowcode/) | The **Aspose.Words.LowCode** contains classes and methods to handle complex general operations in a low code way. |
| [Aspose::Words::LowCode::MailMerging](./aspose.words.lowcode.mailmerging/) | |
| [Aspose::Words::LowCode::Splitting](./aspose.words.lowcode.splitting/) | |
| [Aspose::Words::MailMerging](./aspose.words.mailmerging/) | The **Aspose.Words.MailMerging** namespace contains classes of the "original" mail merge reporting engine. |
| [Aspose::Words::Markup](./aspose.words.markup/) | The **Aspose.Words.Markup** namespace contains classes that represent customer defined semantics in a document: smart tags, custom XML and structured document tags (content controls). |
| [Aspose::Words::Math](./aspose.words.math/) | The **Aspose.Words.Math** namespace contains classes that represent Office [Math](./aspose.words.math/) elements. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ The **Aspose.Words.AI** namespace enables seamless integration with large langua
| Enum | Description |
| --- | --- |
| [AiModelType](./aimodeltype/) | Represents the types of [AiModel](./aimodel/) that can be integrated into the document processing workflow. |
| [Language](./language/) | Specifies the language into which the text will be translated using [AI](./). |
| [SummaryLength](./summarylength/) | Enumerates possible lengths of summary. |
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class IAiModelText : public virtual System::Object
| [Is](./is/)(const System::TypeInfo\&) const override | |
| virtual [Summarize](./summarize/)(System::SharedPtr\<Aspose::Words::Document\>, System::SharedPtr\<Aspose::Words::AI::SummarizeOptions\>) | Generates a summary of the specified document, with options to adjust the length of the summary. This operation leverages the connected [AI](../) model for content processing. |
| virtual [Summarize](./summarize/)(System::ArrayPtr\<System::SharedPtr\<Aspose::Words::Document\>\>, System::SharedPtr\<Aspose::Words::AI::SummarizeOptions\>) | Generates summaries for an array of documents, with options to control the summary length and other settings. This method utilizes the connected [AI](../) model for processing each document in the array. |
| virtual [Translate](./translate/)(System::SharedPtr\<Aspose::Words::Document\>, Aspose::Words::AI::Language) | Translates the provided document into the specified target language. This operation leverages the connected [AI](../) model for content translating. |
| static [Type](./type/)() | |
## See Also
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ url: /cpp/aspose.words.ai/iaimodeltext/summarize/
Generates summaries for an array of documents, with options to control the summary length and other settings. This method utilizes the connected [AI](../../) model for processing each document in the array.

```cpp
virtual System::SharedPtr<Aspose::Words::Document> Aspose::Words::AI::IAiModelText::Summarize(System::ArrayPtr<System::SharedPtr<Aspose::Words::Document>> docs, System::SharedPtr<Aspose::Words::AI::SummarizeOptions> options)=0
virtual System::SharedPtr<Aspose::Words::Document> Aspose::Words::AI::IAiModelText::Summarize(System::ArrayPtr<System::SharedPtr<Aspose::Words::Document>> sourceDocuments, System::SharedPtr<Aspose::Words::AI::SummarizeOptions> options)=0
```
| Parameter | Type | Description |
| --- | --- | --- |
| docs | System::ArrayPtr\<System::SharedPtr\<Aspose::Words::Document\>\> | An array of documents to be summarized. |
| sourceDocuments | System::ArrayPtr\<System::SharedPtr\<Aspose::Words::Document\>\> | An array of documents to be summarized. |
| options | System::SharedPtr\<Aspose::Words::AI::SummarizeOptions\> | Optional settings to control the summary length and other parameters |
### ReturnValue
Expand All @@ -39,13 +39,13 @@ A summarized version of the document's content.
Generates a summary of the specified document, with options to adjust the length of the summary. This operation leverages the connected [AI](../../) model for content processing.
```cpp
virtual System::SharedPtr<Aspose::Words::Document> Aspose::Words::AI::IAiModelText::Summarize(System::SharedPtr<Aspose::Words::Document> doc, System::SharedPtr<Aspose::Words::AI::SummarizeOptions> options)=0
virtual System::SharedPtr<Aspose::Words::Document> Aspose::Words::AI::IAiModelText::Summarize(System::SharedPtr<Aspose::Words::Document> sourceDocument, System::SharedPtr<Aspose::Words::AI::SummarizeOptions> options)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| doc | System::SharedPtr\<Aspose::Words::Document\> | The document to be summarized. |
| sourceDocument | System::SharedPtr\<Aspose::Words::Document\> | The document to be summarized. |
| options | System::SharedPtr\<Aspose::Words::AI::SummarizeOptions\> | Optional settings to control the summary length and other parameters. |

### ReturnValue
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: Aspose::Words::AI::IAiModelText::Translate method
linktitle: Translate
second_title: Aspose.Words for C++ API Reference
description: 'Aspose::Words::AI::IAiModelText::Translate method. Translates the provided document into the specified target language. This operation leverages the connected AI model for content translating in C++.'
type: docs
weight: 5000
url: /cpp/aspose.words.ai/iaimodeltext/translate/
---
## IAiModelText::Translate method


Translates the provided document into the specified target language. This operation leverages the connected [AI](../../) model for content translating.

```cpp
virtual System::SharedPtr<Aspose::Words::Document> Aspose::Words::AI::IAiModelText::Translate(System::SharedPtr<Aspose::Words::Document> sourceDocument, Aspose::Words::AI::Language targetLanguage)=0
```
| Parameter | Type | Description |
| --- | --- | --- |
| sourceDocument | System::SharedPtr\<Aspose::Words::Document\> | The document to be translated. |
| targetLanguage | Aspose::Words::AI::Language | The language into which the document will be translated. |
### ReturnValue
A new [Document](../../../aspose.words/document/) object containing the translated document.
## See Also
* Class [Document](../../../aspose.words/document/)
* Enum [Language](../../language/)
* Interface [IAiModelText](../)
* Namespace [Aspose::Words::AI](../../)
* Library [Aspose.Words for C++](../../../)
Loading

0 comments on commit 084614e

Please sign in to comment.