コード例 #1
0
        private string getWord(GrammarNode grammarNode)
        {
            string result = null;

            if (grammarNode.getNumAlternatives() > 0)
            {
                Word[][] alternatives = grammarNode.getAlternatives();
                result = alternatives[0][0].getSpelling();
            }
            return(result);
        }