The Impact of Free Allophonic Variation on the Perception of Second Language Phonological Categories

When learning the phonological categories of a second language (L2), learners have to deal with phonetic variation. For instance, allophonic variant forms have to be recognized as the same phoneme. A minimal pair identification task was used to assess how late Spanish learners of German perceive the phonological /r/-/h/ contrast. German /r/ was realized as one of three allophones ([r], [r], [ʁ]) that vary in phonetic similarity to /h/ as well as to the typical phonetic form of Spanish /r/ (i.e., [r]). Results showed that learners were very good at identifying all German variant forms (>90% correct). However, [ʁ], which is phonetically closest to German /h/ and furthest from Spanish /r/, was identified significantly worse than [r] and [r]. Relating these results to a cross-language perception task where learners were asked to map the German allophones of /r/ and the phoneme /h/ to different L1 phonological categories further showed that those learners were best at identifying words with [ʁ] who consistently matched it to a single L1 category. Surprisingly this category did not always have to be the phonologically matching Spanish /r/. We conclude that phonological and phonetic relations between the learners' L1 and L2 are important in identifying allophones of the same L2 category.


INTRODUCTION
One of the fundamental issues in second language (L2) learning is to acquire a new phonological system.This entails for the learner to grasp what types of acoustic and articulatory differences between phones lead to differences in word meaning in the L2 independently of whether these differences would have the same effects in their native language (L1).However, the L1 phonological system has been shown to have a major influence on L2 learning leading to major difficulties in the mastery for at least a subset of L2 phonological contrasts.These difficulties are commonly attributed to the fact that, at the initial stages of L2 learning, the L1 acts like a sieve (Trubetzkoy, 1977;Flege, 1995;Best and Tyler, 2007), modulating how L2 phones are perceived and produced.Importantly, L2 learners need to establish a non-native phonological system whilst facing the vast variability that characterizes speech.This variability stems from many different sources, among others, from physiological differences between speakers, regional, social or non-native accents of speakers or even idiosyncratic variation.In the present study, we investigate how Spanish learners of German deal, in perception, with variability caused by different allophonic variants of an L2 phonological category that are typically attributed to a combination of regional and speakers' idiosyncratic variation.
Variability within a given language's phonological system is quite common.That is, certain phonemes of the language are realized as different variant forms (i.e., allophones).The occurrence of these variants may depend, for instance, on their position in the word or syllable.Examples for positional allophones are the Dutch /r/ realized in an "English-like" manner as [ô] in syllable-final position (vs. the default variants [r] or [K]; Van Bezooijen, 2005), or phonologically voiced obstruents that are restricted to non-final position in many languages (e.g., Dutch, German, Polish; i.e., in final position they are devoiced).Native listeners have been shown to use position-specific processing strategies for these types of allophones (Mitterer et al., 2013(Mitterer et al., , 2018;;Mitterer and Reinisch, 2017).Importantly, regional and idiosyncratic variation between speakers may lead to the presence of allophones that appear in free variation, that is, without positional restrictions.A case in point are the allophones of the German rhotic, which are the focus of the present study.
German /r/ has many different variants that radically differ from each other in terms of their acoustics and articulation (e.g., Ulbrich and Ulbrich, 2007).Here we focus on three main variants occurring in syllable onsets1 that are listed as allophones in phonological descriptions (e.g., Wiese, 1996): the alveolar trill [r], the uvular trill [R] and the uvular fricative [K].The trills are phonetically characterized by 1-3 brief amplitude minima caused by the occlusion of the airflow by the tongue tip (for [r]) or the tongue dorsum (for [R]).The amplitude minima tend to be more regular for the alveolar trill due to the greater flexibility of the tongue tip.The uvular fricative [K] is frequently considered to be produced as an approximant with less constriction of the airflow and hence a lower amplitude spectrum and less stochastic noise in the signal than is typical for a fricative (Kohler, 1995;Wiese, 1996).However, we use "uvular fricative" to refer to one allophone that includes approximant and fricative realizations but is crucially different in acoustics and articulation from the two trilled allophones.All allophones may be subject to further variation such that they may be (partially) devoiced in voiceless phonetic contexts (cf.Ulbrich and Ulbrich, 2007).Importantly, which of the three allophones under consideration here is used in speech production does not depend on the immediate phonetic context or position in a word but varies between (and to some extent even within) speakers as well as between regions (Wiese, 1996(Wiese, , 2003)).All allophones are encountered in Southern Germany, where the present study took place, even though [K], due to its association with Standard German and prevalence in national media, is likely the most frequently heard variant.
In an immersive L2 learning scenario, allophonic variation for German /r/ means that learners are exposed to all variants.
They therefore need to learn that speakers may differ in their realization of /r/ but that this does not affect the meaning of words.That is, they have to learn to recognize each of these variant forms as referring to the same phoneme category.Given the assumption of L2 sound learning models that, at least at initial stages of learning, L2 phones are perceived in relation to the L1 phonological inventory (e.g., Flege, 1995;Best and Tyler, 2007;van Leussen and Escudero, 2015), the question arises as to how learners of German would deal with the allophonic variation described above if their L1 shared a phoneme category /r/ but lacked this specific allophonic variation, as is the case for native speakers of Spanish who are learning German.Therefore, in the present study, we addressed how Spanish learners of German perceive the German phonological category /r/ and its allophonic variant forms.For these learners, the allophones of German /r/ all match the /r/ of their L1 at the phonological level but crucially differ in their degree of phonetic match with the typical phonetic characteristics of that L1 phoneme.Note that, in order to highlight the cross-language match of the phonological category, throughout this paper the notation /r/ will be used to refer to the phoneme in both languages.This is despite the fact that the standard and most common variant in current Standard German2 pronunciation could be considered the uvular fricative (hence /K/; though the notation /r/ is common in phonological descriptions, e.g., Wiese, 2003).
Given that Spanish is spoken in many different countries and is therefore subject to regional variation (including some variation in the production of /r/; see Hualde, 2005, for a comprehensive summary), we restricted our learner set to speakers of Standard Iberian (Castilian) Spanish.Castilian Spanish has two types of rhotics that are phonemically contrastive in word-medial position: a trill (/r/) and a tap (/R/) which are both produced at an alveolar place of articulation with multiple apical closures for the trill and one brief apical closure for the tap (Hualde et al., 2010).In terms of acoustics, both sounds are voiced, with a lower overall amplitude than the surrounding vowels.The acoustic difference between trill and tap is then reflected in overall duration (with the trill being longer) as well as the number of brief regular drops in amplitude due to airflow constriction (i.e., one for the tap, and up to 5 for the trill; Navarro-Tomás, 1916;Blecua, 2001;Hualde et al., 2010).
Importantly, the allophones of German /r/ match the acoustic and articulatory characteristics of a typical Spanish /r/ to different extents.The German alveolar trill [r] is a close match to the typical realization of Spanish /r/, even though the number of occlusions during the trill may be fewer and duration hence shorter in German.The German uvular trill [R] matches Spanish /r/ in manner of articulation (i.e., trill) but differs from it in place of articulation.In terms of acoustics, the presence of amplitude minima due to the brief occlusions of the airflow makes [R] similar to Spanish /r/ though maybe not as good a match as the alveolar trill.Finally, the third German allophonic variant, the uvular fricative [K], does not match Spanish /r/ in either manner or place of articulation.In terms of acoustics, it lacks the amplitude drops associated with the airflow occlusions in the trills but instead shows a higher proportion of noise over the spectrum.
The main question addressed in this study is whether Spanish learners of German perceive the three allophones of German /r/ differently depending on their acoustic and articulatory (i.e., phonetic) match to the typical realization of Spanish /r/.Learners are expected to know about the existence of the German phoneme /r/ and its functional equivalence to Spanish /r/.In both languages the phoneme is spelled with the letter <r> and, since both are Indo-European languages, they share (near) cognates such as German Rose, Spanish rosa (English "rose").Nevertheless, the differences in acoustics and articulation between each of the German allophones and the typical phonetic characteristics of Spanish /r/ may result in differences in ease of recognitioneven if learners are familiar with all three German allophones.Testing the perception of this set of L2 allophones will therefore contribute to elucidating to what degree L2 phoneme perception is influenced by the phonological and phonetic mappings of phones between and within the two languages of the learners.
In order to make predictions about the potential differences in difficulty of recognizing the different German allophones, we refer to models of second language learning such as the Speech Learning Model (SLM; Flege, 1995), the Perceptual Assimilation Model for L2 learning (PAM-L2; Best and Tyler, 2007) or the Second Language Linguistic Perception (L2LP) model (van Leussen and Escudero, 2015).Generalizing across details, in these models, L2 phones that are phonetically 3 similar to L1 phonemes are assumed to be (perceptually) assimilated to these L1 categories diminishing the chances of acquiring these as separate L2 categories.That is, L1 and L2 phones that are phonetically sufficiently close will be established as one merged L1-L2 phoneme category.If an L2 phone is not (straightforwardly) assimilated to an L1 phoneme, a new L2 phoneme for this phone can be established.The question now is what perceptual patterns could be expected if the L1 and L2 share a phonological category but some of the L2 allophones of this phoneme are more similar to the typical realization of the L1 phoneme than others.Since the goal of our study was to test L2 learners' behavior rather than to compare specific assumptions of the different models, we picked the terminology of one, PAM-L2, to base our predictions on.This is, of course, not to say that other models could not be used to make predictions, but the fact that PAM-L2 specifically focuses on the perception of L2 phoneme contrasts and studies building on this model often make use of cross-language perception tasks (which we also used here) contributed to this choice.
According to PAM-L2, learners should detect that German and Spanish /r/ are functionally equivalent categories at the 3 PAM (Best, 1994(Best, , 1995) ) and PAM-L2 (Best and Tyler, 2007) specifically refer to the articulatory similarity between sounds as the model is embedded in the direct realist framework of perception (Gibson, 1966(Gibson, , 1991)).SLM (Flege, 1995) and the L2LP model (van Leussen and Escudero, 2015) base their predictions on acoustics.However, since in many cases, including the present study, articulatory vs. acoustic differences would not lead to different predictions, we will use the term "phonetic" to refer to articulatory and/or acoustic differences between sounds.
phonological level.The model further assumes that if the typical phonetic realization of the L2 phoneme sufficiently differs between languages (such as e.g., English /ô/ vs. French /K/, the example given in Best and Tyler, 2007, where both phones refer to the functionally equivalent phoneme of a rhotic, spelled <r> in both languages) then learners should be able to accommodate a phonetic sub-category for this L2 phone within their L1 phoneme category.Note that this example from English vs. French matches our case of German [K] being phonologically but not phonetically similar to Spanish /r/.Based on phonetic distance, learners would hence be predicted to be able to establish a separate phonetic (sub)-category [K] that is part of the functionally matching L1-L2 phonological category /r/.
However, the present case for Spanish leaners of German is somewhat more complex, as there are three different L2 allophones that have to be functionally mapped onto the same phonological category.Importantly, these L2 allophones differ not only in their degree of phonetic match to the typical realization of the functionally equivalent L1 phoneme (Spanish /r/), but also in how phonetically similar they are to other, functionally-distinct L1 and L2 phonemes.For this reason, we specifically assessed learners' identification of the three allophones of German /r/ vs. another German phoneme, /h/.This is because one of the German allophones of /r/, namely the velar fricative [K], is phonetically similar to German /h/ and, as such, it might lead to perceptual confusion between the German phonemes /r/ and /h/ for Spanish learners.
The glottal fricative /h/ in German is variably produced as voiced or voiceless, is restricted to syllable initial position, and tends to show weak frication with formant-like patterns matching the formants of adjacent vowels.This phoneme is lacking in the Spanish phonological inventory, with the phonetically closest phoneme being /x/, the velar fricative, which typically shows stronger frication than German /h/ (Hualde et al., 2010;note that German [x] as allophone of /ç/ does not occur in syllableonset, Wiese, 1996).Critically, due to the lack of /h/ in Spanish and its likely perception as Spanish /x/, L2 learners of German could perceive /h/ as phonetically similar to the German uvular fricative variant of /r/, which shares acoustic and articulatory characteristics with German /h/ as well as Spanish /x/.
Building from this, we asked Spanish learners of German to identify German minimal word pairs starting with /r/ and /h/ (Rose "rose"-Hose "pants") where /r/ could be produced as either of the variants [r], [R], or [K].Identification was preferred over a discrimination task and real words were chosen over non-words to highlight the functional difference between the phoneme categories.Yet, since, as argued above, based on phonetic characteristics [K] may be perceptually confusable with /h/, an identification task allows for the assessment of the relation between phonological and phonetic influences in L2 sound/word identification.If learners easily recognize [K] as an allophone of the German phoneme /r/ then little confusion with the phoneme /h/ is expected.However, if phonetic similarity to one or more phoneme categories in the L2 (or the L1) plays a role in L2 phoneme identification, then learners should correctly recognize the intended word less often when it had been produced with [K] than the two trilled allophones of German /r/ that are not Note that additional phonetic associations could be expected based on place of articulation for the trilled variants, however, as discussed in the main text, the trilled manner of articulation likely represents the more salient perceptual characteristic.Potential confusions between German phones (i.e., confusions between L2 phones) based on their respective acoustic correlates as described in the main text are indicated by *.
phonetically similar to any other German phoneme (but are crucially similar to Spanish /r/).Since L2 learners are only in the course of establishing an L2 phonological system, it is likely that the L1 phonological inventory plays a role in L2 perception even for mediumto-advanced L2 learners-in terms of phonetic as well as phonological match to the L2 categories (e.g., Díaz et al., 2012).Therefore, another aim of the present study was to assess whether individual learners' performance in identifying the German allophones [r], [R], and [K] as the phoneme /r/ relates to their assessment of how well these allophones match phonetically similar phonemes of their L1.To address this issue, learners were asked to perform a cross-language perception task prior to the L2 minimal pair identification task.The aim of the cross-language perception task was to test whether the strength of the association of German /r/ with the phonologically matching Spanish category /r/ would differ between the three different German allophones of /r/, and whether other Spanish phonemes (i.e., /R/, /r/, /k/, /x/, and /g/'s allophone [È]) would be considered possible L1 alternatives for (some of) the German allophones-and if so, which ones and how many of them.
In terms of phonetic similarity, we would expect that German [r] is straightforwardly mapped to Spanish /r/ with maybe a few /R/-responses due to the phonetic differences between the German and Spanish trills discussed above.The German uvular trill [R] is also predicted to be mainly mapped to Spanish /r/.However, since in terms of place of articulation (though not manner or acoustics) the closest consonants to [R] in Spanish are the velar stops /k/ and /g/ and the velar fricative /x/, German [R] may not be perceived as good a match to Spanish /r/ as German [r] (see also, e.g., Guion et al., 2000;Lancaster and Gor, 2016; for effects of degree of phonetic match in cross-language perception).Lastly, German [K] has several possible mappings if, in addition to the phonological/functional match, acoustics and articulation are considered.The phonetically closest Spanish phones to German [K] are the Spanish velar approximant [È] (the intervocalic allophone of /g/) and-as discussed abovethe velar fricative /x/.Table 1 summarizes all potential withinand cross-language mappings of L1 and L2 phones based on phonological vs. phonetic characteristics.
To address the potential relationship between cross-language perception and L2 phoneme identification, we tested whether the individual learners' cross-language perception pattern correlates with their performance in the identification of [K] as /r/.If phonological mapping matters the most for L2 sound learning, then according to PAM-L2, the best performance in the phoneme identification task would be expected by those learners who have established an allophone [K] within their Spanish-German phonological category /r/.The establishment of [K] as an allophone of /r/ would manifest as a consistent mapping of German [K] to Spanish /r/ in the cross-language perception task.However, PAM-L2 also predicts that L2 phones that are not straightforwardly mapped to a single L1 phoneme should be reasonably easy to learn if no other L2 category is associated with the same set of L1 categories (i.e., "no L1-L2 phonological assimilation"; Best and Tyler, 2007:30).This could also be the case for German [K], and such an outcome would be reflected in the cross-language perception task by learners picking several Spanish phonemes that do not necessarily have to be Spanish /r/.In that case, better performance in phoneme identification might be expected to correlate with response consistency in the crosslanguage task irrespective of the specific L1 phonemes chosen.
To explore these predictions, two types of correlation analyses were conducted between correct responses in the identification task for German words starting with [K] and measures from cross-language perception.The first measure from crosslanguage perception was the proportion of (phonological) mappings of German [K] to Spanish /r/.The other measure was a more general measure of mapping consistency that takes into account the overall distribution of answers across response options: Entropy (Shannon, 1948).Entropy provides a measure of consistency/agreement that has been used in Linguistics, for instance, to test listeners' consistency in projecting the end of turns in a conversation depending on different prosodic conditions (De Ruiter et al., 2006).Entropy was used to assess how consistently participants matched a given German allophone of /r/ to one vs.more Spanish phonemes in the cross-language perception task.Importantly, as a global measure accounting for overall response patterns, entropy avoids the need for arbitrary decisions about cut-off points that have previously been used to classify a given L2 phone as an L1 phoneme (e.g., Harnsberger, 2001;Bundgaard-Nielsen et al., 2011;Tyler et al., 2014;Faris et al., 2016).For instance, Faris et al. (2016) used a criterion that, in a cross-language perception task, a non-native vowel had to be mapped onto a particular L1 vowel at least 50% of the time in order to be counted as consistently "categorized" as this vowel, while Tyler et al. (2014) used a 70% andHarnsberger (2001) even a 90% criterion.Entropy was therefore introduced as a general measure of classification consistency in order to avoid having to resort to a pre-established decision criterion.
In sum, the aim of the present study was to assess how Spanish learners of German deal with free allophonic variation in L2 phoneme perception, that is, in a scenario in which phoneme identity cannot be predicted based on one specific set of acoustic cues or phonotactic information.Specifically, we investigated whether German [r], [R], and [K] would differ in how well they are identified as the phoneme /r/ depending on their phonetic similarity to the corresponding L1 Spanish phoneme /r/ and to another, functionally distinct German phoneme: /h/.We also tested the learners' cross-language mapping patterns for the three German allophones in question and asked whether identification performance relates to how learners match the German allophones to one vs.more native-language phonemes.

Participants
Twenty-two native speakers of Castilian Spanish (13 female, 9 male) participated for a small monetary compensation (9 Euro).They all gave written informed consent in accordance with the Declaration of Helsinki.The study was carried out in accordance with the recommendations of the University of Munich and the funding agency, which required no separate ethics approval.Participants were recruited via advertisements on notice boards at the University and via social media with the requirements of having grown up in Spain, being between 18 and 40 years of age, having learned German as an adult and speaking German at medium to high proficiency.According to a questionnaire that participants filled out after completing the experiments, participants in the recruited sample were between 19 and 38 years old (average 27.2, sd = 5.1) and had been living in Germany between 0.25 and 5.5 years (average 2.7, sd = 1.9).They had started learning German as adults between 15 and 33 years of age (average 24.2, sd = 4.9).Sixteen of the twenty-two learners reported using German relatively frequently on a daily basis (mean rating of 2, sd = 0.8 on a scale from 1 = very frequently to 7 = very little); only six learners reported using German less frequently (4 to 6 on the 7-point scale).Eight participants had learned Galician (3) or Catalan (5) as a second L1.Since neither of these languages contains additional sounds similar to the critical sounds of the study, this was considered acceptable.However, data from two participants (one female, one male, one among the frequent users of German) were excluded because one of them had learned Basque and the other Arabic as a second L1.Both languages have the phoneme /h/ (Al-Ani, 1970;Hualde, 1991), hence including their data may have distorted the results.
All participants reported to have had several years of instruction in English.Therefore, they were likely to have had some exposure to /h/.However, unlike in the case of the two excluded participants, it was not expected that learners had mastered /h/ at a native-like level.About half the participants reported to have also had some instruction in French though none reported being able to speak this language.Since French is known for its realization of /r/ as a uvular fricative [K] or [χ] (Gendrot et al., 2015), subsets of data were analyzed to assess the impact of learners' contact with French.Since separate analyses for participants with and without instruction in French rendered overall similar patterns of results, only the pooled data will be reported.

Material
Six German high-frequency word pairs that minimally differed in their initial phonemes /h/ or /r/ were selected such that Spanish learners of German would likely be familiar with them.Three Spanish learners of German who later did not participate in the main experiments but had a similar background and learning history as the other participants confirmed their familiarity with these words.The word pairs were Hose-Rose ("pants"-"rose, " log-frequencies per million of 3.01 and 3.06, respectively, as assessed in the SUBTLEX-DE corpus, Brysbaert et al., 2011), Hund-rund ("dog"-"round, " log-frequencies of 3.54 and 2.59), heiß-Reis ("hot"-"rice, " log-frequencies of 3.45 and 2.66), heißenreißen ("to be called"-"to tear, " log-frequencies of 3.45 and 2.58), Hand-Rand ("hand"-"edge, " log-frequencies of 3.78 and 2.43) Haus-raus ("house"-"out, " log-frequencies of 4.01 and 4.25).
Nine female native speakers of German, aged 23 to 30 (mean 25.5, sd = 2) were selected as speakers.They all grew up and lived in the South of Germany.None had learned any other language before the age of 8.The speakers were selected to differ in their natural use of German allophones of /r/.Five speakers were selected to mainly use the uvular fricative [K] that is considered the standard and most frequent German variant (Ulbrich, 1973;Wiese, 2003;Ulbrich and Ulbrich, 2007).Two additional speakers were selected to produce a uvular trill [R] and two an alveolar trill [r] representing additional variants that are sometimes encountered in the South of Germany where the study took place.Given the prevalence of [K], more speakers were recorded using this variant than each of the other variants.All words were recorded in a sound attenuated booth using a diaphragm microphone (Neumann Microphone, type TLM 103) and SpeechRecorder software (Draxler and Jänsch, 2004), which stored each utterance as a separate wav file onto the hard drive of a desktop computer.Speakers were seated ∼30-40 cm in front of the microphone and read the words from a computer monitor.Production data were sampled at 44.1 kHz with 16bit quantization.Each word was spoken in isolation four times per speaker in randomized order and the best two tokens per word per speaker were selected according to recording quality, duration (i.e., speech rate) and clarity of the intended /r/ variant as assessed by a phonetically trained native speaker of German.Selected tokens were normalized in root-mean-square amplitude using Praat (Boersma and Weenink, 2017).
In order to ensure that the stimuli sounded natural and were fully intelligible, 7 native speakers of German were asked to perform the identification task that is described in the following section.German speakers were able to correctly identify all three allophones of /r/, as well as /h/, with >99% accuracy ([r] and [R] = 100%, [K] = 99.2, and /h/ = 99.1),indicating that the stimuli were appropriate and not perceptually confusable for native speakers of the language.

Procedure
Spanish participants completed all tasks in the same order.They first performed the cross-language perception task, followed by the minimal-pair identification task.The cross-language perception was conducted before identification because the identification task focuses learners' attention on the phonological function of the phones.A focus on phonological properties could in turn have affected choices in the cross-language perception task such that listeners preferred matching stimuli by phonological rather than phonetic similarities.By asking them to do the cross-language perception task first we reduced this bias as much as possible.However, given that the main task of interest was the minimal pair identification, this task will be reported first in the procedure and results section.After the perception tasks, participants were asked to fill out a language background questionnaire.The complete session lasted ∼ 1 h.

Identification Task
Participants received written instructions in Spanish that asked them to identify words of German minimal pairs.On each trial, the two German words of a minimal pair were presented orthographically on the left and right side on the screen.According to German orthography nouns were spelled with an initial capital letter.Over the course of the experiment the side on which words starting with /h/ and /r/ were presented was stable for one participant but counterbalanced across participants.Seven hundred milliseconds after the response options appeared on the screen, one word of this minimal pair was presented auditorily over headphones (Beyerdynamic, DT770) at a comfortable listening level.Participants were asked to press the 0-key on the computer keyboard if they thought the word they heard corresponded to the right word on the screen, and the 1-key if they heard the word on the left.They were not specifically encouraged to provide their responses as fast as possible.No feedback was given.Five hundred milliseconds after the button press the next trial started automatically.This timing was assessed through piloting in order to be perceived as comfortable.All words and voices were presented in a different randomized order to each participant.Participants completed a total of 432 trials (6 minimal pairs × 2 tokens per word × 9 speakers × 2 repetitions).The experiment was implemented in PsychoPy2 (version 1.83.01;Peirce, 2007) and took participants approximately 15 min to complete.

Cross-Language Perception Task
In the cross-language perception task participants were asked to match the initial phones of the German minimal word pairs to a set of Spanish phonemes that were chosen to be acoustically and articulatorily sufficiently similar to German /h/ and the different variants of /r/ so as to serve as potential phonetic targets for perceptual mapping.We decided to use existing German words rather than non-words, firstly, to keep the sound material identical to the identification task, and secondly, because with non-words it would not have been possible to disentangle phonetic vs. phonological influences in L1-L2 mappings, as nonwords lack a lexical, hence phonological representation.Note also that participants were learners of German who could rely on lexical knowledge when using their L2 (unlike naïve listeners that are often used in cross-language perception studies as cited, e.g., in Best and Tyler, 2007).The Spanish phones that listeners were asked to match the German phones to were /R/, /r/, /k/, /x/, and [È] as represented in word-medial position in the words paro, parra, paco, paja, pago ("unemployment, " "grapevine, " a common Spanish proper name, "hay, " "payment"), respectively.Note that all phones are phonemes in Spanish except for [È], which is an intervocalic variant of the phoneme /g/.Since native speakers of Castilian Spanish produce this variant form very consistently in intervocalic position (Carrasco et al., 2012) it was assumed that when choosing pago participants were indeed linking their response to the variant form [È].
Participants received written instructions in Spanish and could ask the experimenter if anything was unclear.They were presented the words displayed in their orthographic form on a computer screen.They were asked to pick the Spanish word that contained a "sound" that sounded most similar to the "initial sound" of the German word.They were made aware of the fact that critical phones in German were in word-initial position but in word-medial position in Spanish.The letters corresponding to critical phones in the Spanish words were highlighted.The words were distributed randomly over six fields on a computer screen (with one field remaining empty) such that positions were consistent for one participant but varied between participants.This was as to avoid effects of position in the choice of response options.
On each trial, one second after the appearance of the words on the screen, one of the German words was presented auditorily over headphones (Beyerdynamic, DT770) at a comfortable listening level.Participants' task was to carefully listen to the word-specifically the word's initial phoneme-and indicate by mouse click which of the words presented on the screen contains a phone similar to the one in the audio stimulus.Five hundred milliseconds after participants had chosen a Spanish word, this word was presented in the middle of the screen with the question ?'Cuánto se parece al sonido que has elegido?("How similar is this to the sound you chose?") above and a 5-point rating scale below.Simultaneously with the appearance of the rating scale, participants heard the German word once again.Now their task was to decide how well the phone in the Spanish word that they had picked matched the initial phone of the German word.One was labeled as mucho ("very"), 5 as muy poco ("very little"; note that for analyses we re-coded these values according to the more common higher-is-better scheme).The answer was logged by clicking with the mouse onto one of the five points on the scale.Upon the mouse click the next trial started automatically after an inter-trial interval of 200 ms.The timing was again established through piloting so as to be perceived as comfortable.Response speed was not emphasized.Participants completed a total of 216 fully randomized trials (6 minimal pairs × 2 tokens per word × 9 speakers).The experiment was again run in PsychoPy2 (version 1.83.01;Peirce, 2007) and took approximately 25 min to complete.

Identification
Figure 1 shows the results for the identification of the German minimal pairs split by /h/ and the three allophones of /r/.As can be seen from the scale on the y-axis (starting at 80%), participants were very accurate overall.Identification of words spoken with the two trilled allophones of /r/ was close to ceiling (both > 99% correct), words with /h/ were identified with about 96% accuracy and the identification rate of words with the fricative [K] was the lowest with still about 92% correct.The pattern of reaction times for the different allophones of /r/ and /h/ mirrored the accuracy pattern, suggesting that accuracy data were not due to FIGURE 1 | Results of the identification task for German /h/ and the three allophones of /r/.Error bars represent 1 standard error were adjusted for the within-participant manipulation of Phone (see Morey, 2008).Note that means and standard errors were calculated in logistic space and transformed back to the proportion scale for plotting.a speed-accuracy trade-off: When reaction time was measured from acoustic target onset, the two trilled allophones of /r/ were responded to the fastest, in 792 ms for [r] and 807 ms for [R]; /h/ was responded to on average 851 ms after target onset and the reaction to [K] was slowest with a response time of 962 ms (counting correct trials only).However, since participants were not explicitly encouraged to respond fast, only accuracy data were analyzed further.
To test whether differences in accuracy between the different phones were statistically significant, a linear-mixed effects model was fit with a logistic linking function using the lme4 package (version 1.1-14; Bates et al., 2014) in R (version 3.4.2;R Core Team, 2017).Accuracy was the dependent variable and Phone the fixed factor with the four levels /h/, [r], [R], and [K].Participant and word/target were included as random factors with a random slope for Phone over participants.This model appeared to be a better fit relative to models with less complex random-effects structures as assessed via log-likelihood ratio tests FIGURE 2 | Results of the cross-language perception task showing how consistently a given Spanish word was chosen as containing the best matching phone to German /h/ and each of the allophones of /r/.
using the anova() function.To assess differences in identification performance between the different realizations of /r/ and /h/, we subjected the model to general linear hypothesis testing using the glht() function from the multcomp package (Hothorn et al., 2016) in R, using the Tukey Method to account for multiple comparisons.Table 2 shows the results for the pairwise comparisons.Words that were produced with [K] were identified significantly worse than words produced with all other sounds.Moreover, words produced with /h/ were identified significantly worse than words with [r].
In order to exclude the possibility that the worse identification of words starting with [K] was due to the specific speakers that we chose (note that in our design the allophones of /r/ were speakerspecific), it was additionally tested whether differences could be found for the identification of the different speakers' productions of /h/-initial words.If participants' difficulty in identifying [K] depended on the speakers more generally, rather than on their specific production of /r/, then one could speculate that similar difficulties would arise for these speakers' productions of /h/ relative to the other speakers' /h/.To test this possibility the same linear mixed-effects model as described above was fit with only the subset of data in which /h/ was the intended target.).Only the /h/-initial words by speakers using a uvular trill variant of /r/ were identified significantly worse than by speakers using an alveolar trill (b = −0.98,z = −2.8,p (adjusted) < 0.05).While this latter result is hard to explain, the main result here is that learners' difficulties with identifying [K]-initial German words are not due to these speakers' poor intelligibility more generally.

Cross-Language Perception
Figure 2 shows the cross-language perception patterns for German /h/ and the three allophones of /r/ to the Spanish phones /k/, /x/, /R/, /r/ and [K] as represented in the words paco, paja, paro, parra, pago.As can be seen from the figure, German /h/ was mainly categorized as Spanish /x/-as expected-however, the goodness of fit was judged as moderate-to-fair with an average of 3.47 on the 5-point scale (5 = best).
All three German allophones of /r/ were most frequently categorized as Spanish /r/ compared to the other response options (see Figure 2).That is, all three allophones were most frequently mapped onto the functionally/phonologically matching category.However, differences were found between the German allophones of /r/ in terms of how frequently Spanish /r/ was chosen.These differences were analyzed using a generalized linear mixed-effects model with /r/-response as the dependent variable (coded 1 if /r/ was the chosen response option, else coded 0), Allophone as fixed factor with three levels [r], [R], [K], random intercepts for participant and word, and a random slope for Allophone over participants.Comparisons between allophones were again assessed by general linear hypothesis testing, using Tukey method to account for multiple comparisons.Results showed that the Spanish phoneme /r/ was chosen significantly less often for the German fricative In addition to the proportion /r/-responses and goodness ratings, differences were found in the cross-language perception of the German allophones of /r/ in terms of the overall pattern of response options.That is, the German allophones of /r/ differed in how consistently participants picked one single Spanish phone as the best match as compared to many phones.As can be seen in Figure 2, German [r] was mapped to Spanish /r/ in 72% of the cases with just about 25% of tap responses.[R] was mapped to /r/ in 69% of the cases followed by [È] and /R/ with 15% and 10% of the choices, respectively.Finally, [K] was mapped to /r/ in only 41% of the cases with /R/ and [È] being chosen in 29 and 18% of the cases.Importantly, large individual differences were found in the preferred mapping patterns for [K] as is illustrated in Table 3.
In order to capture the distribution and consistency of participants' answers for each allophone of German /r/ and the phoneme /h/ we calculated a measure of entropy (Shannon, 1948) using the R package 'entropy' (Hausser and Strimmer, 2009).Entropy provides a measure of consistency/agreement that takes into account not only how often one particular response option was chosen, but the distribution of answers across response options.The interpretation is that if participants had picked only one and always the same Spanish phone for a given German phone the entropy would be zero.In other words, the higher the value of entropy, the more distributed the answers were across the response options.Participants' mean entropy for /h/ was 0.56, for [r] 0.74, for [R] 0.98, and for [K] it was 1.25 (see Table 3).To assess differences in how consistent vs. distributed the cross-language mapping patterns were for the different allophones of German /r/, pairwise comparisons were calculated as for the previous measures.An lme-model (Pinheiro and Bates, 2000) was fit on the entropy data per participant with Allophone ([r], [R], [K]) as fixed factor and accounting for the fact that Allophone was manipulated within participants.This model was then subjected to general linear hypothesis testing, using the Tukey method to adjust for multiple comparisons.Results showed that the entropy for the fricative variant [K] was significantly higher, that is, the response pattern was more distributed across response options for [K] than for the two trilled allophones of /r/ (K]-

Correlation Between Tasks
To assess whether the degree of phonological relative to phonetic mapping of L2 allophones onto the L1 influences how well these allophones are identified as a given phoneme in the L2, we tested whether the cross-language perception pattern would correlate with individual learners' performance in the identification of [K] as /r/.The focus was on [K] because this allophone shows the smallest phonetic difference to another German phoneme (i.e., /h/) and the largest phonetic difference to the phonologically matching Spanish phoneme /r/.In the experiments, [K] was the least well-identified allophone of /r/ and showed the most variation between participants in terms of cross-language perception patterns (see Table 3).
Two variables from the cross-language perception task were considered in relation to L2 phoneme identification.First, it was assessed whether the proportion of choosing the functionally/phonologically matching Spanish category (i.e., /r/) in the cross-language perception task when hearing the [K] variant correlated with the percent correct identification of German words starting with [K].However, a significant correlation could not be found (r = 0.07; p = 0.756).Second, it was assessed whether more consistent cross-language mapping of [K] to a single L1 phoneme over more than one response option would correlate with better identification of L2 words (i.e., entropy).Here a significant medium-to-large correlation (Cohen, 1988) was found (r = −0.47;p < 0.05): the higher the entropy score for a given participant, that is, the less consistently [K] was mapped to a single Spanish phoneme, the less accurate this participant was in correctly identifying words starting with [K]. Figure 3 shows the correlation for the two measures, proportion /r/-responses in the left panel and entropy in the right panel 4 . 4Two participants had accuracy rates in the identification of [K] around or below 80%.Given that the scale of the plots was adjusted so that it captured the relatively In addition to testing for correlations between tasks, we asked whether self-reported measures of proficiency as assessed in the language-background questionnaire could predict performance in L2 phoneme identification and/or cross-language perception.We examined several combinations of factors related to L2 language use and L2 proficiency, for instance, an index combining five values of self-estimated experience and proficiency (self-reported frequency and skills in listening and speaking, as well as the learners' self-estimated accent) that had previously been shown to predict learners' ability to rate the accent of peer learners in their L2 (Eger and Reinisch, 2019, for German learners of English).However, this index did not correlate with the identification accuracy of German words produced with [K] (r = −0.18;p = 0.459) or cross-language perception (i.e., entropy: r = −0.044;p = 0.859) and neither did any other measure from the questionnaire.

DISCUSSION
The present study set out to test how Spanish L2 learners of German deal in perception with allophonic variant forms that are not specific to a given word position but vary freely with some constraints across speakers and regional varieties.Using the case of the German phoneme /r/, which can variably be produced as [r], [R], or [K], we asked to what extent phonetic factors influence L2 perception of an L2 phonological category that is common to L1 and L2.This was achieved by comparing the identification of the different allophones of German /r/ relative to the German phoneme /h/, which is phonetically similar to [K] but much less small differences in accuracy observed, rates for these two participants might seem to be outliers.However, as both values fall within 2.5 standard deviations from the mean of all participants, they were not considered outliers and were kept in all analyses.so to [R] or [r].If phonetic factors played a role in L2 perception in addition to L2 phonology, /h/ and [K] could be predicted to be confusable5 for learners.
Results of the identification task, however, showed that Spanish learners of German were overall very accurate at identifying the different German allophones of /r/ as the intended phoneme (>90% correct).Confusion was hence small in general.Nevertheless, differences were found in how well each of the three allophones of /r/ was identified.Words produced with [K] were identified correctly significantly less often than words with [R] and [r].Results of the identification task hence suggest a major influence of the phonological category in L2 identification (cf.>90% correct) with some additional role for the phonetic match of a given variant form to the associated phonological category vs. other L2 phonemes.A potential caveat here is that the larger number of speakers producing the [K] allophone than [r] or [R] could have caused greater variability and hence increased difficulty for [K].However, whilst we cannot rule out such an influence, we consider it unlikely that this can fully account for our results.Learners' accuracy rates in identifying [K] as /r/ across speakers were very similar (i.e., 91.3, 91.9, 90.8, 91.7, and 95.2%, respectively) and German participants in the pilot experiment were at ceiling.
The second angle from which the role of phonetic match in L2 perception was addressed concerned the perception of the German allophones of /r/ and /h/ relative to the learners' L1 Spanish, as assessed in a cross-language perception task.It was assumed that even for learners of medium-to-high proficiency, the L1 likely plays a role in L2 perception.Spanish has a phoneme /r/ which can be considered a phonological and functional match to German /r/.However, since Spanish /r/ is typically produced as an alveolar trill, the German allophones differ in their phonetic match to Spanish /r/.If learners had only relied on the phonological function of the German allophones in this task, then the expected choice would have been the phonologically matching Spanish /r/.Indeed, Spanish /r/ was the most frequent choice for all allophones of German /r/.However, substantial differences were found between allophones in the proportion of Spanish /r/ responses and their goodness ratings.German [r] was most frequently mapped to Spanish /r/ and rated the best fit, followed by [R], which was followed by [K].In line with the results of the identification task discussed above, this finding outlines again a relevant role of phonetic influences on L2 phoneme perception.
Considering the distribution of chosen responses for the German allophones in cross-language perception, a number of additional findings deserves discussion.First, German [r], which had been recognized as an allophone of /r/ in the identification task with >99% accuracy, was not exclusively mapped to Spanish /r/ in cross-language perception but also to /R/ in about 25% of the cases.This suggests that (at least some) listeners appeared to attend to fine phonetic detail that typically differentiates the German from the Spanish alveolar trill: the typical number of occlusions which is 1-3 for German (Wiese, 1996) but 3-5 for Spanish (Navarro-Tomás, 1916;Blecua, 2001;Hualde et al., 2010), and the associated difference in duration (shorter for German).This difference in fine phonetic detail then may explain why the German alveolar trill is sometimes perceived as similar to the Spanish tap.
Second, in cross-language perception of the German uvular trill [R], listeners responded most frequently with the phonologically matching option /r/, with which it shares the trilled manner of articulation, but this was not the only response: at least some of the time participants mapped German [R] to Spanish [È] and /x/.Notably, these two phones share the back place of articulation with [R].This descriptive pattern suggests that for L2 learners (in addition to the phonological match) the acoustic characteristics reflecting manner of articulation appear most important in their decisions.This is likely because the acoustic correlates for manner (here the trills) are perceptually much more salient than acoustic cues to place (see Martin and Peperkamp, 2017, for other aspects of manner).These results are in line with a study by Colantoni and Steele (2007) who show that in L2 production, English learners of French tend to acquire those aspects of a segment's articulation first that are perceptually salient.
Finally, the German allophone [K] was the most variable allophone in terms of response patterns in the cross-language perception task, within as well as between participants (see Table 3).As mentioned in the introduction, we calculated a measure of entropy in order to quantify the consistency with which participants picked one or more options for this allophone in cross-language perception.Interestingly, entropy was the only measure of the cross-language perception task that correlated with learners' accuracy in the identification task: the more consistently participants mapped [K] in cross-language perception to a single Spanish phoneme, the better they were at identifying [K] as /r/ in the identification task.Importantly, the phoneme that was consistently selected did not always have to be the phonologically matching Spanish /r/, since the mere proportion of selecting Spanish /r/ for the [K] variant did not correlate with the identification results for that allophone.
An issue regarding the cross-language perception task is that the metalinguistic affordance of this task might reflect not only participants' decisions based on language processing, but also the outcome of individual strategic behavior.That is, that there may be differences across participants in whether they report L1-L2 associations based on a phonetic level of processing (i.e., favoring non-/r/ responses for German [K]) or a more abstract phonological level (i.e., favoring /r/ responses for German [K]).It could be argued that strategic behavior may have been additionally fostered by our choice to use real German words rather than non-words.In spite of these limitations, it must be noted that cross-language perception tasks have frequently been used to evaluate L2 perception and the predictions of L2 learning models (see e.g., studies reported in Best and Tyler, 2007).However, even though task-related effects are a likely possibility, strategic behavior does not easily explain the present results regarding the correlation of cross-language mappings of [K] and performance with this allophone in the identification task.If consistency in mapping as measured by entropy was purely determined by learners' strategic behavior, one could wonder why entropy would correlate with better performance in the identification task.
What do the findings on the relation between the consistency in cross-language perception and identification mean with regard to models of L2 sound learning and the acquisition of an L2 phonological inventory in general?PAM-L2, which we used to base our specific predictions on, makes two assumptions that are potentially relevant to the perception of the German allophone [K] for our Spanish learners, whose native realization of /r/ is an alveolar trill.First, as discussed in the introduction, the model suggests that if a phonological category exists in the L1 and L2 but the typical realization differs, then a separate phonetic category within the common L1-L2 phonological category can be established (see the example of English /ô/ vs. French /K/ in Best and Tyler, 2007).However, the present case for the allophone [K] was somewhat more complex than the mere mismatch in phonetic form between two functionally equivalent phonological categories in the L1 and L2, as German has two additional allophones that both match the phonetic form of the typical realization of Spanish /r/ to a greater extent (and in addition [K] is phonetically closer to another L2 phoneme /h/ which was the contrast tested in the present study).Considering that learners correctly identified [K] less frequently than the two trilled variants of /r/, our results suggest that, at least in the case of multiple variant forms of the same phoneme, the lack of a robust phonetic match between an L2 allophone and the functionally matching L1 phoneme has consequences for that allophone in speech perception in spite of the phonological match existing between L1 and L2 phones.
Second, PAM-L2 suggests that, if a given L2 phone is not straightforwardly mapped onto any given L1 phonological category and no other L2 phone shows the same pattern of (non-)mapping to the same L1 phonemes, then the L2 phone should be learned well.This could again apply to [K], the allophone of German /r/ that had the most variable response pattern in the cross-language perception task.In this respect, what our results show is that, perhaps surprisingly, the strength of the cross-language mapping between [K] and only the phonologically matching L1 /r/ did not predict participants' identification accuracy for this allophone.Instead, what did predict identification accuracy was the overall consistency in cross-language mapping as measured by entropy, a measure that took into account not only /r/ responses but all responses provided.The more consistently responses were associated with only one Spanish phoneme, be it /r/ or another response option (see Table 3), the more accurate the identification of [K] was.Importantly, this outcome contradicts the initial prediction that spread out patterns of responses for [K] (i.e., "no L1-L2 phonological assimilation" scenario) would relate to better identification.However, note that, from the present results, it cannot be ruled out that cross-language perception patterns for other untested L2 phones may overlap with those for [K], even though that seems unlikely given the overall strong phonological component in the meta-linguistic cross-language perception task (see e.g., the assimilation pattern of /h/, which is phonetically similar to [K]).In any case, the critical finding here is that entropy predicts identification accuracy, which has the potential to guide future methodological choices attempting to capture crosslanguage mapping consistency without the need for arbitrary criteria as to how often an L2 phone has to be categorized as a given L1 phoneme in order to count as "consistently mapped/assimilated" to this phoneme (e.g., Harnsberger, 2001;Bundgaard-Nielsen et al., 2011;Tyler et al., 2014;Faris et al., 2016).
Looking at L2 learning in general, thereby capitalizing on the identification task, we find strong phonological effects in L2 learning that to some extent are modulated by phonetic factors.
In the present study we tested Spanish learners of German who had started learning German as adults.They were all living in Southern Germany, where they were likely exposed to all allophones of German /r/ under investigation.However, since at the time of participating they covered a reasonably wide range of proficiencies according to self-report, it could have been expected that participants who reported more contact to German in everyday life performed better in recognizing variant forms than those who reported less contact, but this is not what was found.Self-reported measures from the languagebackground questionnaire were not correlated to performance in identification or cross-language perception.This could be because self-reported measures are more strongly related to general indicators of overall proficiency than to performance in phonetic/phonological processing.Specifically, previous studies have shown that self-reported proficiency relates to performance in tasks that have a strong focus on lexical processing-in perception as well as production (e.g., Llompart and Reinisch, 2019a,b)-rather than to the perception of sound contrasts in tasks with a very clear phone-level focus, as in the present study.This is most likely related to the fact that learners who are relatively poor at distinguishing between L2 phones when focusing on higher-level processing may still perform very well in an identification task that focuses their attention on the critical phones (e.g., Sebastián-Gallés et al., 2005;Díaz et al., 2012;Darcy et al., 2013;Llompart and Reinisch, 2019a,b).Despite the present learners' variability in their language-learning history, the lack of relation between self-estimated proficiency and performance in the present study may hence not be so surprising.
A question that remains to be answered is the role of allophonic variant forms in the process of establishing an L2 phonological category /r/ that encompasses all three allophones: those similar to the learners' L1 as well as the new sub-category [K].While our study is unable to speak to the learning process itself, we can use our results to speculate.One possibility is that the existence of L2 allophones that are phonetically close to the (here the L2 German allophones [r] and [R] that are close to the typical realization of L1 Spanish /r/) may to some extent hinder the association of the additional, phonetically distinct allophone [K] with the intended phoneme /r/.This could in part be driven by the fact that L2 phonological categories including more than one allophone have to be acquired in perception and production but, in the case of free allophonic variation, the affordances are rather different in the two modalities.While in production the transfer of the Spanish alveolar trill to German may be sufficient, in perception all allophones have to be recognized.
Alternatively, the existence of L2 allophones matching the L1 category (i.e., German [r] matching the typical realization of Spanish /r/) may help strengthen the phonological link between German /r/ and Spanish /r/ on the grounds of phonetic similarity.That is, in comparison to a scenario in which learners have to establish a phonological link between a non-native category /r/ that is always realized as [K] and a native category /r/ that is always realized as [r], having [r] as a commonly heard allophone could be a useful tool to reinforce the phonological connection between the L1 and L2 rhotics.As a consequence, this may facilitate the incorporation of [K] as an additional phonetic subcategory within the L2 phonological category /r/.This should eventually result in learners identifying the [K]-allophone quite accurately in spite of the large phonetic dissimilarities, as it appears to be the case in this study.
However, in addition to the potential influence of the existence of common L1-L2 allophones, there is another factor that may have contributed to learners being overall quite good at identifying the phonetically distant [K] variant: canonicity.
[K] has become the German standard pronunciation that is most frequently heard on national German media and is also indicated as the standard in language classes (as confirmed by our participants).Therefore, given that forms including canonical variants have been shown to have a special status in L1 listening (Deelman and Connine, 2001;Sumner and Samuel, 2005;Ranbom and Connine, 2007;Pitt et al., 2011;Sumner et al., 2014;Sumner, 2015;Llompart and Simonet, 2018), one could expect something similar to occur in the L2, where (audio-visual) learning material typically covers the standard, more-canonical variety (see e.g., Baker and Smith, 2010, for a critical discussion of this issue).Further research could shed light on this issue by comparing the perceptual identification of potentially difficult L2 phones with and without the coexistence of other, "easier" allophonic variants.
In sum, the present study tested the perception of three allophones of German /r/ that can appear in free variation by Spanish learners of German.Results showed that identification of the allophones was crucially modulated by the phonetic similarities and dissimilarities between the allophones and i) the most common L1 realization of the phonologically-matching L1 rhotic, and ii) the phonetic distance between the allophones in question and other L2 categories (i.e., /h/).In addition, correct allophone identification was found to relate to how consistently a given L2 variant was mapped to a single vs. many L1 phonological categories, with more consistency being linked to higher identification accuracy.All in all, these findings support the idea that both phonological and phonetic relations between the learners' L1 and L2 are of importance in L2 phonological category identification in speech perception.
Feeding this model again to linear hypothesis testing revealed that speakers producing [K] did not differ from the other groups in how well their /h/ productions were identified ([K]-[r]: b = −0.58,z = −1.74,p (adjusted) = 0.19; [R]-[K]: b = −0.4,z = −1.73,p (adjusted) = 0.19 Figure2shows the cross-language perception patterns for German /h/ and the three allophones of /r/ to the Spanish phones /k/, /x/, /R/, /r/ and[K]  as represented in the words paco, paja, paro, parra, pago.As can be seen from the figure, German /h/ was mainly categorized as Spanish /x/-as expected-however, the goodness of fit was judged as moderate-to-fair with an average of 3.47 on the 5-point scale (5 = best).All three German allophones of /r/ were most frequently categorized as Spanish /r/ compared to the other response options (see Figure2).That is, all three allophones were most frequently mapped onto the functionally/phonologically matching category.However, differences were found between the German allophones of /r/ in terms of how frequently Spanish /r/ was chosen.These differences were analyzed using a generalized linear mixed-effects model with /r/-response as the dependent variable (coded 1 if /r/ was the chosen response option, else coded 0), Allophone as fixed factor with three levels [r], [R], [K], random intercepts for participant and word, and a random slope for Allophone over participants.Comparisons between allophones were again assessed by general linear hypothesis testing, using Tukey method to account for multiple comparisons.Results showed that the Spanish phoneme /r/ was chosen significantly less often for the German fricative [K] than either of the two trilled allophones ([K]-[r]: b = −1.88,z = −5.55,p < 0.001; [K]-[R]: b = −1.63,z = −6.02,p < 0.001).Responses for the two trills did not differ from one another ([r]-[R]: b = 0.25, z = 0.68, p = 0.775).A linear-mixed effects model with the same structure was run with goodness ratings for the choice of Spanish /r/ as dependent variable and a Gaussian linking function to account for the quasi-continuous variable.Results showed similar patterns as the analysis above: the German uvular fricative [K] (mean rating = 2.98) showed significantly lower ratings for goodness of match to Spanish /r/ than the two trilled variants [mean rating [r] = 3.88, comparison [K]-[r]: b = −0.86,z = −9.38,p < 0.001; mean rating [R] = 3.33, comparison [K]-[R]: b = −0.39,z = −3.11,p = 0.005].Unlike for the overall proportion of /r/-responses mapping the German trills onto Spanish /r/, the two trills significantly differed in their ratings for goodness of match ([r]-[R]: b = 0.47, z = 2.98, p = 0.007).In addition to the proportion /r/-responses and goodness ratings, differences were found in the cross-language perception of the German allophones of /r/ in terms of the overall pattern of response options.That is, the German allophones of /r/ differed in how consistently participants picked one single Spanish phone as the best match as compared to many phones.As can be seen in Figure2, German [r] was mapped to Spanish /r/ in 72% of the cases with just about 25% of tap responses.[R] was mapped to /r/ in 69% of the cases followed by [È] and /R/ with 15% and 10% of the choices, respectively.Finally, [K] was mapped to /r/ in only 41% of the cases with /R/ and [È] being chosen in 29 and 18% of the cases.Importantly, large individual differences were found in the preferred mapping patterns for[K]  as is illustrated in Table3.In order to capture the distribution and consistency of participants' answers for each allophone of German /r/ and the [r]: b = 0.52, z = 5.14, p < 0.001; [K]-[R]: b = 0.36, z = −3.60,p < 0.001), but the two trills did not differ from one another ([r]-[R]: b = −0.15,z = 1.5, p = 0.271).

FIGURE 3 |
FIGURE 3 | Correlation between proportion correct identification for [K] and two measures of the cross-language perception task: % choices of the phonologically matching Spanish /r/ (Left) and entropy for [K] (Right).

TABLE 1 |
Summary of most likely cross-language perception patterns for Spanish learners of German based on phonological match (left) and phonetic match based on manner of articulation (right).

TABLE 2 |
Results of the general linear hypothesis testing for the generalized mixed-effects model for correct responses in the minimal pair identification task.

TABLE 3 |
Percent chosen option for cross-language perception of the German fricative variant [K] per participant and each participant's measure of entropy as a measure of consistency of choice.
Data are sorted in ascending order for the percent chosen /r/ (i.e., parra).Empty fields indicate that this option was never chosen.pp_00 indicates the participant number.