def get_prediction_results(data, labels, predict_prob, vocab_dict, label_dict):
    """
    Get the prediction and the true labels with the words in conll format
    @params : data - unpadded test data
    @params : labels - unpadded test labels
    @params : predict_prob - the predicted probabilities
    @params : vocab_dict - vocabulary dict
    @params : label_dict - label dict
    @returns : result - Resulting textual predictions in conll format:
            line_number(int)    word(str)   predict_label(str)  true_label(str)
    """
    result = []
    for document, doc_labels, doc_preds in zip(data, labels, predict_prob):
        document_result = []
        for word, word_label, word_pred in zip(document, doc_labels, doc_preds):
            # Get index of most probable label:
            index = word_pred.tolist().index(max(word_pred))
            # Conll format: line_number(int)    word(str)   predict_label(str)  true_label(str)
            document_result.append((vocab_dict[word],label_dict[index],label_dict[word_label]))
        result.append(document_result)
    return result