def fit_encoder(input_corpus_paths, encoder_path):
    """
    Fit an encoder on the corpora given and save it into a pickle file.
    """
    from langdist import encoder
    encoder.fit_encoder(input_corpus_paths, encoder_path)
