Skip to contents

Switches between Portuguese and German in conversations of 90 speakers of Portuguese heritage in Germany, 30 from each of three generations. Each speaker is recorded in four conversations on different topics, with a bilingual or a monolingual (German) interlocutor. Second-generation speakers switch most, and more of their switches fall within a sentence. Speakers rarely switch with monolingual interlocutors. For count models with an exposure.

Usage

code_switching

Format

A tibble with 360 rows and 8 columns:

speaker

Speaker ID, S01 to S90.

generation

"first", "second" or "third".

conversation

Conversation ID (speaker_topic).

topic

"family", "work", "leisure" or "migration".

interlocutor

"monolingual" or "bilingual".

utterances

Utterances by the speaker in the conversation.

switches

Switches between the languages.

intrasentential

Of these, switches within a sentence.

Source

data-raw/code_switching.R

Details

True model: switches are negative binomial (size 6) with mean rate * utterances, where rate is 0.04 (first), 0.12 (second) or 0.07 (third generation), multiplied by 1.3 (family), 0.8 (work), 1 (leisure) or 1.1 (migration), by 0.25 with a monolingual interlocutor, and by a speaker effect (SD 0.35 on the log scale). Intrasentential switches are binomial with probability 0.25, 0.6 and 0.4 for the three generations. These generation differences are a design choice. They resemble the pattern Backus (1996) describes for Turkish immigrants in the Netherlands, where the intermediate generation switched most often, but how much and in what way each generation switches differs between communities.

References

Backus, A. (1996). Het intergenerationele codewisseling-continuum binnen de Turkse gemeenschap in Nederland. Toegepaste Taalwetenschap in Artikelen, 54, 25-37. doi:10.1075/ttwia.54.03bac

Poplack, S. (1980). Sometimes I'll start a sentence in Spanish y termino en español: Toward a typology of code-switching. Linguistics, 18(7-8), 581-618. doi:10.1515/ling.1980.18.7-8.581

Examples

if (requireNamespace("MASS", quietly = TRUE)) {
  m <- MASS::glm.nb(switches ~ generation + topic + interlocutor + offset(log(utterances)),
                    data = code_switching)
  round(exp(coef(m)), 2)
}
#>           (Intercept)      generationsecond       generationthird 
#>                  0.02                  2.82                  1.87 
#>             topicwork          topicleisure        topicmigration 
#>                  0.51                  0.64                  0.70 
#> interlocutorbilingual 
#>                  3.99 
totals <- aggregate(cbind(intrasentential, switches) ~ generation, data = code_switching,
                    FUN = sum)
totals$intrasentential / totals$switches
#> [1] 0.2504744 0.5815516 0.4005213