Skip to content

Commit fd11d8b

Browse files
committed
increase limit
1 parent d205bd9 commit fd11d8b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ import {
2525
} from "./settings_frontend.ts";
2626
import { translate } from "./translator/translator.ts";
2727

28-
const DICTIONARY_AUTO_PARSE_THRESHOLD = 9000;
28+
const DICTIONARY_AUTO_PARSE_THRESHOLD = 10445;
2929
const INITIAL_PAGE_SIZE = 100;
30-
const MAX_PAGE_SIZE = 10000;
30+
const MAX_PAGE_SIZE = 25248;
3131

3232
// never change this
3333
const DICTIONARY_KEY = "dictionary";

src/translator/translator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { settings } from "../settings.ts";
66
import * as EnglishComposer from "./composer.ts";
77
import { multipleSentences } from "./sentence.ts";
88

9-
const RANDOMIZATION_LIMIT = 10000;
9+
const RANDOMIZATION_LIMIT = 25248;
1010

1111
export function translate(tokiPona: string): IterableResult<string> {
1212
return new IterableResult(function* () {

0 commit comments

Comments
 (0)