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

List of all members.

Public Member Functions

 Future (PhraseChart chart)
float Full ()
float Change (Coverage coverage, int begin, int end)

Private Member Functions

float getEntry (int begin, int end)
void setEntry (int begin, int end, float value)

Private Attributes

ChartSpan< Float > entries
int sentlen

Constructor & Destructor Documentation

Computes bottom-up the best way to cover all spans of the input sentence, using the phrases that have been assembled in a PhraseChart. Requires that there be a translation at least for every word (which can be accomplished with a pass-through grammar).

Parameters:
chart

Here is the call graph for this function:


Member Function Documentation

float joshua.decoder.phrase.Future.Change ( Coverage  coverage,
int  begin,
int  end 
)

Calculate change in rest cost when the given coverage is to be covered.

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

float joshua.decoder.phrase.Future.getEntry ( int  begin,
int  end 
) [private]

Here is the caller graph for this function:

void joshua.decoder.phrase.Future.setEntry ( int  begin,
int  end,
float  value 
) [private]

Here is the caller graph for this function:


Member Data Documentation

ChartSpan<Float> joshua.decoder.phrase.Future.entries [private]