#include <sent/stddefs.h>
#include <sent/ngram2.h>
Include dependency graph for ngram_util.c:

Go to the source code of this file.
Functions | |
| static int | get_unigram_size (NGRAM_INFO *ndata) | 
| static int | get_bigram_size (NGRAM_INFO *ndata) | 
| static int | get_trigram_size (NGRAM_INFO *ndata) | 
| void | print_ngram_info (NGRAM_INFO *ndata) | 
Definition in file ngram_util.c.
      
  | 
  
| 
 Estimate the total size of 1-gram part on memory. The resulting value may differ from the actual value, since the data sizes are hard coded. 
 
 
 Definition at line 36 of file ngram_util.c. Referenced by print_ngram_info().  | 
  
      
  | 
  
| 
 Estimate the total size of 2-gram part on memory. The resulting value may differ from the actual value, since the data sizes are hard coded. 
 
 
 Definition at line 52 of file ngram_util.c. Referenced by print_ngram_info().  | 
  
      
  | 
  
| 
 Estimate the total size of 3-gram part on memory. The resulting value may differ from the actual value, since the data sizes are hard coded. 
 
 
 Definition at line 82 of file ngram_util.c. Referenced by print_ngram_info().  | 
  
      
  | 
  
| 
 Output misccelaneous information of N-gram to standard output. 
 
 Definition at line 97 of file ngram_util.c. Referenced by print_info().  | 
  
 1.4.2