public class MediumMiniparTemplateAcceptor extends Object implements DependencyPathAcceptor
DependencyPathAcceptor that accepts the minimum set of path
templates specified by Padó and
Lapata (2007). This acceptor is designed to
be used with the Minipar parser
and its associated part of speech tag set.| Constructor and Description |
|---|
MediumMiniparTemplateAcceptor()
Creates the acceptor with its standard templates
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(DependencyPath path)
Returns
true if the path matches one of the predefined templates |
int |
maxPathLength()
Returns the maximum path length allowed by this acceptor.
|
public MediumMiniparTemplateAcceptor()
public boolean accepts(DependencyPath path)
true if the path matches one of the predefined templatesaccepts in interface DependencyPathAcceptorpath - a dependency pathtrue if the path matches a templatepublic int maxPathLength()
maxPathLength in interface DependencyPathAcceptorCopyright © 2012. All Rights Reserved.