Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
anonymous_namespace{wrap.cc}::VirtualImpl< Model > Class Template Reference
Inheritance diagram for anonymous_namespace{wrap.cc}::VirtualImpl< Model >:
[legend]
Collaboration diagram for anonymous_namespace{wrap.cc}::VirtualImpl< Model >:
[legend]

List of all members.

Public Member Functions

 VirtualImpl (const char *name, float fake_oov_cost)
 ~VirtualImpl ()
float Prob (jint *const begin, jint *const end) const
float ProbString (jint *const begin, jint *const end, jint start) const
uint8_t Order () const
bool RegisterWord (const StringPiece &word, const int joshua_id)

Private Attributes

Model m_
float fake_oov_cost_
std::vector< lm::WordIndexmap_

template<class Model>
class anonymous_namespace{wrap.cc}::VirtualImpl< Model >


Constructor & Destructor Documentation

template<class Model>
anonymous_namespace{wrap.cc}::VirtualImpl< Model >::VirtualImpl ( const char *  name,
float  fake_oov_cost 
)
template<class Model>
anonymous_namespace{wrap.cc}::VirtualImpl< Model >::~VirtualImpl ( )

Member Function Documentation

template<class Model>
uint8_t anonymous_namespace{wrap.cc}::VirtualImpl< Model >::Order ( ) const [virtual]
template<class Model>
float anonymous_namespace{wrap.cc}::VirtualImpl< Model >::Prob ( jint *const  begin,
jint *const  end 
) const [virtual]

Implements anonymous_namespace{wrap.cc}::VirtualBase.

Here is the call graph for this function:

template<class Model>
float anonymous_namespace{wrap.cc}::VirtualImpl< Model >::ProbString ( jint *const  begin,
jint *const  end,
jint  start 
) const [virtual]

Implements anonymous_namespace{wrap.cc}::VirtualBase.

Here is the call graph for this function:

template<class Model>
bool anonymous_namespace{wrap.cc}::VirtualImpl< Model >::RegisterWord ( const StringPiece word,
const int  joshua_id 
) [virtual]

Member Data Documentation

template<class Model>
float anonymous_namespace{wrap.cc}::VirtualImpl< Model >::fake_oov_cost_ [private]
template<class Model>
Model anonymous_namespace{wrap.cc}::VirtualImpl< Model >::m_ [private]
template<class Model>
std::vector<lm::WordIndex> anonymous_namespace{wrap.cc}::VirtualImpl< Model >::map_ [private]