public class HeadRule extends ArrayList<PrioList>
Modifier and Type | Field and Description |
---|---|
protected Direction |
defaultDirection |
protected HeadRules |
headRules |
static long |
serialVersionUID |
protected int |
symbolCode |
protected SymbolTable |
table |
modCount
Constructor and Description |
---|
HeadRule(HeadRules headRules,
String ruleSpec) |
Modifier and Type | Method and Description |
---|---|
DataFormatInstance |
getDataFormatInstance() |
Direction |
getDefaultDirection() |
PhraseStructureNode |
getHeadChild(NonTerminalNode nt) |
org.apache.log4j.Logger |
getLogger() |
int |
getSymbolCode() |
String |
getSymbolString() |
SymbolTableHandler |
getSymbolTableHandler() |
SymbolTable |
getTable() |
void |
init(String ruleSpec) |
void |
setDefaultDirection(Direction direction) |
void |
setHeadRules(HeadRules headRules) |
void |
setSymbolCode(int symbolCode) |
void |
setTable(SymbolTable table) |
String |
toString() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public static final long serialVersionUID
protected SymbolTable table
protected int symbolCode
protected Direction defaultDirection
public HeadRule(HeadRules headRules, String ruleSpec) throws MaltChainedException
MaltChainedException
public void init(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 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)
public String toString()
toString
in class AbstractCollection<PrioList>
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.