Data Segmentation Using NLP: Gender and Age

Total Page:16

File Type:pdf, Size:1020Kb

Data Segmentation Using NLP: Gender and Age UPTEC STS 21001 Examensarbete 30 hp Januari 2021 Data Segmentation Using NLP: Gender and Age Gustav Demmelmaier Carl Westerberg Abstract Data Segmentation Using NLP: Gender and Age Gustav Demmelmaier & Carl Westerberg Teknisk- naturvetenskaplig fakultet UTH-enheten Natural language processing (NLP) opens the possibilities for a computer to read, decipher, and interpret human languages to eventually use it in Besöksadress: ways that enable yet further understanding of the interaction and Ångströmlaboratoriet Lägerhyddsvägen 1 communication between the human and the computer. When appropriate data Hus 4, Plan 0 is available, NLP makes it possible to determine not only the sentiment information of a text but also information about the author behind an Postadress: online post. Previously conducted studies show aspects of NLP Box 536 751 21 Uppsala potentially going deeper into the subjective information, enabling author classification from text data. Telefon: This thesis addresses the lack of demographic insights of online user 018 – 471 30 03 data by studying language use in texts. It compares four popular yet Telefax: diverse machine learning algorithms for gender and age segmentation. 018 – 471 30 00 During the project, the age analysis was abandoned due to insufficient data. The online texts were analysed and quantified into 118 parameters Hemsida: based on linguistic differences. Using supervised learning, the http://www.teknat.uu.se/student researchers succeeded in correctly predicting the gender in 82% of the cases when analysing data from English online users. The training and test data may have some correlations, which is important to notice. Language is complex and, in this case, the more complex methods SVM and Neural networks were performing better than the less complex Naive Bayes and Logistic regression. Handledare: Frederique Pirenne Ämnesgranskare: Matteo Magnani Examinator: Elísabet Andrésdóttir ISSN: 1650-8319, UPTEC STS** *** Popul¨arvetenskaplig sammanfattning Allt eftersom den digitaliserade erans v˚agsveper ¨over jordens alla h¨ornblir m¨anniskan alltmer uppkopplad. Faktumet att det ¨armer regel ¨anundantag att en m¨anniska har en smartphone kan idag till och med upplevas som en underdrift. Att inte inneha en smartphone kan rentav upplevas som ett allm¨ant avvikande drag. Med detta st¨andigt ¨okande antal uppkopplade m¨anniskor ¨okar ¨aven intresset och m¨ojligheternaatt analy- sera all data som skapas i och med detta. Alla inl¨aggp˚asociala medier, alla likes, alla skickade meddelanden, alla tankar publicerade i en tweet, till och med nedladdningen av detta examensarbete genererar data om vad du g¨or,var du ¨aroch dina personliga ˚asikter.Denna data lockar m˚angaolika typer av intressenter, b˚adei industrin och inom den akademiska v¨arlden. Natural Language Processing (NLP) en gren inom Artificiell Intelligens som stud- erar m¨anskligtskriven text och bland annat interaktionen mellan dator och m¨anniska genom. Det ¨oppnar m¨ojligheternaf¨oren dator att l¨asa,avkoda och tolka det m¨anskliga spr˚aket, f¨oratt sedan f¨orst˚aoch anv¨andadet, vilket ger upphov till ytterligare f¨orst˚aelse mellan m¨anniskan och datorn. Ett ofta studerat omr˚adeinom NLP ¨arSentimentanalys som ¨amnaranalysera och klassificera subjektiv information och ˚asikterfr˚anm¨anskligt skriven text och praktiseras f¨orn¨arvarande kommersiellt. F¨oretagfr˚anett brett spek- trum av industrier har sett potentialen av Sentimentanalys och i samband med det ¨okande antalet anv¨andareonline och de enorma m¨angderna data lockar den ¨annu fler, framf¨oralltf¨oretagspecialiserade inom marknadsf¨oring. Anv¨andare, eller potentiella kunder som marknadsf¨orarnaser dem, l¨amnarsp˚arefter sig vart de ¨an g˚arp˚agrund av deras uppkoppling, och vissa g˚ar¨annu l¨angregenom att fritt uttrycka sina ˚asikterp˚a olika plattformar - omedvetna om den information de tillhandah˚alleroch realtidsdatain- samlingen som utf¨ors.Detta skapar i sin tur m¨ojligheterf¨oralla, s¨arskilt stora f¨oretag, att sk¨ordam¨angderdata och utforska den for att producera otroligt noggranna och pre- cisa analyser. F¨ormarknadsf¨oringsindustrinhar detta resulterat i ett paradigmskifte d¨aranaloga marknadsanalyser l˚angsamt f¨orsvinnerf¨or att ta framtida, mer digitaliser- ade v¨agar. Notabelt ¨ar¨andock att tidigare akademiska studier har visat att andra aspekter av NLP potentiellt kan g˚a¨annu djupare in i den subjektiva informationen och g¨oradet f¨or datorn m¨ojligtatt avg¨oravem f¨orfattarentill en m¨anskligtskriven text ¨ar,helt utan att tidigare k¨annatill dess m¨anskligaegenskaper eller att visuellt se personen. Fr˚an m¨anskligtskrivna texter, eller naturligt spr˚aksom det direkt ¨overs¨attstill, har klassifi- cering av f¨orfattarensdemografiska faktorer s˚asomk¨onoch˚alderhar framg˚angsriktgjort inom den akademiska v¨arlden. Dessa studier anv¨anderemellertid textdata fr˚anen och samma onlinek¨allaeller plattform, resulterar i en homogen data betr¨affandetextl¨angd, struktur och kontextuella attribut. En datainsamling med en mer varierad upps¨attning insamlingsk¨allorskulle potentiellt skapa b¨attref¨oruts¨attningarf¨orklassificering samt statistisk representation av de demografiska faktorerna av en verklig population och d¨arf¨or¨aven skapa ett b¨attreanv¨andningsomr˚adef¨orkommersiella ¨andam˚al. Examensarbetet gjordes i samarbete med det marknadsteknologiska f¨oretagetGraviz Labs och studerar den bristande insikten g¨allandedemografiska faktorer av onlin- eanv¨andare. Genom datorlingvistik studeras olika f¨orfattaresspr˚akanv¨andningoch fyra olika maskininl¨arningsalgoritmerkonstrueras och tr¨anasf¨orklassificering av fak- torerna k¨on och ˚alder.Under projektets varaktighet ¨overgavs ˚aldersfaktornp˚agrund av otillr¨acklig data. Med hj¨alpav maskininl¨arningsmetoden Supervised Learning, ¨over- satt till ¨overvakat l¨arande,d¨aralgoritmerna l¨arsig att replikera och generalisera given tr¨aningsdata,lyckas studien att prediktera faktorn k¨onmed en tr¨affs¨akerhet p˚a82% vid analys av engelsktalande f¨orfattare. Asidosatt˚ en potentiellt korrelation i studiens dataset, indikerar resultaten att studien, med avseende p˚atr¨affs¨akerhet, ¨arkonkur- renskraftig i j¨amf¨orelsemed internationella studier. Studien p˚avisar¨aven en framtida kommersiell potential vid likalydande utformning. Acknowledgements This thesis is a result of a project conducted at the analytics company Graviz Labs. We would like to thank the team at Graviz Labs and especially our supervisor Frederique Pirenne for the opportunity to execute the project and for all the help and assistance throughout the project. We would also like to thank our subject reader Matteo Magnani who has contributed with great inputs and significant feedback along the way. Thank you! Distribution of work This thesis project has be created by Gustav Demmelmaier and Carl Westerberg. It has been carried out in a close collaboration between the two and all covered parts of the thesis have been studied, written and reviewed conjointly. Individual tasks were distributed periodically during the course of the project. When a task was achieved or problems occurred they were reviewed instantly to maintain the defined collaboration, to solve problems and to share information. In general, all this was done immediately since the majority of the work was conducted in the same office. Pair programming and writing were practiced frequently and the overall work distribution of this thesis was practically 50/50. Glossary AI - Artificial Intelligence API - Application Programming Interface AUC - Area Under Curve FPR - False Positive Rate IAA - Inter-Annotator Agreement MLP - Multi Layer Perceptron NLP - Natural Language Processing POS - Part of Speech RBF - Radial Basis Function ROC - Receiver Operating Characteristic SVM - Support Vector Machine TPR - True Positive Rate Contents 1 Introduction 1 1.1 Related work . .2 1.1.1 Supervised learning . .2 1.1.2 Natural Language Processing . .3 1.1.3 Sentiment analysis . .4 1.1.4 Demographics and linguistics . .4 1.2 Ethics in online user data . .4 1.2.1 Privacy in online data . .5 1.2.2 Gender as a variable . .5 1.2.3 Age as a variable . .6 1.2.4 Ethical framework for this research . .6 1.2.5 Ethical consequences of the project . .7 1.3 Research definition . .8 1.4 Disposition . .8 2 Theory 9 2.1 Machine learning in classification . .9 2.2 Classification models . .9 2.2.1 Logistic regression . .9 2.2.2 Support Vector Machine . 10 2.2.3 Naive Bayes . 10 2.2.4 Neural networks . 11 2.3 Natural language processing . 13 2.3.1 Feature classes . 13 2.4 Calibration methods . 17 2.4.1 Hyper-parameter tuning and weighting . 17 2.5 Evaluation . 17 2.5.1 Evaluation metrics . 18 2.5.2 ROC-curve . 18 2.5.3 Cross validation . 19 3 Method 21 3.1 Workflow . 21 3.2 Data . 23 3.2.1 Data collection . 23 3.2.2 Cleaning and pre-processing . 25 3.2.3 Labelling . 26 3.2.4 Parametrisation . 27 3.3 Machine learning . 30 3.3.1 Selection of classifiers . 30 3.3.2 Implementing the classifiers . 31 3.3.3 Hyper-parameter tuning and model calibration . 32 3.4 Limitations . 33 4 Results 35 4.1 Data collection . 35 4.1.1 Data sampling . 35 4.2 Machine learning models and hyper-parameter tuning . 36 4.3 Further tuning and comparisons . 38 5 Discussion 42 5.1 The data set . 42 5.2 Pre-processing and parametrisation . 43 5.3 Model comparison . 43 5.4 Validity . 45 5.5 Ethics . 46 6 Future work 48 6.1 Age . 48 6.2 Parameter weighing and tuning . 48 6.3 Pre-processing variations . 48 6.4 Demographics . 49 6.5 Other linguistic features . 49 7 Conclusion and summary 50 8 References 51 1 Introduction Data has often been described as the new oil. The value of the data itself is now recognised throughout the world, just as oil has been for centuries. For the data to be useful though, the user needs to know how to use and interpret it [1]. Big data is today used in many fields of both the commercial and non-commercial business. Capitalising on data is progressively becoming a necessity for companies to survive and stay up to date with their competitors.
Recommended publications
  • Enhanced Thesaurus Terms Extraction for Document Indexing
    Enhanced Thesaurus Terms Extraction for Document Indexing Frane ari¢, Jan najder, Bojana Dalbelo Ba²i¢, Hrvoje Ekli¢ Faculty of Electrical Engineering and Computing, University of Zagreb Unska 3, 10000 Zagreb, Croatia E-mail:{Frane.Saric, Jan.Snajder, Bojana.Dalbelo, Hrvoje.Eklic}@fer.hr Abstract. In this paper we present an mogeneous due to diverse background knowl- enhanced method for the thesaurus term edge and expertise of human indexers. The extraction regarded as the main support to task of building semi-automatic and auto- a semi-automatic indexing system. The matic systems, which aim to decrease the enhancement is achieved by neutralising burden of work borne by indexers, has re- the eect of language morphology applying cently attracted interest in the research com- lemmatisation on both the text and the munity [4], [13], [14]. Automatic indexing thesaurus, and by implementing an ecient systems still do not achieve the performance recursive algorithm for term extraction. of human indexers, so semi-automatic sys- Formal denition and statistical evaluation tems are widely used (CINDEX, MACREX, of the experimental results of the proposed MAI [10]). method for thesaurus term extraction are In this paper we present a method for the- given. The need for disambiguation methods saurus term extraction regarded as the main and the eect of lemmatisation in the realm support to semi-automatic indexing system. of thesaurus term extraction are discussed. Term extraction is a process of nding all ver- batim occurrences of all terms in the text. Keywords. Information retrieval, term Our method of term extraction is a part of extraction, NLP, lemmatisation, Eurovoc.
    [Show full text]
  • An Evaluation of Machine Learning Approaches to Natural Language Processing for Legal Text Classification
    Imperial College London Department of Computing An Evaluation of Machine Learning Approaches to Natural Language Processing for Legal Text Classification Supervisors: Author: Prof Alessandra Russo Clavance Lim Nuri Cingillioglu Submitted in partial fulfillment of the requirements for the MSc degree in Computing Science of Imperial College London September 2019 Contents Abstract 1 Acknowledgements 2 1 Introduction 3 1.1 Motivation .................................. 3 1.2 Aims and objectives ............................ 4 1.3 Outline .................................... 5 2 Background 6 2.1 Overview ................................... 6 2.1.1 Text classification .......................... 6 2.1.2 Training, validation and test sets ................. 6 2.1.3 Cross validation ........................... 7 2.1.4 Hyperparameter optimization ................... 8 2.1.5 Evaluation metrics ......................... 9 2.2 Text classification pipeline ......................... 14 2.3 Feature extraction ............................. 15 2.3.1 Count vectorizer .......................... 15 2.3.2 TF-IDF vectorizer ......................... 16 2.3.3 Word embeddings .......................... 17 2.4 Classifiers .................................. 18 2.4.1 Naive Bayes classifier ........................ 18 2.4.2 Decision tree ............................ 20 2.4.3 Random forest ........................... 21 2.4.4 Logistic regression ......................... 21 2.4.5 Support vector machines ...................... 22 2.4.6 k-Nearest Neighbours .......................
    [Show full text]
  • Using Lexico-Syntactic Ontology Design Patterns for Ontology Creation and Population
    Using Lexico-Syntactic Ontology Design Patterns for ontology creation and population Diana Maynard and Adam Funk and Wim Peters Department of Computer Science University of Sheffield Regent Court, 211 Portobello S1 4DP, Sheffield, UK Abstract. In this paper we discuss the use of information extraction techniques involving lexico-syntactic patterns to generate ontological in- formation from unstructured text and either create a new ontology from scratch or augment an existing ontology with new entities. We refine the patterns using a term extraction tool and some semantic restrictions derived from WordNet and VerbNet, in order to prevent the overgener- ation that occurs with the use of the Ontology Design Patterns for this purpose. We present two applications developed in GATE and available as plugins for the NeOn Toolkit: one for general use on all kinds of text, and one for specific use in the fisheries domain. Key words: natural language processing, relation extraction, ontology generation, information extraction, Ontology Design Patterns 1 Introduction Ontology population is a crucial part of knowledge base construction and main- tenance that enables us to relate text to ontologies, providing on the one hand a customised ontology related to the data and domain with which we are con- cerned, and on the other hand a richer ontology which can be used for a variety of semantic web-related tasks such as knowledge management, information re- trieval, question answering, semantic desktop applications, and so on. Automatic ontology population is generally performed by means of some kind of ontology-based information extraction (OBIE) [1, 2]. This consists of identi- fying the key terms in the text (such as named entities and technical terms) and then relating them to concepts in the ontology.
    [Show full text]
  • LASLA and Collatinus
    L.A.S.L.A. and Collatinus: a convergence in lexica Philippe Verkerk, Yves Ouvrard, Margherita Fantoli, Dominique Longrée To cite this version: Philippe Verkerk, Yves Ouvrard, Margherita Fantoli, Dominique Longrée. L.A.S.L.A. and Collatinus: a convergence in lexica. Studi e saggi linguistici, ETS, In press. hal-02399878v1 HAL Id: hal-02399878 https://hal.archives-ouvertes.fr/hal-02399878v1 Submitted on 9 Dec 2019 (v1), last revised 14 May 2020 (v2) HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. L.A.S.L.A. and Collatinus: a convergence in lexica Philippe Verkerk, Yves Ouvrard, Margherita Fantoli and Dominique Longrée L.A.S.L.A. (Laboratoire d'Analyse Statistique des Langues Anciennes, University of Liège, Belgium) has begun in 1961 a project of lemmatisation and morphosyntactic tagging of Latin texts. This project is still running with new texts lemmatised each year. The resulting files have been recently opened to the interested scholars and they now count approximatively 2.500.000 words, the lemmatisation of which has been checked by a philologist. In the early 2.000's, Collatinus has been developed by Yves Ouvrard for teaching.
    [Show full text]
  • Experiments in Clustering Urban-Legend Texts
    How to Distinguish a Kidney Theft from a Death Car? Experiments in Clustering Urban-Legend Texts Roman Grundkiewicz, Filip Gralinski´ Adam Mickiewicz University Faculty of Mathematics and Computer Science Poznan,´ Poland [email protected], [email protected] Abstract is much easier to tap than the oral one, it becomes feasible to envisage a system for the machine iden- This paper discusses a system for auto- tification and collection of urban-legend texts. In matic clustering of urban-legend texts. Ur- this paper, we discuss the first steps into the cre- ban legend (UL) is a short story set in ation of such a system. We concentrate on the task the present day, believed by its tellers to of clustering of urban legends, trying to reproduce be true and spreading spontaneously from automatically the results of manual categorisation person to person. A corpus of Polish UL of urban-legend texts done by folklorists. texts was collected from message boards In Sec. 2 a corpus of 697 Polish urban-legend and blogs. Each text was manually as- texts is presented. The techniques used in pre- signed to one story type. The aim of processing the corpus texts are discussed in Sec. 3, the presented system is to reconstruct the whereas the clustering process – in Sec. 4. We manual grouping of texts. It turned out that present the clustering experiment in Sec. 5 and the automatic clustering of UL texts is feasible results – in Sec. 6. but it requires techniques different from the ones used for clustering e.g. news ar- 2 Corpus ticles.
    [Show full text]
  • Removing Boilerplate and Duplicate Content from Web Corpora
    Masaryk University Faculty}w¡¢£¤¥¦§¨ of Informatics !"#$%&'()+,-./012345<yA| Removing Boilerplate and Duplicate Content from Web Corpora Ph.D. thesis Jan Pomik´alek Brno, 2011 Acknowledgments I want to thank my supervisor Karel Pala for all his support and encouragement in the past years. I thank LudˇekMatyska for a useful pre-review and also for being so kind and cor- recting typos in the text while reading it. I thank the KrdWrd team for providing their Canola corpus for my research and namely to Egon Stemle for his help and technical support. I thank Christian Kohlsch¨utterfor making the L3S-GN1 dataset publicly available and for an interesting e-mail discussion. Special thanks to my NLPlab colleagues for creating a great research environment. In particular, I want to thank Pavel Rychl´yfor inspiring discussions and for an interesting joint research. Special thanks to Adam Kilgarriff and Diana McCarthy for reading various parts of my thesis and for their valuable comments. My very special thanks go to Lexical Computing Ltd and namely again to the director Adam Kilgarriff for fully supporting my research and making it applicable in practice. Last but not least I thank my family for all their love and support throughout my studies. Abstract In the recent years, the Web has become a popular source of textual data for linguistic research. The Web provides an extremely large volume of texts in many languages. However, a number of problems have to be resolved in order to create collections (text corpora) which are appropriate for application in natural language processing. In this work, two related problems are addressed: cleaning a boilerplate and removing duplicate and near-duplicate content from Web data.
    [Show full text]
  • The State of (Full) Text Search in Postgresql 12
    Event / Conference name Location, Date The State of (Full) Text Search in PostgreSQL 12 FOSDEM 2020 Jimmy Angelakos Senior PostgreSQL Architect Twitter: @vyruss https://www.2ndQuadrant.com FOSDEM Brussels, 2020-02-02 Contents ● (Full) Text Search ● Indexing ● Operators ● Non-natural text ● Functions ● Collation ● Dictionaries ● Other “text” types ● Examples ● Maintenance https://www.2ndQuadrant.com FOSDEM Brussels, 2020-02-02 Your attention please Allergy advice ● This presentation contains linguistics, NLP, Markov chains, Levenshtein distances, and various other confounding terms. ● These have been known to induce drowsiness and inappropriate sleep onset in lecture theatres. https://www.2ndQuadrant.com FOSDEM Brussels, 2020-02-02 What is Text? (Baby don’t hurt me) ● PostgreSQL character types – CHAR(n) – VARCHAR(n) – VARCHAR, TEXT ● Trailing spaces: significant (e.g. for LIKE / regex) ● Storage – Character Set (e.g. UTF-8) – 1+126 bytes → 4+n bytes – Compression, TOAST https://www.2ndQuadrant.com FOSDEM Brussels, 2020-02-02 What is Text Search? ● Information retrieval → Text retrieval ● Search on metadata – Descriptive, bibliographic, tags, etc. – Discovery & identification ● Search on parts of the text – Matching – Substring search – Data extraction, cleaning, mining https://www.2ndQuadrant.com FOSDEM Brussels, 2020-02-02 Text search operators in PostgreSQL ● LIKE, ILIKE (~~, ~~*) ● ~, ~* (POSIX regex) ● regexp_match(string text, pattern text) ● But are SQL/regular expressions enough? – No ranking of results – No concept of language – Cannot be indexed ● Okay okay, can be somewhat indexed* ● SIMILAR TO → best forget about this one https://www.2ndQuadrant.com FOSDEM Brussels, 2020-02-02 What is Full Text Search (FTS)? ● Information retrieval → Text retrieval → Document retrieval ● Search on words (on tokens) in a database (all documents) ● No index → Serial search (e.g.
    [Show full text]
  • A Diachronic Treebank of Russian Spanning More Than a Thousand Years
    Proceedings of the 12th Conference on Language Resources and Evaluation (LREC 2020), pages 5251–5256 Marseille, 11–16 May 2020 c European Language Resources Association (ELRA), licensed under CC-BY-NC A Diachronic Treebank of Russian Spanning More Than a Thousand Years Aleksandrs Berdicevskis1, Hanne Eckhoff2 1Språkbanken (The Swedish Language Bank), Universify of Gothenburg 2Faculty of Medieval and Modern Languages, University of Oxford [email protected], [email protected] Abstract We describe the Tromsø Old Russian and Old Church Slavonic Treebank (TOROT) that spans from the earliest Old Church Slavonic to modern Russian texts, covering more than a thousand years of continuous language history. We focus on the latest additions to the treebank, first of all, the modern subcorpus that was created by a high-quality conversion of the existing treebank of contemporary standard Russian (SynTagRus). Keywords: Russian, Slavonic, Old Church Slavonic, treebank, diachrony, conversion and a richer inventory of syntactic relation labels. 1. Introduction Secondary dependencies are used to indicate external The Tromsø Old Russian and OCS Treebank (TOROT, subjects, for example in control structures, and to indicate Eckhoff and Berdicevskis 2015) has been available in shared dependents, for example in structures with various releases since its beginnings in 2013, and its East coordinated verbs. Empty nodes are allowed to give more Slavonic part now contains approximately 230K words.1 information on elliptic structures and asyndetic This paper describes the TOROT 20200116 release,2 which coordination. The empty nodes are limited to verbs and adds a conversion of the SynTagRus treebank. Former conjunctions, the scheme does not allow empty nominal TOROT releases consisted of Old East Slavonic and nodes.
    [Show full text]
  • Download in the Conll-Format and Comprise Over ±175,000 Tokens
    Integrated Sequence Tagging for Medieval Latin Using Deep Representation Learning Mike Kestemont1, Jeroen De Gussem2 1 University of Antwerp, Belgium 2 Ghent University, Belgium *Corresponding author: [email protected] Abstract In this paper we consider two sequence tagging tasks for medieval Latin: part-of-speech tagging and lemmatization. These are both basic, yet foundational preprocessing steps in applications such as text re-use detection. Nevertheless, they are generally complicated by the considerable orthographic variation which is typical of medieval Latin. In Digital Classics, these tasks are traditionally solved in a (i) cascaded and (ii) lexicon-dependent fashion. For example, a lexicon is used to generate all the potential lemma-tag pairs for a token, and next, a context-aware PoS-tagger is used to select the most appropriate tag-lemma pair. Apart from the problems with out-of-lexicon items, error percolation is a major downside of such approaches. In this paper we explore the possibility to elegantly solve these tasks using a single, integrated approach. For this, we make use of a layered neural network architecture from the field of deep representation learning. keywords tagging, lemmatization, medieval Latin, LSTM, deep learning INTRODUCTION Latin —and its historic variants in particular— have long been a topic of major interest in Natural Language Processing [Piotrowksi 2012]. Especially in the community of Digital Humanities, the automated processing of Latin texts has always been a popular research topic. In a variety of computational applications, such as text re-use detection [Franzini et al, 2015], it is desirable to annotate and augment Latin texts with useful morpho-syntactical or lexical information, such as lemmas.
    [Show full text]
  • Lemmagen: Multilingual Lemmatisation with Induced Ripple-Down Rules
    Journal of Universal Computer Science, vol. 16, no. 9 (2010), 1190-1214 submitted: 21/1/10, accepted: 28/4/10, appeared: 1/5/10 © J.UCS LemmaGen: Multilingual Lemmatisation with Induced Ripple-Down Rules MatjaˇzJurˇsiˇc (Joˇzef Stefan Institute, Ljubljana, Slovenia [email protected]) Igor Mozetiˇc (Joˇzef Stefan Institute, Ljubljana, Slovenia [email protected]) TomaˇzErjavec (Joˇzef Stefan Institute, Ljubljana, Slovenia [email protected]) Nada Lavraˇc (Joˇzef Stefan Institute, Ljubljana, Slovenia and University of Nova Gorica, Nova Gorica, Slovenia [email protected]) Abstract: Lemmatisation is the process of finding the normalised forms of words appearing in text. It is a useful preprocessing step for a number of language engineering and text mining tasks, and especially important for languages with rich inflectional morphology. This paper presents a new lemmatisation system, LemmaGen, which was trained to generate accurate and efficient lemmatisers for twelve different languages. Its evaluation on the corresponding lexicons shows that LemmaGen outperforms the lemmatisers generated by two alternative approaches, RDR and CST, both in terms of accuracy and efficiency. To our knowledge, LemmaGen is the most efficient publicly available lemmatiser trained on large lexicons of multiple languages, whose learning engine can be retrained to effectively generate lemmatisers of other languages. Key Words: rule induction, ripple-down rules, natural language processing, lemma- tisation Category: I.2.6, I.2.7, E.1 1 Introduction Lemmatisation is a valuable preprocessing step for a large number of language engineering and text mining tasks. It is the process of finding the normalised forms of wordforms, i.e. inflected words as they appear in text.
    [Show full text]
  • Language Technology Meets Documentary Linguistics: What We Have to Tell Each Other
    Language technology meets documentary linguistics: What we have to tell each other Language technology meets documentary linguistics: What we have to tell each other Trond Trosterud Giellatekno, Centre for Saami Language Technology http://giellatekno.uit.no/ . February 15, 2018 . Language technology meets documentary linguistics: What we have to tell each other Contents Introduction Language technology for the documentary linguist Language technology for the language society Conclusion . Language technology meets documentary linguistics: What we have to tell each other Introduction Introduction I Giellatekno: started in 2001 (UiT). Research group for language technology on Saami and other northern languages Gramm. modelling, dictionaries, ICALL, corpus analysis, MT, ... I Trond Trosterud, Lene Antonsen, Ciprian Gerstenberger, Chiara Argese I Divvun: Started in 2005 (UiT < Min. of Local Government). Infrastructure, proofing tools, synthetic speech, terminology I Sjur Moshagen, Thomas Omma, Maja Kappfjell, Børre Gaup, Tomi Pieski, Elena Paulsen, Linda Wiechetek . Language technology meets documentary linguistics: What we have to tell each other Introduction The most important languages we work on . Language technology meets documentary linguistics: What we have to tell each other Language technology for the documentary linguist Language technology for documentary linguistics ... Language technology meets documentary linguistics: What we have to tell each other Language technology for the documentary linguist ... what’s in it for the language community I work for? I Let’s pretend there are two types of language communities: 1. Language communities without plans for revitalisation or use in domains other than oral use 2. Language communities with such plans . Language technology meets documentary linguistics: What we have to tell each other Language technology for the documentary linguist Language communities without such plans I Gather empirical material and do your linguistic analysis I (The triplet: Grammar, text collection and dictionary) I ..
    [Show full text]
  • A 500 Million Word POS-Tagged Icelandic Corpus
    A 500 Million Word POS-Tagged Icelandic Corpus Thomas Eckart1, Erla Hallsteinsdóttir², Sigrún Helgadóttir³, Uwe Quasthoff1, Dirk Goldhahn1 1Natural Language Processing Group, University of Leipzig, Germany ² Department of Language and Communication, University of Southern Denmark, Odense, Denmark ³ The Árni Magnússon Institute for Icelandic Studies, Reykjavík, Iceland Email: {teckart, quasthoff, dgoldhahn}@informatik.uni-leipzig.de, [email protected], [email protected] Abstract The new POS-tagged Icelandic corpus of the Leipzig Corpora Collection is an extensive resource for the analysis of the Icelandic language. As it contains a large share of all Web documents hosted under the .is top-level domain, it is especially valuable for investigations on modern Icelandic and non-standard language varieties. The corpus is accessible via a dedicated web portal and large shares are available for download. Focus of this paper will be the description of the tagging process and evaluation of statistical properties like word form frequencies and part of speech tag distributions. The latter will be in particular compared with values from the Icelandic Frequency Dictionary (IFD) Corpus. Keywords: Corpus Creation, Part-of-Speech Tagging, Grammar and Syntax 1. History of the Icelandic Corpus Larger Icelandic corpora have been part of the Leipzig Corpora Collection (LCC) since 2005. The aim of the project is to generate large monolingual corpora based on various material of different genre, where the biggest resources are Web texts provided by the National and University Library of Iceland from autumn 2005 and autumn 2010 (approx. 33 million sentences). Moreover, additional newspaper texts (2 million sentences) and the complete Icelandic Wikipedia is included.
    [Show full text]