public override void initialise() { _syntax = new SyntaxProcessor(); _factory = new NLGFactory(); }
/** * Creates a new instance of AggregationRule */ public AggregationRule() { factory = new NLGFactory(); }
/** * Set the factory that the rule should use to create phrases. * * @param factory * the factory */ public void setFactory(NLGFactory factory) { this.factory = factory; }
public NPPhraseSpec(NLGFactory phraseFactory) : base(new PhraseCategory_NOUN_PHRASE()) { setFeature(Feature.ELIDED.ToString(), false); this.setFactory(phraseFactory); }