read_embedding {sentiment.ai}R Documentation

Read embedding file. Take json path, return single embedding object for specific model.

Description

Read embedding file. Take json path, return single embedding object for specific model.

Usage

read_embedding(file, model = "en.large", version = NULL)

Arguments

file

character - the filepath to the json object.

model

character - which model's default embeddings are needed.

version

PLACEHOLDER - may be necessary in future.


[Package sentiment.ai version 0.1.1 Index]