We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a48a46b commit afe22d4Copy full SHA for afe22d4
src/translator/translator.ts
@@ -20,7 +20,7 @@ export function translate(tokiPona: string): IterableResult<string> {
20
const unique: Set<string> = new Set();
21
if (settings.randomize) {
22
for (const result of iterableResult.iterable()) {
23
- if (unique.size >= RANDOMIZATION_LIMIT) {
+ if (unique.size > RANDOMIZATION_LIMIT) {
24
yield {
25
type: "error",
26
error: new ResultError("too many output to shuffle"),
0 commit comments