|
ABL4J (Alignment Based Learning for Java) - 0.9.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.schwiebert.abl4j.cluster.Cluster<NTM>
public class Cluster<NTM extends NonTerminalsMapping>
This class implements the clustering part of the aligning phase.
| Field Summary | |
|---|---|
private ClusterMethod<NTM> |
clusterMethod
|
private Logger |
logger
|
private MergeMethod<NTM> |
mergeMethod
|
private ITreeBank |
tb
|
| Constructor Summary | |
|---|---|
Cluster()
|
|
| Method Summary | |
|---|---|
void |
configure(PropertiesMap properties)
|
void |
execute(ITreeBank treeBank)
|
int |
getNumberOfUniqueNTInput()
Returns the number of unique NonTerminals in input |
int |
getNumberOfUniqueNTOutput()
Returns the number of unique NonTerminals in output |
ITreeBank |
getTreebank()
Returns the ITreeBank |
int |
size()
Returns the size of the treebank |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ITreeBank tb
private Logger logger
private ClusterMethod<NTM extends NonTerminalsMapping> clusterMethod
private MergeMethod<NTM extends NonTerminalsMapping> mergeMethod
| Constructor Detail |
|---|
public Cluster()
| Method Detail |
|---|
public void configure(PropertiesMap properties)
throws InvalidConfigurationException
configure in interface IConfigurableInvalidConfigurationExceptionpublic void execute(ITreeBank treeBank)
execute in interface IAblComponentpublic int size()
public ITreeBank getTreebank()
ITreeBank
public int getNumberOfUniqueNTInput()
NonTerminals in input
public int getNumberOfUniqueNTOutput()
NonTerminals in output
|
ABL4J (Alignment Based Learning for Java) - 0.9.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||