"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStopwords = void 0;
var stopwords_en_1 = require("./en/stopwords-en");
var stopwords_es_1 = require("./es/stopwords-es");
var STOPWORDS = {
    en: stopwords_en_1.STOPWORDS_EN,
    es: stopwords_es_1.STOPWORDS_ES,
};
function getStopwords(locale) {
    if (!(locale in STOPWORDS)) {
        throw new Error("No Stopwords configured for locale '" + locale + "'");
    }
    return STOPWORDS[locale];
}
exports.getStopwords = getStopwords;
//# sourceMappingURL=stopwords.js.map