def METHOD_NAME():
    message = Message.build(text="Germany is part of the European Union")
    message.set(
        BILOU_ENTITIES,
        ["U-location", "O", "O", "O", "O", "B-organisation", "L-organisation"],
    )
    tag_id_dict = {"O": 0, "U-location": 1, "B-organisation": 2, "L-organisation": 3}
    tags = bilou_utils.bilou_tags_to_ids(message, tag_id_dict)
    assert tags == [1, 0, 0, 0, 0, 2, 3]