001 package org.maltparser.parser.algorithm; 002 003 import org.maltparser.core.exception.MaltChainedException; 004 import org.maltparser.core.syntaxgraph.DependencyStructure; 005 import org.maltparser.core.syntaxgraph.node.DependencyNode; 006 import org.maltparser.parser.DependencyParserConfig; 007 import org.maltparser.parser.history.GuideUserHistory; 008 009 010 /** 011 * 012 * @author Joakim Nivre 013 * @author Johan Hall 014 * @since 1.0 015 */ 016 public interface ParsingAlgorithm { 017 public DependencyStructure parse(DependencyStructure parseDependencyGraph) throws MaltChainedException; 018 public DependencyStructure oracleParse(DependencyStructure goldDependencyGraph, DependencyStructure parseDependencyGraph) throws MaltChainedException; 019 public GuideUserHistory getHistory(); 020 public DependencyParserConfig getConfiguration(); 021 public String getName(); 022 public DependencyNode getLeftTarget(); 023 public DependencyNode getRightTarget(); 024 }