Package org.maltparserx.parser.guide

Examples of org.maltparserx.parser.guide.SingleGuide


  public BatchTrainer(DependencyParserConfig manager) throws MaltChainedException {
    super(manager);
    ((SingleMalt)manager).addRegistry(org.maltparserx.parser.Algorithm.class, this);
    setManager(manager);
    initParserState(1);
    setGuide(new SingleGuide(manager, (GuideHistory)parserState.getHistory(), ClassifierGuide.GuideMode.BATCH));
    oracleGuide = parserState.getFactory().makeOracleGuide(parserState.getHistory());
  }
View Full Code Here


  public DeterministicParser(DependencyParserConfig manager) throws MaltChainedException {
    super(manager);
    setManager(manager);
    initParserState(1);
    ((SingleMalt)manager).addRegistry(org.maltparserx.parser.Algorithm.class, this);
    setGuide(new SingleGuide(manager, (GuideHistory)parserState.getHistory(), ClassifierGuide.GuideMode.CLASSIFY));
  }
View Full Code Here

TOP

Related Classes of org.maltparserx.parser.guide.SingleGuide

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.