|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.shef.dcs.oak.jate.core.voting.Voting
public class Voting
Constructor Summary | |
---|---|
Voting()
|
Method Summary | |
---|---|
java.util.List<Term> |
calculate(WeightedOutput... outputs)
Produce the voting result |
java.util.List<Term> |
load(java.lang.String path)
Load standard jate term recognition output into a list of ranked terms. |
void |
output(java.util.List<Term> target,
java.lang.String filename)
Output the result, one term on a line, in the format of |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Voting()
Method Detail |
---|
public java.util.List<Term> load(java.lang.String path)
lemma |variantX |variantY confidence
path
-
public java.util.List<Term> calculate(WeightedOutput... outputs) throws JATEException
outputs
-
JATEException
public void output(java.util.List<Term> target, java.lang.String filename)
lemma confidence
target
- filename
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |