Increase classify sampling window; 300=>500 chars
This commit is contained in:
parent
63b34d9851
commit
635df947c5
|
@ -764,7 +764,7 @@ function sampleClassifyText(text) {
|
|||
// Remove asterisks and quotes
|
||||
let result = text.replace(/[\*\"]/g, '');
|
||||
|
||||
const SAMPLE_THRESHOLD = 300;
|
||||
const SAMPLE_THRESHOLD = 500;
|
||||
const HALF_SAMPLE_THRESHOLD = SAMPLE_THRESHOLD / 2;
|
||||
|
||||
if (text.length < SAMPLE_THRESHOLD) {
|
||||
|
|
Loading…
Reference in New Issue