{"word_count": 2694, "character_count": 20835}
I am a big fan of old corpora. Of course, I do also appreciate XXL corpora compiled semi-blindly from the Web. But, comparatively speaking, the older corpora have the kind of spick-and-span internal structure that makes them pleasant to use.Complex prepositionsIn a sociolinguistics course that I taught this Fall semester, we studied World Englishes and decided to focus on Indian English and compare this variety to British and American English. To operationalize the comparison, we chose to replicate Hirschmüller's work on complex prepositions (Hirschmüller 1989). We found the idea in Leitner (1991: 228), whose main research question goes as follows:The focus of this paper derived from a typological interest in Indian English: is it one possible extension of Kinglish or is it one of the Kinglishes?He adds:(i) to what extent can the Kolhapur Corpus contribute to our understanding of the nature of Indian English (intra-varietal description); (ii) to what extent can the classical corpus tradition, of which the Kolhapur Corpus is a part, advance a typology of varieties (inter-varietal comparison), and (iii) are other complementary types of corpora required?Prepositions are grammatical or function words whose purpose is to introduce nouns or noun phrases, such as on, in, at, since, for, ago, before, to, until, etc. (the list is very long). ((Etymologically, a preposition is a word that is 'placed before' (from Latin prae- 'pre-' + ponere 'to put').)) As function words, prepositions belong to a closed-class set (a society of words that admits no new members).Complex prepositions are multiword expressions (i.e. expressions that consist of several words): ahead of, along with, apart from, such as, thanks to, together with, on account of, on behalf of, on top of. Linguists are not sure whether they belong to a closed-class set:Prepositions can be regarded as occupying an intermediate position between open and closed sets. It has been argued that this is accounted for by the open-ended nature of complex prepositions, i. e. of two-, three-, or more- word sequences that function as prepositions, e. g. such as, in view of, in spite of, with regard to. (Leitner 1991, 224)Intuitively, the use complex prepositions is typical of formal registers. Leitner assumes that "non-native Englishes are often claimed to use a more formal register than native Englishes" (although he does not back up his claim with citations). If complex prepositions are a token of formality, then we should expect Indian English to use more complex prepositions than British English and American English, especially in formal contexts.The Brown, LOB, and Kolhapur corporaHirschmüller (1989) studied the distribution of complex prepositions in three corpora: the Brown Corpus, the LOB Corpus, and the Kolhapur Corpus. Each corpus contains approximately one million word tokens.The Brown Corpus is a corpus of American English. It was initially compiled in 1964, revised in 1971, and  amplified in 1979 by W. N. Francis and H. Kučera. The LOB Corpus is the British counterpart to the Brown Corpus. It was compiled by Stig Johansson, Geoffrey Leech, and Helen Goodluck in 1978. Here is what I wrote recently about the nature of these two corpora:Corpus-linguistics textbooks frequently present the Brown Corpus (Francis and Kučera 1979) and its British counterpart, the Lancaster-Oslo-Bergen corpus (Johansson, Leech, and Goodluck 1978) as paragons of balanced corpora. Each attempts to provide a representative and balanced collection of written English in the early 1960s. For example, the compilers of the Brown Corpus made sure that all the genres and subgenres of the collection of books and periodicals in the Brown University Library and the Providence Athenaeum were represented. Balance was achieved by choosing the number of text samples to be included in each category. By way of example, because there were about thirteen times as many books in learned and scientific writing as in science fiction, 80 texts of the former genre were included, and only 6 of the latter genre. (Desagulier 2017, 4)The Kolhapur Corpus is a corpus of Indian English. It was compiled in 1986 by S. V. Shastri, C. T. Patilkulkarni, and G. S. Shastri. Here is how the corpus compilers describe their work:(...) it is felt that the value of the Indian corpus is immensely enhanced in general and in particular as a source for the description of Indian English as the Independence as the Indianness of Indian English is a post-Independence phenomenon and may have reached a discernible stage in the thirty years after Independence. (http://clu.uni.no/icame/kolhapur/kolman.htm)All three corpora were designed to be comparable as they share identical architectures. ((There are differences. For example, according to the Kolhapur manual: "(...) there are some important differences dictated mainly by logistic and practical considerations. Firstly, as far as synchronicity is concerned there is a major departure in that, while the Brown and LOB corpora draw their samples from the materials published in the calendar year 1961 the Indian corpus is drawn from materials published in the year 1978. this decision was made after consultation with authors of the earlier corpora to make sure that the comparability will not suffer much as result of this.")) Tab. 1 below shows the distribution of texts per category.Tab. 1. The parallel composition of the Brown, LOB, and Kolhapur corporaLabelText categoryBrown CorpusLOB CorpusKolhapur CorpusAPress: reportage444444BPress: editorial272727CPress: reviews171717DReligion171717ESkills, trades and hobbies363838FPopular lore484444GBelles lettres, biography, essays757770HMiscellaneous (docs, reports, etc.)303037JLearned and scientific writings808080KGeneral fiction292958LMystery and detective fiction242424MScience fiction662NAdventure and western fiction292915PRomance and love story292918RHumour999Total500500500In practice, you have one text file per text category. The screenshot below shows the file hierarchy of the Kolhapur Corpus. The file hierarchy of the Brown and LOB corpora is strictly identical.[caption id="attachment_341" align="aligncenter" width="500"] Fig. 1. Architecture of the Kolhapur Corpus (one text file per category)[/caption]This is good news to the corpus linguist! Complex prepositions can be extracted easily from each file, linked to each corpus by means of the filename prefix, and linked to a text category by means of the alphabetic identifier.Hirschmüller's resultsFig. 2 is a screenshot of Hirschmüller's results, as found in Leitner (1991, 225). It displays the 10 most frequent complex prepositions found in all three corpora, out of a total of 235 complex prepositions, 81 of which consist of two words and 154 of three and more. If we compare the total columns, we observe a higher incidence of complex prepositions in the Kolhapur Corpus than in the other two corpora.[caption id="attachment_339" align="aligncenter" width="1380"] Fig. 2. The frequency and rank order of the 10 most common complex prepositions of three or more words in Kolhapur (KOL), Lancaster —Oslo/Bergen (LOB) and Brown (BRN). From Leitner (1991, 225)[/caption]Fig. 3. displays the distribution of the most complex prepositions (three words and more). These are over-represented in the corpus of Indian English.[caption id="attachment_347" align="aligncenter" width="1376"] Fig. 3. The distribution of complex prepositions of three or more words in the Kolhapur (KOL), Lancaster — Oslo/Bergen (LOB) and Brown (BRN) corpora. From Leitner (1991, 225)[/caption]However, the above tables are tables of counts, we have no idea about the statistical significance of the distributions (i.e. we have no way of telling whether the distributions are due to chance). Furthermore, in Fig. 3, the text categories are denoted by their respective alphabetic character, which makes it difficult to tell apart formal and less formal registers.We stored all three corpora at the root of a hard drive, in a directory namedcorpora.[caption id="attachment_352" align="aligncenter" width="272"] Fig. 4. How we stored all three corpora[/caption]I obtained these corpora a long time ago when I purchased the ICAME Corpus Collection on CD-ROM (version 2, 1999). Unfortunately, I cannot share them here. The good news is that Brown and LOB are available from the CLARINO Bergen Centre (an offshot from the giant CLARIN project) as part of the Brown family. The Kolhapur corpus is much harder to find online.Replicating Hirschmüller (1989)To replicate Hirschmüller (1989), we set out to extract all prepositions (simple and complex) from the three corpora. Because they are plain-text corpora, Brown, LOB, and Kolhapur are not POS-tagged (Fig. 5). This means that we cannot rely on tags to extract complex prepositions. We might have tagged the corpora with TreeTagger, but that would have been time consuming and somehow pointless since complex prepositions would not have been tagged as such (there is no ready-made tag for complex prepositions).[caption id="attachment_368" align="aligncenter" width="500"] Fig. 5. What a corpus file looks like (Kolhapur)[/caption]Instead, we used the inventory of English prepositions from the PDEP project to formulate our R query. Out of the 305 simple and complex prepositions retrieved from the PDEP database, 297 made the cut (8 were considered too rare and discarded). This is what the matching expression looks like (hang in there):expr.match &#60;- "(a cut above|a la|abaft|aboard|about|above|absent|according to|across|afore|after|after the fashion of|against|agin|ahead of|all for|all over|along|along with|alongside|amid|amidst|among|anent|anti|apart from|apropos|apropos of|around|as|as far as|as for|as from|as of|as regards|as to|as well as|aside from|aslant|astraddle|astride|at|at a range of|at the hand of|at the hands of|at the heels of|athwart|atop|back of|bar|bare of|barring|because of|before|behind|below|beneath|beside|besides|between|betwixt|beyond|but|but for|by|by courtesy of|by dint of|by force of|by means of|by reason of|by the hand of|by the hands of|by the name of|by virtue of|by way of|care of|chez|circa|come|complete with|concerning|considering|contrary to|counting|courtesy of|cum|dehors|depending on|despite|down|due to|during|ere|ex|except|except for|excepting|excluding|exclusive of|failing|following|for|for all|for the benefit of|forbye|fore|fornent|frae|from|give or take|given|gone|having regard to|in|in accord with|in addition to|in advance of|in aid of|in back of|in bed with|in behalf of|in case of|in common with|in company with|in connection with|in consideration of|in contravention of|in default of|in excess of|in face of|in favor of|in favour of|in front of|in honor of|in honour of|in keeping with|in lieu of|in light of|in line with|in memoriam|in need of|in peril of|in place of|in proportion to|in re|in reference to|in regard to|in relation to|in respect of|in sight of|in spite of|in terms of|in the course of|in the face of|in the fashion of|in the grip of|in the light of|in the matter of|in the midst of|in the name of|in the pay of|in the person of|in the shape of|in the teeth of|in the throes of|in token of|in view of|in virtue of|including|inclusive of|inside|inside of|instead of|into|irrespective of|less|like|little short of|mid|midst|minus|mod|modulo|more like|near|near to|neath|next door to|next to|nigh|nothing short of|notwithstanding|of|of the name of|of the order of|off|on|on a level with|on a par with|on account of|on behalf of|on pain of|on the order of|on the part of|on the point of|on the score of|on the strength of|on the stroke of|on top of|onto|opposite|other than|out of|out of keeping with|out of line with|outboard of|outside|outside of|outta|outwith|over|over against|over and above|overtop|owing to|pace|past|pending|per|plus|preparatory to|previous to|prior to|pro|pursuant to|qua|re|regarding|regardless of|relative to|respecting|round|round about|sans|save|saving|short for|short of|since|subsequent to|than|thanks to|this side of|through|throughout|thru|thwart|till|to|to the accompaniment of|to the tune of|together with|touching|toward|towards|under|under cover of|under pain of|under sentence of|under the heel of|underneath|unlike|until|unto|up|up against|up and down|up before|up for|up to|upon|upside|upward of|upwards of|versus|via|vice|vis-a-vis|while|with|with reference to|with regard to|with respect to|with the exception of|within|within sight of|without)"We placed the expression inside the extraction script from Section 5.3 of my Corpus Linguistics and Statistics with R book and ran it over each of the three corpora. We obtained three data sets, which are available for download from Nakala's secure server: brown.preps.txt lob.preps.txt kolhapur.preps.txtNext, we combined the data sets with R.rm(list=ls(all=TRUE))# load each data framekolhapur &#60;- read.table("~/kolhapur.preps.txt", header=TRUE, sep="\t")brown &#60;- read.table("~/brown.preps.txt", header=TRUE, sep="\t")lob &#60;- read.table("~/lob.preps.txt", header=TRUE, sep="\t")# combine the data frames with rbind()all &#60;- rbind(kolhapur, brown, lob)# split the corpus name and the text category identifierall$corpus &#60;- lapply(strsplit(as.character(all$corpus.file), "_"), "[", 1)all$category &#60;- lapply(strsplit(as.character(all$corpus.file), "_"), "[", 2)all$category &#60;- gsub("\\.txt", "", as.character(all$category))all$corpus.file &#60;- NULL# replace the text category identifier with what it stands forall$category[all$category=="a"]  &#60;- "press_reportage"all$category[all$category=="b"]  &#60;- "press_editorial"all$category[all$category=="c"]  &#60;- "press_reviews"all$category[all$category=="d"]  &#60;- "religion"all$category[all$category=="e"]  &#60;- "skills_trades_hobbies"all$category[all$category=="f"]  &#60;- "popular_lore"all$category[all$category=="g"]  &#60;- "belles_lettres"all$category[all$category=="h"]  &#60;- "miscellaneous"all$category[all$category=="j"]  &#60;- "learned_scientific"all$category[all$category=="k"]  &#60;- "general_fiction"all$category[all$category=="l"]  &#60;- "mystery_detective_fiction"all$category[all$category=="m"]  &#60;- "science_fiction"all$category[all$category=="n"]  &#60;- "adventure_western_fiction"all$category[all$category=="p"]  &#60;- "romance_love_story"all$category[all$category=="r"]  &#60;- "humour"# make sure the modalities of the corpus and category variables are factors all$corpus &#60;- as.factor(unlist(all$corpus))all$category &#60;- as.factor(all$category)The result is a neat, tab-delimited data table, which you can also download from Nakala's secure server. Here is a snapshot:  Tab. 2. A snapshot of the data tableprepositioncorpuscategoryaboardkolhpopular_loreaboardkolhbelles_lettresaboardkolhbelles_lettreson the point oflobadventure_western_fictionin the face oflobromance_love_storyin the course oflobhumouron the point oflobhumourin need ofkolhpress_reportagein terms ofkolhpress_reportagein favour ofkolhpress_reportageas well askolhpress_reportageVisualizing the table with correspondance analysisBecause the table is quite large, how about visualizing it with correspondence analysis? Correspondence analysis is my favorite clustering technique. I present it in details in my book (Section 10.4). ((See also this post in French.))Before running a correspondence analysis, the table of nominal data has to be converted into a table of counts.rm(list=ls(all=TRUE))# load the dataframedf &#60;- read.table("~/all.preps.txt", header=TRUE, row.names=1, sep="\t")# convert the table of categorical data# into a table of counts# step 1: preposition x corpusdfc &#60;- table(df$preposition, df$corpus)dfcm1 &#60;- as.data.frame.matrix(dfc)# convert the table of categorical data# into a table of counts# step 2: preposition x text categorydfc2 &#60;- table(df$preposition, df$category)dfcm2 &#60;- as.data.frame.matrix(dfc2)head(dfcm2)# combine the two tables of countsdfcm &#60;- cbind(dfcm1, dfcm2)Additionally, we need to know how many words each preposition contains.# convert the row names into factorsdfcm$preposition &#60;- as.factor(rownames(dfcm))# count the number of words per preposition with the stringi package# this is done by counting the spaces between each word and adding 1install.packages(stringi)library(stringi)dfcm$prep.length &#60;- (stri_count(dfcm$preposition, regex=" ", opts_regex=stri_opts_regex(case_insensitive=TRUE)))+1dfcm$prep.length &#60;- as.factor(dfcm$prep.length)# once this is done, remove the dfcm$preposition columndfcm$preposition &#60;- NULLIt is now time to run the correspondence analysis. For this task, my favorite R package is FactoMineR.# load and install FactoMineRinstall.packages("FactoMineR")library(FactoMineR)# run CA on dfcm# columns 4 to 18 are supplementary# column 19 is qualitative and therefore supplementary# do not plot the graph yetca.object &#60;- CA(dfcm, col.sup=4:18, quali.sup=19, graph=F)# plot the CA outputplot.CA(ca.object, invisible="row", autoLab="yes", shadow=TRUE, cex=.8, col.col="magenta", col.col.sup="dodgerblue", title="Distribution of prepositions based on lexical complexity in three corpora:\n LOB (British English), Brown (US English), and Kolhapur (Indian English)", cex.main=.8)[caption id="attachment_366" align="aligncenter" width="500"] Fig. 6. The graphic output of correspondence analysis[/caption]The three corpora consist of written texts and the overall level of formality is therefore pretty high. Hirschmüller observed two things: (1) complex prepositions cluster in non-fictional texts, a preference that is amplified in the Kolhapur Corpus; (2) learned and bureaucratic writing shows a more pronounced pattern in the Kolhapur Corpus than in the British and American corpora.The CA plot reflects these tendencies (Fig. 6). The first dimension (along the horizontal axis) accounts for 82.89% of the variance. It shows a clear divide between Brown and LOB (to the left) and Kolhapur (to the right). Large complex prepositions (three words and more: prep.length.3 and prep.length.4) are far more likely to occur in Indian English than in its British and US counterparts. No such preference is observed for one-word and two-word prepositions (prep.length.1 and prep.length.2). Very formal text categories cluster to the right, along with the Kolhapur corpus: learned_scientific, press_reviews, religion, miscellaneous (governmental documents, foundation reports, industry reports, college catalogue, industry in-house publications). All in all, complex prepositions are specific to the Kolhapur Corpus, especially in formal contexts.Observing different results would have been surprising because we used the same data as Hirschmüller and tested the significance of our findings with the same χ² tests (correspondence analysis relies heavily on χ²). However, replicating a study made in the late 1980s makes sense in times of replication crisis.The status of EnglishThe Eighth Schedule to the Constitution of India recognizes 22 official languages other than English, and there are discussions to include almost 40 more. The count does not even include non-official languages and dialects. Needless to say India is a linguist's paradise. English has a special place insofar as it came along with the British Empire. We expect it to be influenced by the contexts where it has been used the most:  political, educational, and financial institutions.The above gave me another research idea: studying the differences between France's French and Pondichery's French. If you have heard of a case study that operationalizes this research question in an interesting way, please let me know!The R codeThe R code in this post is available from my Nakala repository: https://www.nakala.fr/nakala/data/11280/fc4642a1You are welcome to reuse it. Please cite this post if you use any part of this script in your presentations or publications.ReferencesDesagulier, G. (2017). Corpus Linguistics and Statistics with R. Introduction to Quantitative Methods in Linguistics. New York, Springer.Grierson, G. A. (2005). Linguistic Survey of India, 11 Vols. in 19 Parts. Delhi, Low Price Publ. (2005) ISBN 81-7536-361-4Hirschmüller, Η. (1989). "The use of complex prepositions in Indian English in comparison with British and American English", in: G. Graustein — W. Thiele (eds.), Englische Textlinguistik und Varietätenforschung. Linguistische Arbeitsberichte 69. Karl- Marx-Universität Leipzig. 52—58.Leitner, G. (1991) ‘The Kolhapur Corpus of Indian English: Intra-varietal description and/or intervarietal comparison.’ In S. Johansson and A.-B. Stenström (eds) English Computer Corpora. Berlin: Mouton de Gruyter, pp. 215–32.[cite]Cite this article as: {author}, "{title}," in {sitename}, {publication_date}, {permalink}.[/cite]