public int getNouns(String command)
        {
            RepeatedField <Token> tokens = Analyze.AnalyzeSyntaxFromText(command);

            nouns = "";
            foreach (var token in tokens)
            {
                if ((int)token.PartOfSpeech.Tag == 1 || (int)token.PartOfSpeech.Tag == 6 || (int)token.PartOfSpeech.Tag == 11)
                {
                    nouns = nouns + token.Text.Content + " ";
                }
            }
            if (nouns == null)
            {
                return(-1);
            }
            else
            {
                return(0);
            }
        }
        public int getVerbs(String command)
        {
            RepeatedField <Token> tokens = Analyze.AnalyzeSyntaxFromText(command);

            verbs = new ArrayList();

            foreach (var token in tokens)
            {
                if ((int)token.PartOfSpeech.Tag == 11 || (int)token.PartOfSpeech.Tag == 1 || (int)token.PartOfSpeech.Tag == 2 || (int)token.PartOfSpeech.Tag == 3)
                {
                    verbs.Add(token.Text.Content);
                }
            }
            if (verbs.Count == 0)
            {
                return(-1);
            }
            else
            {
                return(0);
            }
        }