Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
joshua.decoder.ff.DefaultStatefulFF Class Reference
Inheritance diagram for joshua.decoder.ff.DefaultStatefulFF:
[legend]
Collaboration diagram for joshua.decoder.ff.DefaultStatefulFF:
[legend]

List of all members.

Public Member Functions

 DefaultStatefulFF (int stateID, double weight, int featureID)
boolean isStateful ()
final double getWeight ()
final void setWeight (final double weight)
final int getFeatureID ()
final void setFeatureID (final int id)
final int getStateID ()
final void setStateID (final int id)
double transitionLogP (HyperEdge edge, int spanStart, int spanEnd, int sentID)
double finalTransitionLogP (HyperEdge edge, int spanStart, int spanEnd, int sentID)

Private Attributes

int stateID
double weight = 0.0
int featureID

Detailed Description

Author:
Zhifei Li, zhife.nosp@m.i.wo.nosp@m.rk@gm.nosp@m.ail..nosp@m.com
Version:
$LastChangedDate$

Constructor & Destructor Documentation

joshua.decoder.ff.DefaultStatefulFF.DefaultStatefulFF ( int  stateID,
double  weight,
int  featureID 
)

Member Function Documentation

double joshua.decoder.ff.DefaultStatefulFF.finalTransitionLogP ( HyperEdge  edge,
int  spanStart,
int  spanEnd,
int  sentID 
)

Implements joshua.decoder.ff.FeatureFunction.

Here is the call graph for this function:

Implements joshua.decoder.ff.FeatureFunction.

Here is the caller graph for this function:

Implements joshua.decoder.ff.FeatureFunction.

Here is the caller graph for this function:

Implements joshua.decoder.ff.FeatureFunction.

Here is the caller graph for this function:

final void joshua.decoder.ff.DefaultStatefulFF.setStateID ( final int  id)
final void joshua.decoder.ff.DefaultStatefulFF.setWeight ( final double  weight)
double joshua.decoder.ff.DefaultStatefulFF.transitionLogP ( HyperEdge  edge,
int  spanStart,
int  spanEnd,
int  sentID 
)

Implements joshua.decoder.ff.FeatureFunction.

Here is the call graph for this function:


Member Data Documentation

any integers exept -1