Example #1
0
        /**
         * Create a realiser with a lexicon (should match lexicon used for
         * NLGFactory)
         *
         * @param lexicon
         */

        public Realiser(Lexicon lexicon)
        {
            initialise();
            setLexicon(lexicon);
        }
Example #2
0
 public void setLexicon(Lexicon newLexicon)
 {
     syntax.setLexicon(newLexicon);
     morphology.setLexicon(newLexicon);
     orthography.setLexicon(newLexicon);
 }