Marc Kupietz | 686c431 | 2023-06-23 15:41:44 +0200 | [diff] [blame] | 1 | --- |
Marc Kupietz | 2347bc9 | 2023-06-28 12:25:50 +0200 | [diff] [blame] | 2 | title: "Applying the newly extended European Reference Corpus EuReCo" |
| 3 | subtitle: "Pilot studies of light-verb constructions in German, Romanian, Hungarian and Polish" |
Marc Kupietz | 686c431 | 2023-06-23 15:41:44 +0200 | [diff] [blame] | 4 | author: |
| 5 | - name: Piotr Bański |
| 6 | - name: Nils Diewald |
| 7 | - name: Marc Kupietz |
| 8 | - name: Beata Trawiński |
| 9 | affiliation: |
| 10 | address: IDS Mannheim |
| 11 | column_numbers: 2 |
| 12 | contact: |
| 13 | name: Piotr Bański |
Marc K | 4853d6a | 2023-06-24 18:27:47 +0200 | [diff] [blame] | 14 | department: Digital Linguistics / Grammar |
Marc Kupietz | 686c431 | 2023-06-23 15:41:44 +0200 | [diff] [blame] | 15 | email: banski@ids-mannheim.de |
Marc K | 4853d6a | 2023-06-24 18:27:47 +0200 | [diff] [blame] | 16 | website: "https://www.ids-mannheim.de/" |
| 17 | qrlink: > |
Marc K | f8c3ccd | 2023-06-27 13:30:08 +0200 | [diff] [blame] | 18 | `r posterdown::qrlink("https://korap.ids-mannheim.de/instance/nkjp1m-sgjp", logo="kalamar_wbg.svg")` |
Marc Kupietz | 686c431 | 2023-06-23 15:41:44 +0200 | [diff] [blame] | 19 | output: |
| 20 | posterdown::posterdown_ids: |
| 21 | self_contained: false |
| 22 | keep_md: true |
| 23 | |
| 24 | bibliography: references.bib |
| 25 | csl: "https://raw.githubusercontent.com/ICLC-10/Zotero/master/styles/ICLC-10.csl" |
| 26 | --- |
| 27 | |
| 28 | ```{r setup, include=FALSE, echo=FALSE, message=FALSE, warning=FALSE} |
Marc Kupietz | 4e33d11 | 2023-06-27 18:11:46 +0200 | [diff] [blame] | 29 | knitr::opts_chunk$set(dev = 'svg', echo = FALSE, warning = FALSE, message = FALSE) |
Marc Kupietz | 686c431 | 2023-06-23 15:41:44 +0200 | [diff] [blame] | 30 | source("common.R") |
| 31 | ``` |
Marc Kupietz | 2347bc9 | 2023-06-28 12:25:50 +0200 | [diff] [blame] | 32 | # Pilot study: LVC detection |
Marc K | 6626400 | 2023-06-27 13:29:38 +0200 | [diff] [blame] | 33 | |
Marc Kupietz | 9087c77 | 2023-06-27 18:11:26 +0200 | [diff] [blame] | 34 | Identification of Light Verb Constructions using collocation analysis. |
Marc K | 6626400 | 2023-06-27 13:29:38 +0200 | [diff] [blame] | 35 | |
Marc Kupietz | 7c544c2 | 2023-06-28 06:35:12 +0200 | [diff] [blame] | 36 | ## German |
| 37 | |
| 38 | ```{r setzen-in, fig.cap='Collocation analysis for »in … setzen« (= to put in NN) in DeReKo'} |
| 39 | # setzen_ca <- new("KorAPConnection", verbose = TRUE) %>% |
| 40 | # collocationAnalysis( |
| 41 | # "focus(in [tt/p=NN] {[tt/l=setzen]})", |
| 42 | # leftContextSize = 1, |
| 43 | # rightContextSize = 0, |
| 44 | # addExamples = TRUE |
| 45 | # ) |
| 46 | setzen_ca <- readRDS("in_NN_setzen.rds") |
Marc K | 0f82bcc | 2023-06-28 07:56:35 +0200 | [diff] [blame] | 47 | setzen_ca %>% show_lvc_table() |
Marc Kupietz | 7c544c2 | 2023-06-28 06:35:12 +0200 | [diff] [blame] | 48 | ``` |
| 49 | |
Marc Kupietz | 9087c77 | 2023-06-27 18:11:26 +0200 | [diff] [blame] | 50 | ## Romanian |
| 51 | |
Marc K | 71155df | 2023-06-28 08:00:25 +0200 | [diff] [blame] | 52 | ```{r pune-in, fig.cap='Collocation analysis for »pune în NN« (= to put in NN) in CoRoLa [@kupietz_neue_2022].'} |
Marc K | 6626400 | 2023-06-27 13:29:38 +0200 | [diff] [blame] | 53 | pune_in_ca_de = readRDS("pune_in_CA_de.rds") |
Marc K | 62df54f | 2023-06-28 07:59:05 +0200 | [diff] [blame] | 54 | pune_in_ca_de %>% show_lvc_table(10) |
Marc K | 6626400 | 2023-06-27 13:29:38 +0200 | [diff] [blame] | 55 | ``` |
| 56 | |
Marc Kupietz | 4e33d11 | 2023-06-27 18:11:46 +0200 | [diff] [blame] | 57 | ## Hungarian |
Marc K | 6626400 | 2023-06-27 13:29:38 +0200 | [diff] [blame] | 58 | |
Marc Kupietz | df5fda1 | 2023-06-27 15:27:41 +0200 | [diff] [blame] | 59 | ```{r hoz, fig.cap='Collocation analysis for lemma hoz (=bring) with noun in sublative or illative – focus([hnc/p="FN.(SUB|ILL)"] {[hnc/l=hoz]})'} |
| 60 | hoz1 <- readRDS("hoz.Rda") |
| 61 | hoz1 %>% |
| 62 | mutate(collocation=sprintf('<a href="%s">%s</a>', webUIRequestUrl, example)) %>% |
| 63 | select(collocation, EN, logDice, pmi, ll) %>% |
| 64 | dplyr::arrange(desc(logDice)) %>% |
| 65 | dplyr::rename("LVC example" = "collocation") %>% |
Marc Kupietz | 4e33d11 | 2023-06-27 18:11:46 +0200 | [diff] [blame] | 66 | dplyr::rename("en" = "EN") %>% |
Marc Kupietz | df5fda1 | 2023-06-27 15:27:41 +0200 | [diff] [blame] | 67 | # head(50) %>% |
| 68 | datatable(escape = F, |
| 69 | extensions = c('Buttons'), |
| 70 | rownames = FALSE, |
| 71 | options = list( |
| 72 | buttons = c('copy', 'csv', 'excel', 'pdf', 'print'), |
| 73 | pageLength = 10, |
| 74 | dom = '' |
| 75 | )) %>% |
| 76 | formatRound(columns=~logDice + pmi + ll, digits=1) |
| 77 | ``` |
Marc Kupietz | 686c431 | 2023-06-23 15:41:44 +0200 | [diff] [blame] | 78 | |
Marc Kupietz | 064d46a | 2023-06-27 18:10:41 +0200 | [diff] [blame] | 79 | ## Polish |
Marc Kupietz | 686c431 | 2023-06-23 15:41:44 +0200 | [diff] [blame] | 80 | |
Marc K | 5a0229b | 2023-06-28 07:59:55 +0200 | [diff] [blame] | 81 | ```{r dac-ca-code, echo=TRUE, results = 'hide'} |
Marc K | 9912b8a | 2023-06-28 08:14:40 +0200 | [diff] [blame] | 82 | new("KorAPConnection", |
Marc Kupietz | 064d46a | 2023-06-27 18:10:41 +0200 | [diff] [blame] | 83 | KorAPUrl = "https://korap.ids-mannheim.de/instance/nkjp1m-sgjp") %>% |
Marc Kupietz | 686c431 | 2023-06-23 15:41:44 +0200 | [diff] [blame] | 84 | collocationAnalysis( |
Marc Kupietz | 064d46a | 2023-06-27 18:10:41 +0200 | [diff] [blame] | 85 | 'focus({[nkjp/l="da(wa)?ć"] []{,5}} [ud/p=NOUN])', |
| 86 | leftContextSize = 0, |
| 87 | rightContextSize = 1, # relative to { ... } in focus(), |
| 88 | addExamples = TRUE |
| 89 | ) |
Marc Kupietz | 686c431 | 2023-06-23 15:41:44 +0200 | [diff] [blame] | 90 | ``` |
Marc Kupietz | 2347bc9 | 2023-06-28 12:25:50 +0200 | [diff] [blame] | 91 | ```{r dac-ca-result, echo=FALSE, fig.cap = "Collocation analysis of da(wa)?ć (=give) + NOUN in NKJP1M-SGJP using UDPipe2 annotations [@straka_udpipe_2018] and RKorAPClient [@kupietz_rkorapclient_2020]"} |
Marc K | 71155df | 2023-06-28 08:00:25 +0200 | [diff] [blame] | 92 | dac <- readRDS("dac.rds") |
| 93 | dac %>% |
Marc Kupietz | 3a91b3b | 2023-06-27 18:09:35 +0200 | [diff] [blame] | 94 | mutate(example=str_replace(example, "(</mark>)(\\W?\\w+)", "\\2\\1")) %>% |
Marc Kupietz | 686c431 | 2023-06-23 15:41:44 +0200 | [diff] [blame] | 95 | show_table() |
Marc Kupietz | 064d46a | 2023-06-27 18:10:41 +0200 | [diff] [blame] | 96 | ``` |
Marc K | 71155df | 2023-06-28 08:00:25 +0200 | [diff] [blame] | 97 | |
| 98 | # References |
| 99 | |