-
Notifications
You must be signed in to change notification settings - Fork 64
Description
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
- This model has been trained on version 2.5 of data from https://universaldependencies.org
- The model is distributed under the CC-BY-SA-NC license: https://creativecommons.org/licenses/by-nc-sa/4.0
- Visit https://github.com/jwijffels/udpipe.models.ud.2.5 for model license details.
- For a list of all models and their licenses (most models you can download with this package have either a CC-BY-SA or a CC-BY-SA-NC license) read the documentation at ?udpipe_download_model. For building your own models: visit the documentation by typing vignette('udpipe-train', package = 'udpipe')
trying URL 'https://raw.githubusercontent.com/jwijffels/udpipe.models.ud.2.5/master/inst/udpipe-ud-2.5-191206/english-ewt-ud-2.5-191206.udpipe'
Content type 'application/octet-stream' length 16309608 bytes (15.6 MB)
==================================================
downloaded 15.6 MB
Downloading finished, model stored at '/Users/____________/english-ewt-ud-2.5-191206.udpipe'
Warning message:
group_by_()was deprecated in dplyr 0.7.0.
ℹ Please usegroup_by()instead.
ℹ See vignette('programming') for more help
ℹ The deprecated feature was likely used in the textnets package.
Please report the issue at https://github.com/cbail/textnets/issues.
This warning is displayed once every 8 hours.
Calllifecycle::last_lifecycle_warnings()to see where this warning was
generated.
cnn_firsts_network <- CreateTextnet(cnn_firsts_nouns)
VisTextNet(cnn_firsts_network, label_degree_cut = 0)
Error inmutate():
ℹ In argument:alpha_in = (1 - (weight/w_in))^(k_in - 1).
Caused by error:
! object 'weight' not found
Runrlang::last_trace()to see where the error occurred.
View(unsc_firsts_network)
VisTextNet(unsc_firsts_network, label_degree_cut = 0)
Error ingraph_to_tree():
!graphmust be directed
Runrlang::last_trace()to see where the error occurred.