Phonetisaurus  1.0
FST-based Grapheme-to-Phoneme conversion
Public Member Functions | Public Attributes | List of all members
Token Class Reference

#include <RnnLMDecoder.h>

Public Member Functions

 Token (int hsize, int max_order)
 
 Token (Token *tok, int w, int s)
 
void HashHistory ()
 

Public Attributes

int word
 
double weight
 
double total
 
double g
 
Tokenprev
 
int state
 
int key
 
vector< double > hlayer
 
vector< int > history
 
size_t hhash
 

Detailed Description

Definition at line 20 of file RnnLMDecoder.h.

Constructor & Destructor Documentation

Token::Token ( int  hsize,
int  max_order 
)
inline

Definition at line 22 of file RnnLMDecoder.h.

Token::Token ( Token tok,
int  w,
int  s 
)
inline

Definition at line 31 of file RnnLMDecoder.h.

Member Function Documentation

void Token::HashHistory ( )
inline

Definition at line 48 of file RnnLMDecoder.h.

Member Data Documentation

double Token::g
mutable

Definition at line 57 of file RnnLMDecoder.h.

size_t Token::hhash

Definition at line 63 of file RnnLMDecoder.h.

vector<int> Token::history
mutable

Definition at line 62 of file RnnLMDecoder.h.

vector<double> Token::hlayer
mutable

Definition at line 61 of file RnnLMDecoder.h.

int Token::key
mutable

Definition at line 60 of file RnnLMDecoder.h.

Token* Token::prev
mutable

Definition at line 58 of file RnnLMDecoder.h.

int Token::state

Definition at line 59 of file RnnLMDecoder.h.

double Token::total
mutable

Definition at line 56 of file RnnLMDecoder.h.

double Token::weight
mutable

Definition at line 55 of file RnnLMDecoder.h.

int Token::word

Definition at line 54 of file RnnLMDecoder.h.


The documentation for this class was generated from the following file: