Modifier and Type | Field and Description |
---|---|
protected Direction |
defaultDirection |
protected HeadRules |
headRules |
static long |
serialVersionUID |
protected int |
symbolCode |
protected SymbolTable |
table |
Constructor and Description |
---|
HeadRule(HeadRules headRules,
java.lang.String ruleSpec) |
Modifier and Type | Method and Description |
---|---|
DataFormatInstance |
getDataFormatInstance() |
Direction |
getDefaultDirection() |
PhraseStructureNode |
getHeadChild(NonTerminalNode nt) |
org.apache.log4j.Logger |
getLogger() |
int |
getSymbolCode() |
java.lang.String |
getSymbolString() |
SymbolTableHandler |
getSymbolTableHandler() |
SymbolTable |
getTable() |
void |
init(java.lang.String ruleSpec) |
void |
setDefaultDirection(Direction direction) |
void |
setHeadRules(HeadRules headRules) |
void |
setSymbolCode(int symbolCode) |
void |
setTable(SymbolTable table) |
java.lang.String |
toString() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
public static final long serialVersionUID
protected SymbolTable table
protected int symbolCode
protected Direction defaultDirection
public HeadRule(HeadRules headRules, java.lang.String ruleSpec) throws MaltChainedException
MaltChainedException
public void init(java.lang.String ruleSpec) throws MaltChainedException
MaltChainedException
public PhraseStructureNode getHeadChild(NonTerminalNode nt) throws MaltChainedException
MaltChainedException
public SymbolTable getTable()
public void setTable(SymbolTable table)
public int getSymbolCode()
public void setSymbolCode(int symbolCode)
public java.lang.String getSymbolString() throws MaltChainedException
MaltChainedException
public Direction getDefaultDirection()
public void setDefaultDirection(Direction direction)
public org.apache.log4j.Logger getLogger()
public DataFormatInstance getDataFormatInstance()
public SymbolTableHandler getSymbolTableHandler()
public void setHeadRules(HeadRules headRules)
Copyright 2007-2014 Johan Hall, Jens Nilsson and Joakim Nivre.