TextAnalysisAuthoringModelFactory.TextAuthoringExportedProject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.