#include "ratngs.h"
#include "params.h"
#include "unicharset.h"
Go to the source code of this file.
Define Documentation
#define MAX_PERM_LENGTH 128 |
Function Documentation
void adjust_non_word |
( |
const char * |
word, |
|
|
const char * |
word_lengths, |
|
|
float |
rating, |
|
|
float * |
new_rating, |
|
|
float * |
adjust_factor |
|
) |
| |
const char* choose_il1 |
( |
const char * |
first_char, |
|
|
const char * |
second_char, |
|
|
const char * |
third_char, |
|
|
const char * |
prev_char, |
|
|
const char * |
next_char, |
|
|
const char * |
next_next_char |
|
) |
| |
Variable Documentation
"Debug character fragments"
"Maximum number of different character choices to consider" " during permutation. This limit is especially useful when" " user patterns are specified, since overly generic patterns" " can result in dawg search exploring an overly large number" "of options."
"Turn on character type (property) consistency permuter"
"Turn on fixed-length phrasebook search permuter"
"Turn on word script consistency permuter"
"Debug the whole segmentation process"
"Score multipler for char type consistency within a word. "
"Score multipler for ngram permuter's best choice" " (only used in the Han script path)."
"Score multipler for script consistency within a word. " "Being a 'reward' factor, it should be <= 1. " "Smaller value implies bigger reward."
"incorporate segmentation cost in word rating?"