From 688fffb4e6ad7647fc8bf832838b9bf5e9a4d5f0 Mon Sep 17 00:00:00 2001 From: Stig Johan Berggren Date: Wed, 3 Oct 2018 11:17:37 +0200 Subject: [PATCH] list of tuple, not just tuple --- gensim/models/keyedvectors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gensim/models/keyedvectors.py b/gensim/models/keyedvectors.py index cb318322b4..72a33c5bba 100644 --- a/gensim/models/keyedvectors.py +++ b/gensim/models/keyedvectors.py @@ -1069,7 +1069,7 @@ def evaluate_word_analogies(self, analogies, restrict_vocab=300000, case_insensi ------- score : float The overall evaluation score on the entire evaluation set - sections : list of dict of {str : str or tuple of (str, str, str, str)} + sections : list of dict of {str : str or list of tuple of (str, str, str, str)} Results broken down by each section of the evaluation set. Each dict contains the name of the section under the key 'section', and lists of correctly and incorrectly predicted 4-tuples of words under the keys 'correct' and 'incorrect'.