| Package | com.suckatmath.machinelearning.markov |
| Class | public class TokenEntry |
| Inheritance | TokenEntry Object |
| Property | Defined By | ||
|---|---|---|---|
| data : *
content of this token
| TokenEntry | ||
| weight : int [read-only]
get number of times the token has been seen in this context
| TokenEntry | ||
| Method | Defined By | ||
|---|---|---|---|
TokenEntry(d:*)
construct a new TokenEntry representing some arbitrary data
| TokenEntry | ||
increment():void
increase weight
| TokenEntry | ||
toString():String
return a string representation of this token
| TokenEntry | ||
| data | property |
public var data:*content of this token
| weight | property |
weight:int [read-only] get number of times the token has been seen in this context
public function get weight():int| TokenEntry | () | Constructor |
public function TokenEntry(d:*)construct a new TokenEntry representing some arbitrary data
Parametersd:* |
| increment | () | method |
public function increment():voidincrease weight
| toString | () | method |
public function toString():Stringreturn a string representation of this token
ReturnsString —
|