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

            Console.Write(result);
        }
Beispiel #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);
        }
Beispiel #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);
        }