Пример #1
0
        /**
         * A helper method for setting the complement of a phrase.
         *
         * @param phraseElement
         *            the created element representing this phrase.
         * @param complement
         *            the complement to be added.
         */

        private void setComplement(PhraseElement phraseElement, object complement)
        {
            var complementElement = createNLGElement(complement);

            phraseElement.addComplement(complementElement);
        }