import{EncoderOptions}from"../type.js";export const filter=new Set(["aber","als","am","an","auch","auf","aus","bei","bin","bis","bist","da","dadurch","daher","darum","das","dass","dass","dein","deine","dem","den","der","des","dessen","deshalb","die","dies","dieser","dieses","doch","dort","du","durch","ein","eine","einem","einen","einer","eines","er","es","euer","eure","fuer","hatte","hatten","hattest","hattet","hier","hinter","ich","ihr","ihre","im","in","ist","ja","jede","jedem","jeden","jeder","jedes","jener","jenes","jetzt","ggf","kann","kannst","koennen","koennt","machen","mein","meine","mit","muss","musst","musst","muessen","muesst","nach","nachdem","nein","nicht","noch","nun","oder","seid","sein","seine","sich","sie","sind","soll","sollen","sollst","sollt","sonst","soweit","sowie","und","unser","unsere","unter","usw","uvm","vom","von","vor","wann","warum","was","weiter","weitere","wenn","wer","werde","werden","werdet","weshalb","wie","wieder","wieso","wir","wird","wirst","wo","woher","wohin","zu","zum","zur","ueber"]);export const stemmer=new Map([["niss",""],["isch",""],["lich",""],["heit",""],["keit",""],["ell",""],["bar",""],["end",""],["ung",""],["est",""],["ern",""],["em",""],["er",""],["en",""],["es",""],["st",""],["ig",""],["ik",""],["e",""],["s",""]]);const map=new Map([["_"," "],["\xE4","ae"],["\xF6","oe"],["\xFC","ue"],["\xDF","ss"],["&"," und "],["\u20AC"," EUR "]]),options={prepare:function(a){return /[_äöüß&€]/.test(a)&&(a=a.replace(/[_äöüß&€]/g,a=>map.get(a))),a.replace(/str\b/g,"strasse").replace(/(?!\b)strasse\b/g," strasse")},filter:filter,stemmer:stemmer};export default options;