From 38ff4dcbf0d224536cb1121b81f62a73a925b0ee Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 15 Jun 2020 18:26:26 +0200 Subject: [PATCH] ud_update: small fix to file naming --- R/ud_update.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/ud_update.R b/R/ud_update.R index 9853004..cac40bd 100644 --- a/R/ud_update.R +++ b/R/ud_update.R @@ -17,7 +17,7 @@ # } # } -ud_update <- function(out, udmodel, ver) { +ud_update <- function(out, udmodel, ver, file) { out <- mamlr:::out_parser(out, field = '_source', clean = F) ud <- as.data.frame(udpipe(udmodel, x = out$merged, parser = "default", doc_id = out$`_id`)) %>% group_by(doc_id) %>%