get_projector_instance: Get instance of projector for embedding averaging

Description Usage Arguments

Description

Generate an instance of projector tool dedicated to embedding averaging. Not to be used with

Usage

1
get_projector_instance(word_embeddings, na_if_unknwown_word)

Arguments

na_if_unknwown_word

TRUE to return NA if one of the word is unknown, FALSE to work with remaining known words

word_embeddings_mat

a matrix containing word embeddings.


pommedeterresautee/projector documentation built on May 5, 2019, 1:38 p.m.