bnosac / udpipe

R package for Tokenization, Parts of Speech Tagging, Lemmatization and Dependency Parsing Based on the UDPipe Natural Language Processing Toolkit
https://bnosac.github.io/udpipe/en
Mozilla Public License 2.0
209 stars 33 forks source link

Documentation and behavior don't match for udpipe_download_model #68

Closed WilDoane closed 4 years ago

WilDoane commented 4 years ago

udpipe_download_model() returns a list of class "udpipe_model" while the documentation states the return value is a 1 row data.frame.

udpipe 0.8.3 CRAN

jwijffels commented 4 years ago

That is incorrect https://github.com/bnosac/udpipe/blob/be8cbfda70d63540ac87f980396231072d7465b1/R/udpipe_models.R#L363

WilDoane commented 4 years ago

an artifact of a dirty environment on my part, I think