Beispiel #1
0
        /// <summary>
        /// Extracts named entities (people, organizations and locations) and
        /// values (URLs, emails, telephone numbers, currency amounts and percentages)
        /// mentioned in a body of text.
        /// </summary>
        /// <param name="url">A valid URL</param>
        /// <param name="text">Text</param>
        /// <returns>A <see cref="Entities"/></returns>
        public Entities Entities(string url = null, string text = null)
        {
            Entities entities = new Aylien.TextApi.Entities(configuration);
            Response r        = entities.call(url, text);

            extractRateLimitParameters(r);
            return(entities);
        }
 /// <summary>
 /// Extracts named entities (people, organizations and locations) and
 /// values (URLs, emails, telephone numbers, currency amounts and percentages)
 /// mentioned in a body of text.
 /// </summary>
 /// <param name="url">A valid URL</param>
 /// <param name="text">Text</param>
 /// <returns>A <see cref="Entities"/></returns>
 public Entities Entities(string url = null, string text = null)
 {
     Entities entities = new Aylien.TextApi.Entities(configuration);
     Response r = entities.call(url, text);
     extractRateLimitParameters(r);
     return entities;
 }