Word2Vec

Functions to generate and utilize word vectors.

WordVectors

Word Vectors Reference Class

vocabulary()

Get Vocabulary

in_vocabulary()

In Vocabulary

index()

Index

get_vector()

Get Vector

size()

Size

cosine()

Cosine

cosine_similar_words()

Cosine Similar Words

similarity()

Similarity

analogy() analogy_words()

Analogy

as_word2vec()

As Word2vec

word_vectors()

Word Vectors

word2vec()

Word2Vec

word2phrase()

Word2Phrases

Word2Clusters

Functions to generate word clusters.

WordClusters

Word Clusters Reference Class

vocabulary()

Get Vocabulary

in_vocabulary()

In Vocabulary

index()

Index

get_cluster()

Get Cluster

clusters()

Clusters

get_words()

Get words

as_word2clusters()

As Word2cluster

word_clusters()

Word Clusters

word2clusters()

Word Clusters

Misc

Dataset and setup function.

macbeth

Macbeth

setup_word2vec()

Setup a session