internal FastFactoredParser(ExhaustivePCFGParser pparser, MLEDependencyGrammar dg, Options op, int numToFind, IGrammarProjection projection, IIndex <string> wordIndex, IIndex <string> tagIndex) { this.pparser = pparser; this.projection = projection; this.dg = dg; this.op = op; this.numToFind = numToFind; this.wordIndex = wordIndex; this.tagIndex = tagIndex; }
internal BiLexPCFGParser(IScorer scorer, ExhaustivePCFGParser fscorer, ExhaustiveDependencyParser dparser, BinaryGrammar bg, UnaryGrammar ug, IDependencyGrammar dg, ILexicon lex, Options op, IGrammarProjection projection, IIndex <string> stateIndex , IIndex <string> wordIndex, IIndex <string> tagIndex) { this.fscorer = fscorer; this.projection = projection; this.dparser = dparser; this.scorer = scorer; this.bg = bg; this.ug = ug; this.dg = dg; this.lex = lex; this.op = op; this.stateIndex = stateIndex; this.wordIndex = wordIndex; this.tagIndex = tagIndex; tempEdge = new Edge(op.testOptions.exhaustiveTest); tempHook = new Hook(op.testOptions.exhaustiveTest); }
public ProjectionScorer(IScorer scorer, IGrammarProjection gp, Options op) { this.scorer = scorer; this.gp = gp; this.op = op; }
internal N5BiLexPCFGParser(IScorer scorer, ExhaustivePCFGParser fscorer, ExhaustiveDependencyParser leach, BinaryGrammar bg, UnaryGrammar ug, IDependencyGrammar dg, ILexicon lex, Options op, IGrammarProjection proj, IIndex <string> stateIndex , IIndex <string> wordIndex, IIndex <string> tagIndex) : base(scorer, fscorer, leach, bg, ug, dg, lex, op, proj, stateIndex, wordIndex, tagIndex) { }