mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-17 21:03:19 +08:00
+ chg: increase CED's reliability to confidence level mapping treshold (-> 85%)
This commit is contained in:
parent
cd1a8b097c
commit
1ed333fbba
@ -6966,12 +6966,12 @@ void LoadSettings()
|
||||
int const iARCLset = clampi(IniSectionGetInt(pIniSection, L"AnalyzeReliableConfidenceLevel", iARCLdef), 0, 100);
|
||||
Settings2.AnalyzeReliableConfidenceLevel = (float)iARCLset / 100.0f;
|
||||
|
||||
int const iRCEDCMdef = 51;
|
||||
int const iRCEDCMdef = 85;
|
||||
Defaults2.ReliableCEDConfidenceMapping = (float)iRCEDCMdef / 100.0f;
|
||||
int const iRCEDCMset = clampi(IniSectionGetInt(pIniSection, L"ReliableCEDConfidenceMapping", iRCEDCMdef), 0, 100);
|
||||
Settings2.ReliableCEDConfidenceMapping = (float)iRCEDCMset / 100.0f;
|
||||
|
||||
int const iURCEDCMdef = 51;
|
||||
int const iURCEDCMdef = 20;
|
||||
Defaults2.UnReliableCEDConfidenceMapping = (float)iURCEDCMdef / 100.0f;
|
||||
int const iURCEDCMset = clampi(IniSectionGetInt(pIniSection, L"UnReliableCEDConfidenceMapping", iURCEDCMdef), 0, iRCEDCMset);
|
||||
Settings2.UnReliableCEDConfidenceMapping = (float)iURCEDCMset / 100.0f;
|
||||
|
||||
@ -472,7 +472,7 @@ typedef struct _settings2_t
|
||||
int CurrentLineVerticalSlop;
|
||||
|
||||
float AnalyzeReliableConfidenceLevel;
|
||||
float ReliableCEDConfidenceMapping; // = 0.66f;
|
||||
float ReliableCEDConfidenceMapping; // = 0.85f;
|
||||
float UnReliableCEDConfidenceMapping; //= 0.20f;
|
||||
|
||||
WCHAR PreferredLanguageLocaleName[LOCALE_NAME_MAX_LENGTH+1];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user