enlp.visualisation.word_vectors.similar_words¶
-
enlp.visualisation.word_vectors.
similar_words
(model, word, n=25, ax=None)[source]¶ Create a plot of similar words based off their word vectors
- Parameters
- Returns
- fig
matplotlib.figure.Figure
Figure object line plot of word counts
- ax
matplotlib.axes.Axis
Axis object for figure
- fig