Edinburgh Speech Tools  2.1-release
ngrammar_utils.cc File Reference
#include <iostream>
#include <cstring>
#include "EST_String.h"
#include "EST_Token.h"
#include "EST_error.h"
#include "EST_Ngrammar.h"
Include dependency graph for ngrammar_utils.cc:

Go to the source code of this file.

Functions

bool test_stats (EST_Ngrammar &ngram, const EST_String &filename, double &raw_entropy, double &count, double &entropy, double &perplexity, const EST_String &input_format, const EST_String &prev, const EST_String &prev_prev, const EST_String &last)
 

Function Documentation

bool test_stats ( EST_Ngrammar ngram,
const EST_String filename,
double &  raw_entropy,
double &  count,
double &  entropy,
double &  perplexity,
const EST_String input_format,
const EST_String prev,
const EST_String prev_prev,
const EST_String last 
)

Definition at line 89 of file ngrammar_utils.cc.