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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET