TextAnalyticsModelFactory.KeyPhraseCollection 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 KeyPhraseCollection for mocking purposes.
public static Azure.AI.TextAnalytics.KeyPhraseCollection KeyPhraseCollection (System.Collections.Generic.IList<string> keyPhrases, System.Collections.Generic.IList<Azure.AI.TextAnalytics.TextAnalyticsWarning> warnings = default);
static member KeyPhraseCollection : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Azure.AI.TextAnalytics.TextAnalyticsWarning> -> Azure.AI.TextAnalytics.KeyPhraseCollection
Public Shared Function KeyPhraseCollection (keyPhrases As IList(Of String), Optional warnings As IList(Of TextAnalyticsWarning) = Nothing) As KeyPhraseCollection
Parameters
- warnings
- IList<TextAnalyticsWarning>
Sets the Warnings property.
Returns
A new instance of KeyPhraseCollection for mocking purposes.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET