refactor, rename explorer guesser

This commit is contained in:
JOLIMAITRE Matthieu 2024-05-02 16:29:08 +02:00
parent 9d36edecc9
commit f0b1200e6f
4 changed files with 6 additions and 6 deletions

View file

@ -3,8 +3,8 @@
import { Command } from "https://deno.land/x/cliffy@v1.0.0-rc.4/command/mod.ts";
import {
BaseGuesser,
Dict,
ExplorerGuesser,
Guessing,
LoggingStrategy,
ReducingGuesser,
@ -66,7 +66,7 @@ function validate_target(target: string, length: number) {
}
const guessers = new Map<string, (dict: Dict) => Guessing>([
["explorer", (dict: Dict) => new BaseGuesser(dict)],
["explorer", (dict: Dict) => new ExplorerGuesser(dict)],
["reducing", (dict: Dict) => new ReducingGuesser(dict)],
]);