Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formula dict argument of kgram_freqs() works only with literals #36

Open
vgherard opened this issue Dec 9, 2020 · 0 comments
Open

Formula dict argument of kgram_freqs() works only with literals #36

vgherard opened this issue Dec 9, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@vgherard
Copy link
Owner

vgherard commented Dec 9, 2020

For instance:

V <- 2
sbo::kgram_freqs(corpus = "a b c d", N = 2, dict = max_size ~ V)
#> Warning in make_dict.formula(object = dict, .preprocess = identity, EOS = EOS, :
#> si è prodotto un NA per coercizione
#> Error in if (max_size < 0) {: valore mancante dove è richiesto TRUE/FALSE

Created on 2020-12-09 by the reprex package (v0.3.0)

@vgherard vgherard added the bug Something isn't working label Dec 9, 2020
@vgherard vgherard self-assigned this Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant