示例#1
0
        public AnnotateTextTest()
        {
            String dir = Environment.GetEnvironmentVariable("GC_LIBRARY_TEST", EnvironmentVariableTarget.User);

            VALID_SETUP         = new GC.GoogleCloudClassSetup(dir + "\\APIKEY.txt");
            INVALID_SETUP       = new GC.GoogleCloudClassSetup(dir + "\\INVALID_APIKEY.txt");
            VALID_FILE_LOCATION = dir + "\\SampleDoc.txt";
            nlIntelligence      = new NaturalLanguageIntelligence(VALID_SETUP);
        }