Esempio n. 1
0
        public void ComprehendClient_Constructor()
        {
            IComprehendService client =
                new ComprehendClient("https://www.centennialcollege.ca/studenthub/");

            Assert.NotNull(client);
        }
Esempio n. 2
0
        public async Task DetectSentiment_Method()
        {
            IComprehendService client =
                new ComprehendClient("https://www.centennialcollege.ca/studenthub/");

            var l = await client.DetectSentiment("word");

            Assert.NotNull(l);
        }
Esempio n. 3
0
        public async Task Classify_Method()
        {
            IComprehendService client =
                new ComprehendClient("https://www.centennialcollege.ca/studenthub/");

            var list = await client.Classify("word");

            Assert.NotNull(list);
        }