Edinburgh Speech Tools  2.1-release
freqsmooth.cc File Reference
#include <iostream>
#include <cstring>
#include <cmath>
#include <climits>
#include <cfloat>
#include "EST_Ngrammar.h"
Include dependency graph for freqsmooth.cc:

Go to the source code of this file.

Functions

void Ngram_freqsmooth (EST_Ngrammar &ngram, int smooth_thresh1, int smooth_thresh2)
 
void fs_build_backoff_ngrams (EST_Ngrammar *backoff_ngrams, EST_Ngrammar &ngram)
 
int fs_backoff_smooth (EST_Ngrammar *backoff_ngrams, EST_Ngrammar &ngram, int smooth_thresh)
 

Function Documentation

void Ngram_freqsmooth ( EST_Ngrammar ngram,
int  smooth_thresh1,
int  smooth_thresh2 
)

Definition at line 58 of file freqsmooth.cc.

void fs_build_backoff_ngrams ( EST_Ngrammar backoff_ngrams,
EST_Ngrammar ngram 
)

Definition at line 75 of file freqsmooth.cc.

int fs_backoff_smooth ( EST_Ngrammar backoff_ngrams,
EST_Ngrammar ngram,
int  smooth_thresh 
)

Definition at line 111 of file freqsmooth.cc.