Ejemplo n.º 1
0
        /**
         * Create a realiser with a lexicon (should match lexicon used for
         * NLGFactory)
         *
         * @param lexicon
         */

        public Realiser(Lexicon lexicon)
        {
            initialise();
            setLexicon(lexicon);
        }
Ejemplo n.º 2
0
 public void setLexicon(Lexicon newLexicon)
 {
     syntax.setLexicon(newLexicon);
     morphology.setLexicon(newLexicon);
     orthography.setLexicon(newLexicon);
 }