#include <include/EST_Ngrammar.h>
 | 
|   | EST_BackoffNgrammarState () | 
|   | 
|   | EST_BackoffNgrammarState (const EST_Discrete *d, int level) | 
|   | 
|   | EST_BackoffNgrammarState (const EST_DiscreteProbDistribution &pdf, int level) | 
|   | 
|   | EST_BackoffNgrammarState (const EST_BackoffNgrammarState &s) | 
|   | 
|   | EST_BackoffNgrammarState (const EST_BackoffNgrammarState *const s) | 
|   | 
|   | ~EST_BackoffNgrammarState () | 
|   | 
| void  | clear () | 
|   | 
| void  | init () | 
|   | 
| void  | init (const EST_Discrete *d, int level) | 
|   | 
| void  | init (const EST_DiscreteProbDistribution &pdf, int level) | 
|   | 
| bool  | accumulate (const EST_StrVector &words, const double count=1) | 
|   | 
| bool  | accumulate (const EST_IVector &words, const double count=1) | 
|   | 
| const EST_DiscreteProbDistribution &  | pdf_const () const  | 
|   | 
| EST_DiscreteProbDistribution &  | pdf () | 
|   | 
| double  | probability (const EST_String &w) const  | 
|   | 
| double  | frequency (const EST_String &w) const  | 
|   | 
| const EST_String &  | most_probable (double *prob=NULL) const  | 
|   | 
| int  | level () const  | 
|   | 
| EST_BackoffNgrammarState *  | get_child (const EST_String &word) const  | 
|   | 
| EST_BackoffNgrammarState *  | get_child (const int word) const  | 
|   | 
| void  | remove_child (EST_BackoffNgrammarState *child, const EST_String &name) | 
|   | 
| void  | zap () | 
|   | 
| const EST_BackoffNgrammarState *  | get_state (const EST_StrVector &words) const  | 
|   | 
| bool  | ngram_exists (const EST_StrVector &words, const double threshold) const  | 
|   | 
| double  | get_backoff_weight () const  | 
|   | 
| double  | get_backoff_weight (const EST_StrVector &words) const  | 
|   | 
| bool  | set_backoff_weight (const EST_StrVector &words, const double w) | 
|   | 
| void  | frequency_of_frequencies (EST_DVector &ff) | 
|   | 
| void  | print_freqs (ostream &os, const int order, EST_String followers="") | 
|   | 
Definition at line 129 of file EST_Ngrammar.h.
 
  
  
      
        
          | EST_BackoffNgrammarState::EST_BackoffNgrammarState  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | EST_BackoffNgrammarState::EST_BackoffNgrammarState  | 
          ( | 
          const EST_Discrete *  | 
          d,  | 
         
        
           | 
           | 
          int  | 
          level  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | EST_BackoffNgrammarState::~EST_BackoffNgrammarState  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void EST_BackoffNgrammarState::clear  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void EST_BackoffNgrammarState::init  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | bool EST_BackoffNgrammarState::accumulate  | 
          ( | 
          const EST_StrVector &  | 
          words,  | 
        
        
           | 
           | 
          const double  | 
          count = 1  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | bool EST_BackoffNgrammarState::accumulate  | 
          ( | 
          const EST_IVector &  | 
          words,  | 
        
        
           | 
           | 
          const double  | 
          count = 1  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
  
  
      
        
          | double EST_BackoffNgrammarState::probability  | 
          ( | 
          const EST_String &  | 
          w | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | double EST_BackoffNgrammarState::frequency  | 
          ( | 
          const EST_String &  | 
          w | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | const EST_String& EST_BackoffNgrammarState::most_probable  | 
          ( | 
          double *  | 
          prob = NULL | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | int EST_BackoffNgrammarState::level  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | void EST_BackoffNgrammarState::zap  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | bool EST_BackoffNgrammarState::ngram_exists  | 
          ( | 
          const EST_StrVector &  | 
          words,  | 
        
        
           | 
           | 
          const double  | 
          threshold  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
  
  
      
        
          | double EST_BackoffNgrammarState::get_backoff_weight  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | double EST_BackoffNgrammarState::get_backoff_weight  | 
          ( | 
          const EST_StrVector &  | 
          words | ) | 
           const | 
        
      
 
 
      
        
          | bool EST_BackoffNgrammarState::set_backoff_weight  | 
          ( | 
          const EST_StrVector &  | 
          words,  | 
        
        
           | 
           | 
          const double  | 
          w  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void EST_BackoffNgrammarState::frequency_of_frequencies  | 
          ( | 
          EST_DVector &  | 
          ff | ) | 
           | 
        
      
 
 
      
        
          | void EST_BackoffNgrammarState::print_freqs  | 
          ( | 
          ostream &  | 
          os,  | 
        
        
           | 
           | 
          const int  | 
          order,  | 
        
        
           | 
           | 
          EST_String  | 
          followers = ""  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
  
  
      
        
          | int EST_BackoffNgrammarState::p_level | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | double EST_BackoffNgrammarState::backoff_weight | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: