dselivanov / dselivanov/text2vec

GlobalVectors object lost fit method?

Open
#329 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
876
Forks
133
PR merge metrics
No merged PRs in 30d

Description

Hey there. I find [your example](https://cran.r-project.org/web/packages/text2vec/vignettes/glove.html) from Feb no longer works for me (macOS 11.0.1, version 4.0.3, text2vec 0.6).

```
require(text2vec)
#> Loading required package: text2vec
glove = GlobalVectors$new(rank = 50, x_max = 10)
glove$fit
#> NULL
```

In your example [script](https://cran.r-project.org/web/packages/text2vec/vignettes/glove.html), replacing `glove$fit()` line with `glove$fit_transform()` does train the model. But next line fails:

```
word_vectors <- glove$get_word_vectors()
Error: attempt to apply non-function
```

because `glove$get_word_vectors` is also missing. Any idea what is going on?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.