?
Structuring Lexical Data and Digitising Dictionaries: Grammatical Theory, Language Processing and Databases in Historical Linguistics
The proliferation of Large Language Models (llms) has propelled Natural Language Processing to unprecedented heights, with new advances in applications such as machine translation, sentiment analysis, information extraction, text classification, chatbots, etc. The Transformer architecture introduced in the seminal paper by Vaswani et al. (2017), which relies on attention mechanisms exclusively to weight the semantic distance of each input token, offers significant advantages over previous recurrent and convolutional neural networks, including its ability to represent positional information as well as to capture contextual features and long-distance relationships. The Transformer architecture constitutes the foundational framework of llms, like the gpt (Generative Pre-Trained Transformer) series, which can understand, generate and interact with natural language (Rothman 2022). A new paradigm is already arising in the field of the interaction with llms, despite their novelty. In the pre-train and fine-tune sequence of interaction, a computational statistical model of language is pre-trained with large datasets and parameters and then adapted to specific tasks by means of fine-tuning with a smaller dataset. This sequence of interaction is being replaced with pre-train, prompt and predict (Liu et al. 2023), in terms of which textual prompts are defined that resemble those solved during the first training of the llm. The emphasis of prompts is paralleled by the augmentation of llms with databases (Lewis et al. 2021) that mitigate hallucinations and enhance the response quality of the model (Tang and Yang 2024).
Against this background, this book deals with the compilation of the datasets and databases required by Natural Language Processing in the era of artificial intelligence llms. The book engages in historical lexicography and historical lexicology and, more specifically, addresses the general question of how to structure linguistic data from two perspectives, namely, the incorporation of research methods based on lexical databases and language processing to historical lexicography; and the structuration of historical lexicons for lexicography and corpus analysis. These perspectives may shed light to applied as well as theoretical research. If we consider the side of applications, emphasis is made on the integration of corpus linguistics and dictionary compilation through aims and tasks associated with electronic lexicography. From the theoretical point of view, attention is paid to the interaction of datasets and tagsets that can be coached in, at least, two ways: from hypertext marking to lexical databases and from lexical databases to knowledge bases.
These perspectives of analysis are relevant to the linguist and the lexicographer, but also to the user of dictionaries and other repositories of linguistic data. That is to say, the question is not whether the user of these resources should be provided with open and fully searchable resources, as this is the general line adopted in the book. Rather, the question addressed in this study is what types of pre-processing are required before the user can be offered such resources. The position adopted in this respect is that, in order to guarantee open access and full searchability, applied and theoretical work in historical lexicography and lexicology must follow the same directions as the evolution of the Internet, which has moved from hypertext-based resources to more significative services and products stored and disseminated through databases and, more recently, through knowledge bases. The adoption of such databases and knowledge bases as suitable vehicles for filing - and, ultimately, interpreting — linguistic data calls for the alignment of the principles of data gathering and data annotation.