SPRAAK
Data Fields
SprCwrCEChrDiff Struct Reference
+ Collaboration diagram for SprCwrCEChrDiff:

Data Fields

const SprStrHashTbl * ndx2str
 go from indices to (word) strings More...
 
SprStrHashTbl chr2ndx
 count occurences More...
 
int N
 go up till N-grams (maximum: 3) More...
 
int UTF8
 assume utf-8 characters instead of latin1 More...
 
float offsI
 
float offsD
 
float offsS
 base costs for insertion, deletion, and substitution More...
 
float wgtI
 
float wgtD
 
float wgt [3]
 

Field Documentation

§ ndx2str

const SprStrHashTbl* SprCwrCEChrDiff::ndx2str

go from indices to (word) strings

§ chr2ndx

SprStrHashTbl SprCwrCEChrDiff::chr2ndx

count occurences

§ N

int SprCwrCEChrDiff::N

go up till N-grams (maximum: 3)

§ UTF8

int SprCwrCEChrDiff::UTF8

assume utf-8 characters instead of latin1

§ offsI

float SprCwrCEChrDiff::offsI

§ offsD

float SprCwrCEChrDiff::offsD

§ offsS

float SprCwrCEChrDiff::offsS

base costs for insertion, deletion, and substitution

§ wgtI

float SprCwrCEChrDiff::wgtI

§ wgtD

float SprCwrCEChrDiff::wgtD

weight for insertion or deletion (multiplied by the number of letter in the word)

§ wgt

float SprCwrCEChrDiff::wgt[3]

weight for ia mismatch in characters or character sequences (bag of letter (sequences) approach)