SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Typedefs | Variables
cwr_lm_template.c File Reference

Template for a new LM. More...

Typedefs

typedef struct SprCwrLMXxx_t SprCwrLMXxx
 

Variables

const SprCwrSRMDesc spr_cwr_srm_desc_lm_xxx
 

Detailed Description

Template for a new LM.

Artificially increase the N in an N-gram to some length M. This should result in better quality (word) lattices (extending the word-pair approximation to e.g. a word-trigram approximation).

[Load_options]
type=<N-gram/FSG/comb/dump/XXX>(N-gram)
Select the LM type
M=<I32:val>(-1)
Make the N-gram (vary-gram) behave as an M-gram with fixed context length, or if (M<N), a vary gram with minimum context length (M-1).
<String:val>
[string cat]
The standard N-gram options.
Date
July 2002
Author
Kris Demuynck
Revision History:
24/03/03 - KD
implemented fixed (M-1)-word (M>=N) LM-context for N-grams as an example.