"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getWordList = void 0;
const types_1 = require("@scrabble-solver/types");
const lib_1 = require("../lib");
const FILE_URL = 'https://raw.githubusercontent.com/kamilmielnik/scrabble-dictionaries/master/spanish/file-2017.txt';
const getWordList = async () => {
    const words = await (0, lib_1.getTxtWordList)(FILE_URL, types_1.Locale.ES_ES);
    return (0, lib_1.transliterateDiacritics)(words, { ignore: ['ñ'] });
};
exports.getWordList = getWordList;
