Ejemplo n.º 1
0
        public void DepParser()
        {
            var options = new Dictionary <string, object>
            {
                { "mode", 1 }
            };
            var result = nlp.DepParser("今天天气不错", options);

            Console.Write(result);
        }
Ejemplo n.º 2
0
        public static void DepParser()
        {
            var nlp     = new Nlp.Nlp(Config.clientId, Config.clientSecret);
            var options = new Dictionary <string, object>
            {
                { "mode", 1 }
            };
            var result = nlp.DepParser("今天天气不错", options);

            Console.Write(result);
        }
Ejemplo n.º 3
0
        public static void DepParser()
        {
            var nlp     = new Nlp.Nlp("Api Key", "Secret Key");
            var options = new Dictionary <string, object>
            {
                { "mode", 1 }
            };
            var result = nlp.DepParser("今天天气不错", options);

            Console.Write(result);
        }