Ejemplo n.º 1
0
        /// <summary>
        /// Extracts named entities mentioned in a document, disambiguates and
        /// cross-links them to DBPedia and Linked Data entities, along with
        /// their semantic types (including DBPedia and schema.org).
        /// </summary>
        /// <param name="url">A valid URL</param>
        /// <param name="text">Text</param>
        /// <param name="language">Language of text. Valid options are
        /// en, de, fr, es, it, pt, and auto. If set to auto, it'll try to
        /// detect the language. Default is en.</param>
        /// <returns>A <see cref="Concepts"/></returns>
        public Concepts Concepts(string url = null, string text = null, string language = null)
        {
            Concepts concepts = new Aylien.TextApi.Concepts(configuration);
            Response r        = concepts.call(url, text, language);

            extractRateLimitParameters(r);
            return(concepts);
        }
 /// <summary>
 /// Extracts named entities mentioned in a document, disambiguates and
 /// cross-links them to DBPedia and Linked Data entities, along with
 /// their semantic types (including DBPedia and schema.org).
 /// </summary>
 /// <param name="url">A valid URL</param>
 /// <param name="text">Text</param>
 /// <param name="language">Language of text. Valid options are
 /// en, de, fr, es, it, pt, and auto. If set to auto, it'll try to
 /// detect the language. Default is en.</param>
 /// <returns>A <see cref="Concepts"/></returns>
 public Concepts Concepts(string url = null, string text = null, string language = null)
 {
     Concepts concepts = new Aylien.TextApi.Concepts(configuration);
     Response r = concepts.call(url, text, language);
     extractRateLimitParameters(r);
     return concepts;
 }