from .fast_engine import FastTranslator


def get_translator(mode: str = "fast"):
    if mode == "smart":
        from .smart_engine import SmartTranslator
        return SmartTranslator()

    return FastTranslator(max_chunk_chars=3500)
