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

Please report the issue at <https://github.com/cbail/textnets/issues> #31

Open
Borus34 opened this issue Aug 24, 2023 · 0 comments
Open

Comments

@Borus34
Copy link

Borus34 commented Aug 24, 2023

QQ: I have tried to run the Readme code on two samples of my data set. However, I received a number of warnings about deprecated features. I also received two error codes (Below). I did not receive the same when I used the sample data. The instructions provided in R says to report the issue to this site.

cnn_firsts_nouns <- PrepText(cnn_firsts, groupvar = "command", textvar = "statement_text", node_type = "groups", tokenizer = "words", pos = "nouns", remove_stop_words = TRUE, compound_nouns = TRUE)
Downloading udpipe model from https://raw.githubusercontent.com/jwijffels/udpipe.models.ud.2.5/master/inst/udpipe-ud-2.5-191206/english-ewt-ud-2.5-191206.udpipe to /Users/___________english-ewt-ud-2.5-191206.udpipe

cnn_firsts_network <- CreateTextnet(cnn_firsts_nouns)

VisTextNet(cnn_firsts_network, label_degree_cut = 0)
Error in mutate():
ℹ In argument: alpha_in = (1 - (weight/w_in))^(k_in - 1).
Caused by error:
! object 'weight' not found
Run rlang::last_trace() to see where the error occurred.


View(unsc_firsts_network)
VisTextNet(unsc_firsts_network, label_degree_cut = 0)
Error in graph_to_tree():
! graph must be directed
Run rlang::last_trace() to see where the error occurred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant