File size: 1,026 Bytes
6f3ebfa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | package org.maltparser.parser;
import org.maltparser.core.exception.MaltChainedException;
import org.maltparser.core.feature.AbstractFeatureFactory;
import org.maltparser.parser.guide.OracleGuide;
import org.maltparser.parser.history.GuideUserHistory;
/**
* @author Johan Hall
*
*/
public interface AbstractParserFactory extends AbstractFeatureFactory {
/**
* Creates a parser configuration
*
* @return a parser configuration
* @throws MaltChainedException
*/
public ParserConfiguration makeParserConfiguration() throws MaltChainedException;
/**
* Creates a transition system
*
* @return a transition system
* @throws MaltChainedException
*/
public TransitionSystem makeTransitionSystem() throws MaltChainedException;
/**
* Creates an oracle guide
*
* @param history a reference to the history
* @return an oracle guide
* @throws MaltChainedException
*/
public OracleGuide makeOracleGuide(GuideUserHistory history) throws MaltChainedException;
}
|