BuildIt.CognitiveServices.EntityLinkingAPIExtensions.LinkEntity C# (CSharp) Méthode

LinkEntity() public static méthode

Entity Linking is a natural language processing tool to help analyzing text for your application. Entity Linking recognize a named-entity from given text and aligning a textual mention of the entity to an appropriate entry in a knowledge base.
public static LinkEntity ( this operations, string selection = default(string), string offset = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
selection string /// The specific word or phrase within the text that is to be entity linked. /// If not specified, the service will try to recognize and identify all the /// entities within the input text. ///
offset string /// The location (in offset by characters) of the selected word or phrase /// within the input text. Used to distinguish when there are multiple /// instances of the same words or phrases within the input text. Only valid /// when the selection is specified. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
Résultat void
            public static void LinkEntity(this IEntityLinkingAPI operations, string selection = default(string), string offset = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
            {
                System.Threading.Tasks.Task.Factory.StartNew(s => ((IEntityLinkingAPI)s).LinkEntityAsync(selection, offset, subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None,  System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
            }
EntityLinkingAPIExtensions