text2vec (version 0.3.0)

prepare_analogy_questions: Prepares list of analogy questions

Description

This function prepares a list of questions from a questions-words.txt format. For full examples see glove.

Usage

prepare_analogy_questions(questions_file_path, vocab_terms, verbose = TRUE)

Arguments

questions_file_path
character path to questions file.
vocab_terms
character words which we have in the vocabulary and word embeddings matrix.
verbose
logical whether to print messages during evaluation.

See Also

check_analogy_accuracy, glove