|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.siefkes.nlstego.predict.PredictedToken
public class PredictedToken
Wrapper for a predicted token. Contains the token and its probability.
| Constructor Summary | |
|---|---|
PredictedToken(String theToken,
double theProbability)
Creates a new instance. |
|
| Method Summary | |
|---|---|
double |
getProbability()
Returns the probability of this token. |
String |
getToken()
Returns the String representation of this token. |
String |
toString()
Returns a String that represents the value of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PredictedToken(String theToken,
double theProbability)
theToken - the String representation of this tokentheProbability - the probability of this token| Method Detail |
|---|
public final String toString()
Created (30.10.2001 10:46:50) by Christian Siefkes.
toString in class Objectpublic final double getProbability()
public final String getToken()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||