import { EncoderOptions } from "../../type.js";
import { soundex } from "./balance.js";
import { matcher, replacer } from "./advanced.js";

export const compact = [/(?!^)[aeo]/g, ""];

/** @type EncoderOptions */
const options = {

    mapper: soundex,
    replacer: replacer.concat(compact),
    matcher: matcher
};
export default options;