cbail / textnets

R package to perform automated text analysis using network techniques
MIT License
211 stars 62 forks source link

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

Open Borus34 opened 1 year ago

Borus34 commented 1 year ago

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.