Example #1
0
 public override void initialise()
 {
     _syntax  = new SyntaxProcessor();
     _factory = new NLGFactory();
 }
Example #2
0
        /**
         * Creates a new instance of AggregationRule
         */

        public AggregationRule()
        {
            factory = new NLGFactory();
        }
Example #3
0
        /**
         * Set the factory that the rule should use to create phrases.
         *
         * @param factory
         *            the factory
         */

        public void setFactory(NLGFactory factory)
        {
            this.factory = factory;
        }
Example #4
0
 public NPPhraseSpec(NLGFactory phraseFactory) : base(new PhraseCategory_NOUN_PHRASE())
 {
     setFeature(Feature.ELIDED.ToString(), false);
     this.setFactory(phraseFactory);
 }