Joshua
open source statistical hierarchical phrase-based machine translation system
|
Public Member Functions | |
String | getKey () |
int | size () |
void | readState (DataInputStream in) throws IOException |
void | writeState (DataOutputStream out) throws IOException |
abstract float | read (ByteBuffer stream, int position) |
abstract void | write (ByteBuffer stream, float value) |
Static Public Member Functions | |
static PrimitiveFloatEncoder | get (String k) |
Public Attributes | |
BYTE | |
BOOLEAN | |
CHAR | |
FLOAT | |
INT | |
SHORT | |
Private Member Functions | |
PrimitiveFloatEncoder (String k, int s) | |
Private Attributes | |
final String | key |
final int | size |
joshua.util.encoding.PrimitiveFloatEncoder.PrimitiveFloatEncoder | ( | String | k, |
int | s | ||
) | [private] |
static PrimitiveFloatEncoder joshua.util.encoding.PrimitiveFloatEncoder.get | ( | String | k | ) | [static] |
Implements joshua.util.encoding.FloatEncoder.
abstract float joshua.util.encoding.PrimitiveFloatEncoder.read | ( | ByteBuffer | stream, |
int | position | ||
) | [pure virtual] |
Implements joshua.util.encoding.FloatEncoder.
void joshua.util.encoding.PrimitiveFloatEncoder.readState | ( | DataInputStream | in | ) | throws IOException |
Implements joshua.util.encoding.FloatEncoder.
Implements joshua.util.encoding.FloatEncoder.
abstract void joshua.util.encoding.PrimitiveFloatEncoder.write | ( | ByteBuffer | stream, |
float | value | ||
) | [pure virtual] |
Implements joshua.util.encoding.FloatEncoder.
void joshua.util.encoding.PrimitiveFloatEncoder.writeState | ( | DataOutputStream | out | ) | throws IOException |
Implements joshua.util.encoding.FloatEncoder.
final String joshua.util.encoding.PrimitiveFloatEncoder.key [private] |
final int joshua.util.encoding.PrimitiveFloatEncoder.size [private] |