你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TextAnalysisAuthoringModelFactory.TextAuthoringExportedProject Method

Definition

Initializes a new instance of TextAuthoringExportedProject.

public static Azure.AI.Language.Text.Authoring.TextAuthoringExportedProject TextAuthoringExportedProject(string projectFileVersion = default, Azure.AI.Language.Text.Authoring.StringIndexType stringIndexType = default, Azure.AI.Language.Text.Authoring.TextAuthoringCreateProjectDetails metadata = default, Azure.AI.Language.Text.Authoring.TextAuthoringExportedProjectAsset assets = default);
static member TextAuthoringExportedProject : string * Azure.AI.Language.Text.Authoring.StringIndexType * Azure.AI.Language.Text.Authoring.TextAuthoringCreateProjectDetails * Azure.AI.Language.Text.Authoring.TextAuthoringExportedProjectAsset -> Azure.AI.Language.Text.Authoring.TextAuthoringExportedProject
Public Shared Function TextAuthoringExportedProject (Optional projectFileVersion As String = Nothing, Optional stringIndexType As StringIndexType = Nothing, Optional metadata As TextAuthoringCreateProjectDetails = Nothing, Optional assets As TextAuthoringExportedProjectAsset = Nothing) As TextAuthoringExportedProject

Parameters

projectFileVersion
String

The version of the exported file.

stringIndexType
StringIndexType

Specifies the method used to interpret string offsets. For additional information see https://aka.ms/text-analytics-offsets.

metadata
TextAuthoringCreateProjectDetails

Represents the project metadata.

assets
TextAuthoringExportedProjectAsset

Represents the project assets. Please note TextAuthoringExportedProjectAsset is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ExportedCustomAbstractiveSummarizationProjectAsset, ExportedCustomEntityRecognitionProjectAsset, ExportedCustomHealthcareProjectAsset, ExportedCustomMultiLabelClassificationProjectAsset, ExportedCustomSingleLabelClassificationProjectAsset and CustomTextSentimentProjectAssets.

Returns

A new TextAuthoringExportedProject instance for mocking.

Applies to