|
MaltParser 1.4.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.maltparser.core.syntaxgraph.SyntaxGraph
public abstract class SyntaxGraph
| Field Summary | |
|---|---|
protected ObjectPoolList<LabelSet> |
labelSetPool
|
protected int |
numberOfComponents
|
protected SymbolTableHandler |
symbolTables
|
| Constructor Summary | |
|---|---|
SyntaxGraph(SymbolTableHandler symbolTables)
|
|
| Method Summary | |
|---|---|
void |
addLabel(Element element,
String labelFunction,
String label)
Adds a label label to the graph element element |
void |
checkInLabelSet(LabelSet labelSet)
Checks in a label set. |
LabelSet |
checkOutNewLabelSet()
Checks out a new label set from the structure. |
void |
clear()
Resets the structure. |
SymbolTableHandler |
getSymbolTables()
Returns the symbol table handler. |
void |
setSymbolTables(SymbolTableHandler symbolTables)
Sets the symbol table handler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Observer |
|---|
update |
| Field Detail |
|---|
protected SymbolTableHandler symbolTables
protected ObjectPoolList<LabelSet> labelSetPool
protected int numberOfComponents
| Constructor Detail |
|---|
public SyntaxGraph(SymbolTableHandler symbolTables)
throws MaltChainedException
MaltChainedException| Method Detail |
|---|
public SymbolTableHandler getSymbolTables()
LabeledStructure
getSymbolTables in interface LabeledStructurepublic void setSymbolTables(SymbolTableHandler symbolTables)
LabeledStructure
setSymbolTables in interface LabeledStructuresymbolTables - a symbol table handler.
public void addLabel(Element element,
String labelFunction,
String label)
throws MaltChainedException
LabeledStructure
addLabel in interface LabeledStructureelement - a graph element element (a node or a edge).labelFunction - the name of the symbol table.label - the string value of the label.
MaltChainedException
public LabelSet checkOutNewLabelSet()
throws MaltChainedException
LabeledStructure
checkOutNewLabelSet in interface LabeledStructureMaltChainedException
public void checkInLabelSet(LabelSet labelSet)
throws MaltChainedException
LabeledStructure
checkInLabelSet in interface LabeledStructurelabelSet - a label set.
MaltChainedException
public void clear()
throws MaltChainedException
Structure
clear in interface StructureMaltChainedException
|
MaltParser 1.4.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||