def extract_source(infos):
    """
    Allows to extract the lsource of a document from its JSON entity informations.
    """
    file_name = infos["document_path"]
    splited = file_name.split("/")
    return splited[len(splited) - 1].split("_")[1]