You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lsa_v.dist_word_doc([‘anthropomorphism’],label_fn=htrc_label_fn_1315) works but adding other words to the initial list causes an error:
"ValueError: shape mismatch: value array of shape (2,) could not be broadcast to indexing result of shape (2,1)"
This is with [‘anthropomorphism’, ‘animal’] as first arg. This despite doc_string saying: :param word_or_words: Query word(s) to which a pseudo-document is
created for computation of distances.
The text was updated successfully, but these errors were encountered:
lsa_v.dist_word_doc([‘anthropomorphism’],label_fn=htrc_label_fn_1315) works but adding other words to the initial list causes an error:
"ValueError: shape mismatch: value array of shape (2,) could not be broadcast to indexing result of shape (2,1)"
This is with [‘anthropomorphism’, ‘animal’] as first arg. This despite doc_string saying: :param word_or_words: Query word(s) to which a pseudo-document is
created for computation of distances.
The text was updated successfully, but these errors were encountered: