def create_ids_4_labels(label_str, label_ids, current_id):
    """Assign numerical values to label_str variable

    Args:
        label_str (str): Label in string format
        label_ids (dict): Contains assotiation: {label_str, label_int}
        current_id (int): Incremental value

    Returns:
        label_int (int): Label in int format
        current_id (int): Incremented current_id
        label_ids (dict): Updated label_ids dictionary
    """
    label_int = 0
    if not label_str in label_ids:
        label_ids[label_str] = current_id
        current_id += 1
    label_int = label_ids[label_str]
    return label_int, current_id, label_ids