Docsity

GATTO, Web as Corpus., Sintesi del corso di Lingua Inglese

Toggle sidebar
bg1
The Web As Corpus - Mariastella Gatto
1. Theory, approach, methods: corpus linguistics as a research field
Today, it is certainly no exaggeration to maintain that the slow yet steady rise of corpus
linguistics in the past fifty years has brought about a revolution in the study of language. It led to
the notion of corpus linguistics as ‘a theoretical approach to the study of language’ (Teubert,
2005), which means that ‘corpus linguistics is not merely seen as a methodology but as an
approach […] with its own theoretical framework’ (Mahlberg, 2005).
An approach, however, needs to be implemented through methods, where a method is a
specific way (from the Greek –odos), a set of steps, a procedure for doing something. Thus, in a
Janus-like position between theory and method, the corpus linguistic approach seems to stand
in an osmotic relation between a theory, i.e. a ‘contemplation’ of the nature and reality of
language, and several methods (i.e. ways) to explore that reality. The emergence of the research
field now commonly labelled as ‘web as corpus’. By no means itself a new theory or approach,
‘web as corpus’ is an umbrella term for a number of methods that look at the web as their main
resource to implement the corpus linguistic approach.
2. Key issues in corpus linguistics
Today corpus linguistics could be very loosely defined as an exploration of language
based on a set of authentic texts in machine-readable format. The set of texts, namely the
corpus, is usually of a size which would not allow manual investigation but requires the use of
specific tools to perform a quantitative and qualitative analysis of the data, through such tasks as
producing frequency lists of all the words appearing in the corpus, providing data concerning
recurring patterns, and computing statistics about relative frequency by comparing different data
sets.
Indeed, as McEnery and Wilson (2001) suggest, drawing on the Latin etymology of the
word, virtually any collection of more than one text could, in principle, be called a ‘corpus’. The
Latin word corpus means ‘body’, and hence a corpus should be by definition anybody of text. In
language studies, however, this term has acquired more specific connotations than this simple
definition implies. Even though some branches of linguistics have always been to some extent
‘corpus-based’ (i.e. based on the study of a number of authentic texts), and concepts such as
corpus and concordance have been for many years the daily bread of scholars studying the
Bible or Shakespeare’s works (Kennedy, 1998), corpus linguistics as a distinct research field is
a relatively recent phenomenon which rests on certain basic assumptions about what a corpus
is, and also – perhaps more crucially for the purpose of the present book – what a corpus is not.
A corpus, according to Sinclair’s definition, ‘is a collection of naturally-occurring language chosen
to characterize a state or variety of a language’ (Sinclair, 1991). In modern linguistics this also
entails such basic standards as finite size, sampling and representativeness (McEnery and
Wilson, 2001). Thus, as Francis observes, an anthology cannot be properly considered as a
corpus; neither can, despite its name, the Corpus Iuris Civilis instigated by the Emperor Justinian
in the sixth century (Francis, 1992), because their purpose is other than linguistic. Despite some
differences, it is now safely assumed that a corpus is a collection of machine-readable authentic
texts (McEnery and Xiao 2006), authenticity of the language data and electronic format being the
basic sine qua non of a corpus in the modern linguistics sense of the word.
2.1 Authenticity
Corpus linguistics is an empirical approach to the study of language based on the
observation of authentic data. As such, it can well be considered as the most evident outcome of
the resurgence in popularity of language studies grounded on real examples of language in use,
pf3
pf4
pf5
pf8
pf9
pfa

Anteprima parziale del testo

Scarica GATTO, Web as Corpus. e più Sintesi del corso in PDF di Lingua Inglese solo su Docsity!

The Web As Corpus - Mariastella Gatto

1. Theory, approach, methods: corpus linguistics as a research field

Today, it is certainly no exaggeration to maintain that the slow yet steady rise of corpus linguistics in the past fifty years has brought about a revolution in the study of language. It led to the notion of corpus linguistics as ‘a theoretical approach to the study of language’ (Teubert, 2005), which means that ‘corpus linguistics is not merely seen as a methodology but as an approach […] with its own theoretical framework’ (Mahlberg, 2005).

An approach, however, needs to be implemented through methods, where a method is a specific way (from the Greek – odos ), a set of steps, a procedure for doing something. Thus, in a Janus-like position between theory and method, the corpus linguistic approach seems to stand in an osmotic relation between a theory, i.e. a ‘contemplation’ of the nature and reality of language, and several methods (i.e. ways) to explore that reality. The emergence of the research field now commonly labelled as ‘web as corpus’. By no means itself a new theory or approach, ‘web as corpus’ is an umbrella term for a number of methods that look at the web as their main resource to implement the corpus linguistic approach.

2. Key issues in corpus linguistics

Today corpus linguistics could be very loosely defined as an exploration of language based on a set of authentic texts in machine-readable format. The set of texts, namely the corpus , is usually of a size which would not allow manual investigation but requires the use of specific tools to perform a quantitative and qualitative analysis of the data, through such tasks as producing frequency lists of all the words appearing in the corpus, providing data concerning recurring patterns, and computing statistics about relative frequency by comparing different data sets.

Indeed, as McEnery and Wilson (2001) suggest, drawing on the Latin etymology of the word, virtually any collection of more than one text could, in principle, be called a ‘corpus’. The Latin word corpus means ‘body’, and hence a corpus should be by definition anybody of text. In language studies, however, this term has acquired more specific connotations than this simple definition implies. Even though some branches of linguistics have always been to some extent ‘corpus-based’ (i.e. based on the study of a number of authentic texts), and concepts such as corpus and concordance have been for many years the daily bread of scholars studying the Bible or Shakespeare’s works (Kennedy, 1998), corpus linguistics as a distinct research field is a relatively recent phenomenon which rests on certain basic assumptions about what a corpus is, and also – perhaps more crucially for the purpose of the present book – what a corpus is not. A corpus, according to Sinclair’s definition, ‘is a collection of naturally-occurring language chosen to characterize a state or variety of a language’ (Sinclair, 1991). In modern linguistics this also entails such basic standards as finite size, sampling and representativeness (McEnery and Wilson, 2001). Thus, as Francis observes, an anthology cannot be properly considered as a corpus; neither can, despite its name, the Corpus Iuris Civilis instigated by the Emperor Justinian in the sixth century (Francis, 1992), because their purpose is other than linguistic. Despite some differences, it is now safely assumed that a corpus is a collection of machine-readable authentic texts (McEnery and Xiao 2006), authenticity of the language data and electronic format being the basic sine qua non of a corpus in the modern linguistics sense of the word.

2.1 Authenticity

Corpus linguistics is an empirical approach to the study of language based on the observation of authentic data. As such, it can well be considered as the most evident outcome of the resurgence in popularity of language studies grounded on real examples of language in use,

rather than on introspection, enabled by the possibilities and affordances provided by computer storage of data (McEnery and Wilson, 2001).

However, such an ideal continuity between the heyday of what McEnery and Wilson (2001: 2) term ‘early corpus linguistics’ and contemporary computerized corpus linguistics was apparently broken in the middle of the twentieth century by the emergence of Chomsky’s cognitive approach, which revived a long-standing dichotomy in linguistics between rationalism and empiricism (Stubbs 2001: 220ff). The observation of authentic data, the ‘brute facts’ of linguistic performance, which is a valuable practice in corpus linguistics, as it was for the early field-workers of American structuralism, was seen in the Chomskyian tradition as devoid of any significant theoretical implications. A study of mere linguistic behavior, it was objected, would only provide data for a theoretical model based on the contingencies of linguistic performance, rather than provide access to absolute linguistic competence.

2.4 Size

A corpus is an object of finite size, from which precise quantitative data concerning the language items it contains can be derived. It is obvious that there cannot be a standard size for corpora, and size may indeed vary depending on the nature of the corpus and its purpose. A corpus aimed at being representative of general language certainly needs to be quite large if it is to provide evidence for a sufficiently large number of language items; by contrast, a specialized corpus, that is, a corpus aimed at representing only one restricted variety of language, can be relatively small. Furthermore, the very perception of what might constitute a large enough corpus has changed over time. The first computer corpus, the Brown corpus , contains 1 million words of American English. It consists of 500 text samples taken from publications listed in the 1961 catalogue of library holdings of Brown University. This was considered a remarkable achievement in its time. Unsurprisingly, this same corpus came to be considered rather small by the standards of the so-called ‘second generation’ general corpora of the 1990s, such as the already mentioned British National Corpus (BNC). The corpora used for the compilation of dictionaries today are all larger than the BNC, such as the Collins Cobuild Bank of English , currently amounting to 650 million words1 from written and spoken texts covering eight varieties of English. And when these corpora are compared with any of the over 1 billion-word web corpora compiled in the first decade of the new millennium out of internet documents, let alone with the web itself, it is evident how the issue of size is subject to relativism. Notwithstanding all these considerations, size remains a decisive factor to be taken into account when considering the value of a corpus and the kind of evidence it can provide.

2.5 Types of corpora

A corpus is generally designed for a specific research purpose, and in view of such purposes different types of corpora can be identified. The first distinction to be made concerns

general reference vs specialized corpora. Also crucial is the distinction between synchronic and diachronic corpora, and between monolingual and multilingual corpora. A general reference corpus includes texts from a variety of domains, genres and registers with the aim of being as representative as possible of the whole range of variation within a language. It can contain both written and spoken language and is relatively large in size. It is often used to produce reference materials for language learning and translation (such as grammar books or dictionaries) or, as we will see later, as a baseline in comparison with smaller, specialized corpora, to produce lists of keywords. Typical examples of general purpose corpora for English are the BNC and the Bank of English, both comprising a range of sub-corpora from different sources to ensure a certain representativeness of general English. Unlike a general reference corpus, a specialized corpus

interpretation of corpus data extracted from a corpus, and maybe more or less detailed or complex depending on the purpose of the corpus itself. Several schemes have been developed to accomplish this task, among which one of the most common is that known as TEI (Text Encoding Initiative). Also related to corpus mark-up is the problem of character encoding, which concerns the representation of special characters such as accented characters in European languages.

A further step in the compilation of a corpus can be annotation, i.e. the practice of adding interpretative linguistic information to a corpus. While corpus mark-up, as described above, provides ‘relatively objectively verifiable information regarding the components of a corpus and the textual structure of each text’ and can in some cases be inevitable (as is often the case with spoken corpora), annotation is by no means a necessity, since it concerns interpretative linguistic information that is added to the corpus. As a matter of fact, annotation can be defined in a broad sense, encompassing both the encoding of textual/contextual information (more precisely referred to as mark-up) and the encoding of interpretative linguistic analyses (annotation proper), and the two terms are sometimes used interchangeably in the literature. It is, however, important to keep the two as conceptually separate activities, given the greater degree of subjectivity of annotation when compared to mark-up proper. Annotation can be at various levels, the most common forms being lemmatization and part-of-speech (POS) tagging, which are now generally performed automatically. In lemmatization each word is related to its base form, so that, for instance, is , was and have been are all labelled as forms of the lemma BE. Part-of-speech tagging requires instead that each single word is labelled according to the word class it belongs to – as noun, verb, adjective, etc. Thus, the word present can be labelled as noun, adjective or verb, on the basis of its written form. Other levels of annotation concern levels below and above the word, such as phonetic/prosodic annotation (especially useful for spoken corpora) and syntactic annotation, or parsing, i.e. the attachment of syntactic categories and grammar relations to text segments at phrase level. Further delicacy of analysis is allowed by adding semantic annotation, pragmatic annotation, discourse annotation or stylistic annotation (Leech 2004: online). In more general terms it should be stressed that even though not all scholars agree on the importance of annotation, among these notably Sinclair.

3.2 Corpus analysis

Once compiled, a corpus can be explored and analyzed using specific tools that provide access to the information stored in the corpus. In this respect, frequency wordlists and concordance lines can be seen to exemplify the two basic forms of the analysis, qualitative and quantitative, upon which corpus linguistics is firmly based.

A corpus is generally queried using a corpus analysis tool called a concordancer, which retrieves and displays data from the corpus. Today concordancers are easily available not only as commercial products, e.g. Wordsmith Tools (Scott 2004), but also as freeware made available to the research community, such as AntConc (Anthony 2005). As with any other aspect of corpus linguistics, concordancers have developed through the years, from the earliest which could do no more than provide concordance lines and were typically held on a few mainframe computers in one or two universities only, to the desktop applications that were developed with the spread of personal computers in the 1980s. This provided a new generation of linguists with the possibility of using corpora to experiment with corpus techniques supported by more and more sophisticated corpus query tools. However the steady increase in size of corpus resources, also owing to the emergence of the web as a source of data, the problems arising in the distribution of the data because of copyright constraints, and the problems created by differing PC operating systems and by the relatively limited power of desktop applications,

resulted in the development of the so-called fourth-generation concordancers (McEnery and Hardie, 2012). These systems allow corpus users to access the data through a web interface, thus making available to the research community a huge amount of corpus data. Typical examples are corpus.byu.edu (Davies 2005), BNCweb (Hoffmann et al., 2008) and SketchEngine (Kilgarriff et al. 2004). In the following paragraphs most of the examples used to exemplify typical corpus activities will be taken from the BNC, freely accessed through VIEW, a web interface created by Mark Davies at Brigham Young University (USA), and through the Sketch Engine.

3.2.1 Wordlists and keywords

The first gateway to the invaluable information stored in a corpus is provided by frequency lists, that is, simple lists featuring all the word types that occur in a corpus, along with an indication of the frequency of occurrence of each item, i.e. how often that item appears in the corpus itself. This is usually referred to as raw frequency. The most frequent words in a corpus

  • irrespective of difference in size – are mostly function words. Interesting phenomena occur also at the end of the frequency list, where there is a long tail of hapax legomena, i.e. words occurring only once in the corpus. This list includes rare words, proper names, foreign words, but also misspelt items or strings erroneously computed as words by the system.

3.2.2 Concordances

If quantitative frequency data are the first, and in some respects most important, aspect of the kind of analysis that can be performed in corpus linguistics, concordances are the most typical. Indeed, corpus linguistics itself is strongly associated, today, with the image of a scholar searching through screen after screen of concordance lines, and concordances have been at the heart of corpus exploration from the very beginning. Detailed, painstaking, and certainly passionate, search for words and phrases in multiple contexts and across large amounts of text can be traced back to the Middle Ages, when biblical scholars manually indexed all the words in the Bible, page after page. Despite having been around for centuries, concordances have no doubt radically changed their face in the computer age, with the shift related to the new medium entailing a more radical change than might appear at first glance. Through electronic concordances the qualitative difference between reading a corpus and simply reading a text has become finally evident. In the words of Tognini Bonelli (2001):

the text is to be read horizontally, from left to right, paying attention to the boundaries between larger units such as clauses, sentences and paragraphs. A corpus […] is read vertically, scanning for the repeated patterns present in the co- text of the node.

In more practical terms, concordancers are tools that search for given words or phrases in a corpus and display them in their immediate textual environment. All occurrences of the search word, or ‘node’ word, are displayed in the centre of the computer screen, aligned and highlighted, in the so-called Key-Word-in- Context (KWiC) format.

3.4 Colligation and semantic associations

Besides focusing on collocations, corpus linguistics also studies colligation, defined as the ‘[t]he occurrence of a grammatical class or structural pattern with another one, or with a word or phrase’ (Sinclair, 2003). Colligational relations are more difficult to observe especially with large amounts of data and could not be identified at a glance from the observation of a list collocates but would require a thorough investigation of concordance lines.

CHAPTER 2

1 Corpus linguistics and the web

linguistic purpose, let alone theoretically informed design. It is not surprising, therefore, that in a publication aimed at clarifying and divulging the ‘good practice’ of corpus work, Sinclair declare that: The World Wide Web is not a corpus, because its dimensions are unknown and constantly changing, and because it has not been designed from a linguistic perspective.

Notwithstanding doubts concerning the hypothesis of considering the web as a corpus, made explicit by one of the founding fathers of contemporary corpus linguistics, linguists from all over the world have been increasingly turning their attention to the web not only as a source of language text for the creation of conventional (well-designed and carefully constructed) corpora, but also as a corpus in its own right. The relationship between corpus linguistics and the web seems to have become all but marginal, to the extent that this could well be envisaged as a new stage in the penetration of the new technologies in corpus linguistics. According to Tognini

Bonelli, the computer was, at first, only a tool for speeding up processes and systematizing data; then it offered a methodological frame by providing evidence of patterns of regularity which would never otherwise been noticed or elicited by mere introspection; finally, information technology immensely contributed to the creation of new corpora, simplifying the work of corpus builders and potentially turning corpus linguistics from an area of investigation for specialists only to a research field virtually open to all. Now, over the past decade, the web has claimed the right

of being considered a corpus by virtue of its very nature as a collection of machine-readable and searchable authentic texts, thus opening up new perspectives and offering new challenges.

3.1 Authenticity

It is a basic assumption of corpus linguistics that all the language included in a corpus is authentic, and certainly the most prominent feature of the web to have attracted the linguist’s attention is its undisputable nature as a reservoir of authentic, purposeful language behavior. The web is a collection of authentic texts produced in authentic human interactions by people whose aim ‘is not to display their language competence, but rather to achieve some objective through language’.

It could be argued, then, that the authenticity of the web makes it ‘a fabulous linguist’s playground’, a hitherto unavailable open space to explore the interplay between what is formally possible in language and in actual linguistic behavior. A simple Google search for phrases easily demonstrates, for instance, how the web can make repetitions across the language behavior of many speakers immediately visible, thus highlighting not only the repetitive and routine nature of language, but also providing evidence for what Teubert has defined as the ‘autopoietic’ and inherently ‘diachronic’ nature of the discourse.

3.2 Representativeness

Closely related to authenticity is the ‘vexed question’ of representativeness. Certainly, the standard of representativeness is the one that puzzles those who claim corpus dignity for the web the most, and, in the words of Leech, it might seem that ‘the web as corpus makes the notion of a representative corpus redundant’.

Exploring the web’s potential for representativeness has long remained the most crucial concern for scholars interested in investigating the value of the web as a corpus-like collection of texts. The real problem is that the notion of representativeness is the issue most closely bound up with the organic metaphor of the corpus-as-body, based on the assumption that each part of

a ‘body’ can be representative of the whole. As a consequence, while the enormous size of the web and its inclusiveness apparently make it a gateway to a potentially representative

heterogeneous amount of language events, its imbalances and potential un-representativeness impair its value as a language resource.

3.3 Size

Intrinsically related to representativeness, the issue of size is fundamental in determining the value of a corpus as an object of language study and affects the kind of generalizations that can be made from corpus data. While enormous size and virtually endless growth are the most notable characteristics of the web when compared to traditional corpora, this is precisely where its limitations as an object of scientific enquiry lie, if it is to be considered as a source of data for quantitative studies. As McEnery and Wilson suggest, the notion of corpus should by default imply ‘a body of text of a finite size’, whereas the web is, by its very nature, bound to perpetual expansion. This soon gained the web a reputation as ‘the ultimate monitor corpus’, i.e. a corpus which – according to Sinclair’s definition – ‘has no final extent because, like language itself, it keeps on developing’. And a monitor corpus is by nature a more opportunistic and less balanced corpus where ‘quantity of data replaces planning of sampling as the main compilation criterion’.

The problem with the web’s size is indeed extremely complex, both from the perspective of information technology and from a linguistic perspective. What is the current size of the web? How many websites are there? How many bytes of data? And, more specifically, how many running words does the web contain when considered as a text corpus? It is certainly a truism to say that the size of the textual content of the web is somewhat difficult to grasp, and it is also quite obvious that any possible answer to the above questions would be, by necessity, approximate and ephemeral, owing to the intrinsically dynamic nature of the web. Nonetheless, attempts have been made at ‘measuring’ the web by adopting different metrics, and at providing answers someway or other relating to its nature as a textual corpus.

3.4 Composition

The exponential growth of the web in size since its inception in the early ’90s has also had an impact on its composition – another key issue to be explored when determining the web’s value as a corpus. As far as the web as corpus is concerned, the issue of content becomes even more ‘indigestible’ given the intrinsic difficulties of characterizing the web in any of its aspects. As pointed out by Chakrabarti in the late ’90s, ‘the Web has evolved into a global mess of previously unimagined proportions. Web pages can be written in any language, dialect or style, by individuals with any background, education, culture, interest and motivation’. As noted in Baeza- Yates and Ribeiro-Neto (2011), the data is surely growing in size, but also in complexity. This why the focus can no longer be only on the question of size but on the interplay among the web’s three different dimensions of growth: Volume, Variety, Velocity. Indeed, web content and the categorization of such content changes from day to day, so that while some estimates may suggest that there are some 155 million websites in the web, a number fluctuating wildly from month to month, what exactly constitutes a website is cast into doubt.

3.4.1 Medium

While a traditional corpus may contain only written texts or only spoken texts, or a variable proportion of both, it must be acknowledged that it is becoming increasingly difficult to conceive of web texts in terms of only one medium, and the composition of the web in this respect is not easily investigated. The web has indeed largely contributed to a blurring of clear- cut distinctions between spoken and written language, and the very way we talk about the internet suggests ‘an uncertainty over the relationship between these two mediums’. In the words of Crystal (2011: 20):

are undergoing processes of ‘remediation’ which make them definitely hybrid genres (adapted novel genres), as well as completely new genres (emerging genres). On the basis of this evolutionary pattern, and drawing on earlier classifications, Santini (2007) proposes a list of five recognizable genres typologies: reproduced/replicated genres, adapted/variant genres, emergent/novel genres, spontaneous genres or unclassified web pages.

3.5 Copyright

As is the case with language resources of a different kind, and specifically with language corpora, accessing web data for linguistic purposes poses obvious copyright problems. This was clear from the start, and the problem was soon addressed in a specific paper by Hemming and Lassi (2002), and in Kilgarriff and Grefenstette’s much-quoted introduction to the special issue of Computational Linguistics on ‘The Web as Corpus’. Even though copyright constraints were mentioned as mainly pertaining to traditional corpora, and – in some respects – the web was initially seen, by contrast, as apparently less constrained in terms of copyright, it was clearly acknowledged that ‘legal issues for Web corpora are no different from those around non-Web Corpora’

CHAPTER 3

1 The corpus and the search

The web is far from being a carefully compiled corpus, it has often been used as a corpus in a variety of research, professional and teaching contexts. Especially in the field of computational linguistics, the web was immediately seen as the obvious and only source to go to in many cases.

2 Search engine basics: crawling, indexing, searching, ranking

The web has entered the scene of corpus linguistics, often providing solutions to specific problems and unique opportunities for research questions that cannot find an answer in more traditional resources. A search engine is ‘a program designed to help people locate information on the Web by formulating simple keyword queries’. The engine thus only connects the keywords a user enters (query) to another list of keywords (index), which represents a database of web pages, to produce a list of website addresses with a short amount of context. In response to the user’s query, the search engine displays the results or hits for that query with a certain amount of co-text, accompanied by links to the source page or website. Three major steps are involved in performing this task (crawling, indexing, searching) and these steps correspond to the ‘parts’ of the search engine: the crawler; the indexing program; the search engine or query processor. The main task that a web search engine performs is to store information about a large number of web pages, which are retrieved from the World Wide Web itself by a web crawler, or ‘spider’, in keeping with the general metaphor representing the internet as a ‘web’ of documents. Once a new page is located by the search engine crawler, its content is analyzed (i.e. words are extracted from titles, headings, or special fields called meta- tags) and indexed under virtually any word in the page – even though most search engines tend to exclude from the index particularly frequent words, such as articles or prepositions, the so- called stopwords. All data about web pages are then stored in an index database for use in later queries, so that when a user enters one or more search terms into the search engine, the engine examines its index and provides a list of web pages matching the query, including a short summary containing the document’s title and extracts from the text. More precisely, search engines have been defined as Information Retrieval (IR) systems ‘which prepare a keyword index for a given corpus and respond to keyword queries with a ranked list of documents’ (Chakrabarti 2003: 45, my italics). In the last phase a fundamental and challenging process is involved, i.e. determining the order in which the retrieved records should be

displayed. This process is related to a relevance-ranking algorithm which takes a number of factors into account – as explained in Brin and Page’s (1998) seminal contribution on this aspect. Typical factors taken into account today are the popularity of the page (measured by the number of other pages linked to it), the number of times the search term occurs in the page, the relative proximity of search terms in the page, the location of search terms (for example, pages where the search terms occur in the title page get higher ranking), and even the geographical provenance of the query (which may prompt a bias to ranking higher those websites which are closer to the user).