Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
lm::sri::Model Class Reference

#include <sri.hh>

Inheritance diagram for lm::sri::Model:
[legend]
Collaboration diagram for lm::sri::Model:
[legend]

List of all members.

Public Member Functions

 Model (const char *file_name, unsigned int ngram_length)
 ~Model ()
FullScoreReturn FullScore (const State &in_state, const WordIndex new_word, State &out_state) const

Private Attributes

Vocabulary vocab_
std::auto_ptr< Ngram > sri_
WordIndex not_found_

Constructor & Destructor Documentation

lm::sri::Model::Model ( const char *  file_name,
unsigned int  ngram_length 
)

Here is the call graph for this function:

lm::sri::Model::~Model ( ) [virtual]

Reimplemented from lm::base::Model.


Member Function Documentation

FullScoreReturn lm::sri::Model::FullScore ( const State in_state,
const WordIndex  new_word,
State out_state 
) const

Here is the call graph for this function:


Member Data Documentation

std::auto_ptr<Ngram> lm::sri::Model::sri_ [mutable, private]