RESOLVING PART-OF-SPEECH AMBIGUITY IN THE GREEK LANGUAGE USING LEARNING TECHNIQUES

Similar documents
Target Language Preposition Selection an Experiment with Transformation-Based Learning and Aligned Bilingual Data

2/15/13. POS Tagging Problem. Part-of-Speech Tagging. Example English Part-of-Speech Tagsets. More Details of the Problem. Typical Problem Cases

Heuristic Sample Selection to Minimize Reference Standard Training Set for a Part-Of-Speech Tagger

Enhancing Unlexicalized Parsing Performance using a Wide Coverage Lexicon, Fuzzy Tag-set Mapping, and EM-HMM-based Lexical Probabilities

Lecture 1: Machine Learning Basics

have to be modeled) or isolated words. Output of the system is a grapheme-tophoneme conversion system which takes as its input the spelling of words,

BYLINE [Heng Ji, Computer Science Department, New York University,

arxiv:cmp-lg/ v1 7 Jun 1997 Abstract

A Case Study: News Classification Based on Term Frequency

Linking Task: Identifying authors and book titles in verbose queries

Memory-based grammatical error correction

Chinese Language Parsing with Maximum-Entropy-Inspired Parser

Learning Computational Grammars

Applications of memory-based natural language processing

THE ROLE OF DECISION TREES IN NATURAL LANGUAGE PROCESSING

Parsing of part-of-speech tagged Assamese Texts

The stages of event extraction

Intra-talker Variation: Audience Design Factors Affecting Lexical Selections

Training and evaluation of POS taggers on the French MULTITAG corpus

SINGLE DOCUMENT AUTOMATIC TEXT SUMMARIZATION USING TERM FREQUENCY-INVERSE DOCUMENT FREQUENCY (TF-IDF)

An Evaluation of POS Taggers for the CHILDES Corpus

Exploiting Phrasal Lexica and Additional Morpho-syntactic Language Resources for Statistical Machine Translation with Scarce Training Data

Using dialogue context to improve parsing performance in dialogue systems

A Minimalist Approach to Code-Switching. In the field of linguistics, the topic of bilingualism is a broad one. There are many

Web as Corpus. Corpus Linguistics. Web as Corpus 1 / 1. Corpus Linguistics. Web as Corpus. web.pl 3 / 1. Sketch Engine. Corpus Linguistics

ESSLLI 2010: Resource-light Morpho-syntactic Analysis of Highly

Methods for the Qualitative Evaluation of Lexical Association Measures

DEVELOPMENT OF A MULTILINGUAL PARALLEL CORPUS AND A PART-OF-SPEECH TAGGER FOR AFRIKAANS

Cross Language Information Retrieval

Improving Accuracy in Word Class Tagging through the Combination of Machine Learning Systems

The Internet as a Normative Corpus: Grammar Checking with a Search Engine

Improved Effects of Word-Retrieval Treatments Subsequent to Addition of the Orthographic Form

Modeling Attachment Decisions with a Probabilistic Parser: The Case of Head Final Structures

Indian Institute of Technology, Kanpur

Ensemble Technique Utilization for Indonesian Dependency Parser

Language Acquisition Fall 2010/Winter Lexical Categories. Afra Alishahi, Heiner Drenhaus

Specification and Evaluation of Machine Translation Toy Systems - Criteria for laboratory assignments

ScienceDirect. Malayalam question answering system

Chunk Parsing for Base Noun Phrases using Regular Expressions. Let s first let the variable s0 be the sentence tree of the first sentence.

Twitter Sentiment Classification on Sanders Data using Hybrid Approach

Accurate Unlexicalized Parsing for Modern Hebrew

The Karlsruhe Institute of Technology Translation Systems for the WMT 2011

Semi-supervised Training for the Averaged Perceptron POS Tagger

Proceedings of the 19th COLING, , 2002.

A Bayesian Learning Approach to Concept-Based Document Classification

Approaches to control phenomena handout Obligatory control and morphological case: Icelandic and Basque

! # %& ( ) ( + ) ( &, % &. / 0!!1 2/.&, 3 ( & 2/ &,

Semi-supervised methods of text processing, and an application to medical concept extraction. Yacine Jernite Text-as-Data series September 17.

Distant Supervised Relation Extraction with Wikipedia and Freebase

Switchboard Language Model Improvement with Conversational Data from Gigaword

Predicting Student Attrition in MOOCs using Sentiment Analysis and Neural Networks

Named Entity Recognition: A Survey for the Indian Languages

Stefan Engelberg (IDS Mannheim), Workshop Corpora in Lexical Research, Bucharest, Nov [Folie 1] 6.1 Type-token ratio

Linguistic Variation across Sports Category of Press Reportage from British Newspapers: a Diachronic Multidimensional Analysis

EdIt: A Broad-Coverage Grammar Checker Using Pattern Grammar

Universiteit Leiden ICT in Business

A Comparison of Two Text Representations for Sentiment Analysis

Probabilistic Latent Semantic Analysis

A Graph Based Authorship Identification Approach

The Smart/Empire TIPSTER IR System

Speech Recognition at ICSI: Broadcast News and beyond

Beyond the Pipeline: Discrete Optimization in NLP

Review in ICAME Journal, Volume 38, 2014, DOI: /icame

Product Feature-based Ratings foropinionsummarization of E-Commerce Feedback Comments

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

P. Belsis, C. Sgouropoulou, K. Sfikas, G. Pantziou, C. Skourlas, J. Varnas

The taming of the data:

Cross-Lingual Dependency Parsing with Universal Dependencies and Predicted PoS Labels

Vocabulary Usage and Intelligibility in Learner Language

University of Alberta. Large-Scale Semi-Supervised Learning for Natural Language Processing. Shane Bergsma

Using Semantic Relations to Refine Coreference Decisions

Yoshida Honmachi, Sakyo-ku, Kyoto, Japan 1 Although the label set contains verb phrases, they

MULTILINGUAL INFORMATION ACCESS IN DIGITAL LIBRARY

Context Free Grammars. Many slides from Michael Collins

Disambiguation of Thai Personal Name from Online News Articles

Bootstrapping and Evaluating Named Entity Recognition in the Biomedical Domain

knarrator: A Model For Authors To Simplify Authoring Process Using Natural Language Processing To Portuguese

Multi-Lingual Text Leveling

Interactive Corpus Annotation of Anaphor Using NLP Algorithms

CS Machine Learning

Multilingual Sentiment and Subjectivity Analysis

OCR for Arabic using SIFT Descriptors With Online Failure Prediction

11/29/2010. Statistical Parsing. Statistical Parsing. Simple PCFG for ATIS English. Syntactic Disambiguation

LANGUAGE IN INDIA Strength for Today and Bright Hope for Tomorrow Volume 11 : 12 December 2011 ISSN

Advanced Grammar in Use

On document relevance and lexical cohesion between query terms

POS tagging of Chinese Buddhist texts using Recurrent Neural Networks

A Bootstrapping Model of Frequency and Context Effects in Word Learning

Word Sense Disambiguation

Rule Learning With Negation: Issues Regarding Effectiveness

A GENERIC SPLIT PROCESS MODEL FOR ASSET MANAGEMENT DECISION-MAKING

An Interactive Intelligent Language Tutor Over The Internet

CS 598 Natural Language Processing

ARNE - A tool for Namend Entity Recognition from Arabic Text

Netpix: A Method of Feature Selection Leading. to Accurate Sentiment-Based Classification Models

Python Machine Learning

Speech Emotion Recognition Using Support Vector Machine

Thesis-Proposal Outline/Template

Language Independent Passage Retrieval for Question Answering

The IDN Variant Issues Project: A Study of Issues Related to the Delegation of IDN Variant TLDs. 20 April 2011

Transcription:

RESOLVING PART-OF-SPEECH AMBIGUITY IN THE GREEK LANGUAGE USING LEARNING TECHNIQUES Georgios Petasis, Georgios Paliouras, Vangelis Karkaletsis, Constantine D. Spyropoulos and Ion Androutsopoulos Software and Knowledge Engineering Laboratory Institute of Informatics and Telecommunications, N.C.S.R. Demokritos, Tel: +301-6503197, Fax: +301-6532175 E-mail: {petasis, paliourg, vangelis, costass, ionandr}@iit.demokritos.gr ABSTRACT This article investigates the use of Transformation-Based Error-Driven learning for resolving part-of-speech ambiguity in the Greek language. The aim is not only to study the performance, but also to examine its dependence on different thematic domains. Results are presented here for two different test cases: a corpus on management succession events and a general-theme corpus. The two experiments show that the performance of this method does not depend on the thematic domain of the corpus, and its accuracy for the Greek language is around 95%. INTRODUCTION The aim of the work presented in this paper is to study the performance of Transformation-Based Error Driven (TBED) learning for resolving Part-of-speech (POS) ambiguity in the Greek language, as well as to examine its dependence on the thematic domain. Part-of-speech taggers are classifiers that aim to assign unambiguous tags to words in electronic documents, according to the part of speech in which they belong, i.e., verbs, nouns, adjectives etc. Part-of-speech tagging is a practical application with many uses, such as in information extraction, machine translation and speech recognition. As a result, a large number of different approaches have been applied to POS tagging, such as Markov models (Weischedel, 1993), decision trees (Black, 1992), (Cardie, 1994), (Daelemans, 1996), (Orphanos and Christodoulakis, 1999) connectionist machines (Schmid, 1994), nearest-neighborhood algorithms (Daelemans, 1996), TBED (Brill, 1995) and maximum-entropy techniques (Ratnaparkhi, 1996). All these methods seem to achieve roughly comparable accuracy in the context of English language. This accuracy is usually in the range of 94-98%. For our experiments we used a publicly available 1 POS tagger implementation from the author of the TBED learning technique: the Brill tagger (Brill, 1995). We have chosen to use the TBED learning technique and the Brill tagger mainly for its practical performance: Brill tagger has shown good results for English and there is evidence that rule-based taggers can achieve better results than stochastic ones in the English language (Samuelsson and Voutilainen, 1997). Additionally, there are few successful attempts to train the Brill tagger to languages other than English, such as German (Schneider and Volk, 1998), French (Chanod and Tapanainen, 1995), Italian (Basili et al., 1996) and Estonian (Schneider, 1997). According to the TBED part-of-speech tagging technique, an initial tag is assigned to each word. This tag is the most likely (frequent) tag for the word if the word is known. Frequency information is stored in a lexicon, which has been constructed during the training phase and contains all the words in the training corpus associated with their most frequent POS tag, as was measured from the training corpus. In the case of an unknown word, a default rule is used initially for tagging. For the English language, this default initial tagging rule is the following: IF (word starts with a capital letter) THEN classify word as a singular proper noun ELSE classify word as a singular noun. 1 The Brill tagger is available from its author at http://www.cs.jhu.edu/~brill.

Once the assignment of initial POS tags has been completed for all the words in the corpus, an ordered sequence of lexical rules is applied to the corpus. Each one of these lexical rules operates only on a single word, and its preconditions consider only morphological cues. For example, a typical lexical rule has the following form: IF (word ends in ed ) THEN classify word as a verb in the past tense. After the application of lexical rules has been completed, an ordered list of contextual rules is applied to the corpus. Each of these rules can change the tag assigned to a word according to the context in which the word appears. The environment used for changing a word tag consists of the words and tags within a window of four words, including the word under examination. All of the resources needed (the lexicon, the lexical and the contextual rule set) are created during the training phase of the Brill tagger. The Brill tagger involves two training stages. In the first stage, rules are learned from the training corpus to assign POS tags. These rules operate on word types. The tag chosen for each word holds for all occurrences of the word in the corpus. The output of this phase is a lexicon, containing every word in the training corpus associated with its most frequent tag, and an ordered list of lexical transformation rules that are based on morphological information. The search space examined by the Brill tagger and as a result the form and complexity of the produced lexical rules, is defined by a lexical rule template, which describes all the possible forms of the rules that can be produced. In the second training phase, rules are learned to use contextual cues to improve tagging accuracy. An example of such a rule is the following: IF (current word tagged as a verb AND previous word tagged as a determiner) THEN tag current word as noun. These rules operate on individual word tokens. The output of this phase is also an ordered list of transformation rules, that are based on contextual information such as the current tags of the surrounding words or the surrounding words themselves, within a window of three words. A contextual rule template also describes all possible contextual rules that can be derived in this training phase. The work presented in this paper has been performed in the context of the research project GIE (Greek Information Extraction), a bilateral project between NCSR Demokritos and University of Sheffield, funded by the Greek General Secretariat of Research &Technology and the British Council. Section 2 presents some topics of interest when applying the Brill tagger in the Greek language. Sections 3 and 4 present the experimental results of the application of Brill tagger to two Greek corpora: a general-theme Greek corpus and a Greek corpus on management succession events. Finally, section 5 presents some conclusions about the usability of this learning method in disambiguation of POS ambiguity in the context of the Greek language. EXPERIMENTAL SETTING In order to examine the behavior of the Brill tagger in the Greek language, a new tag set had to be specified for the Greek language (Karkaletsis et al., 1998). Because the Greek language is a highly inflectional language, a compromise had to be made, regarding the features of the language that should be described by the new tagset i.e., cases for nouns, adjectives and verbs, mood for verbs, etc. We finally decided to use a rather limited tag set for the Greek language, containing only 58 tags for efficiency reasons. The original tag set that is used by the Brill tagger for the English language contains 48 tags. Due to our interest in examing the learning procedure of the Brill tagger under different thematic domains, in this experiment we used two totally different corpora, one of which is domain specific while the other is not. The first one contained news articles from the Greek newspaper Advertising Week ( ιαφηµιστική Εβδοµάδα, http://www.adweek.gr) and its domain was management succession events. The corpus contains texts on personnel leaving or joining companies for the period from 1/96 until 12/98. The corpus size was about 65,000 words. Part of this corpus (about 36.000 words) was hand-tagged in order to be used for this experiment. The second text corpus is a general-theme hand-tagged corpus, which was provided by the WCL 2 Laboratory of Patras University. The size of this corpus is about 125.000 words. A particularity of the corpus on management succession events is the existence of a large number of foreign (mainly English) words, such as organizations and person names. This characteristic has affected the choice of the default initial tagging rule for the Brill tagger. For the English language, the default initial tagging rule is typically the following: 2 Wired Communications Laboratory, Dept. of Electrical and Computer Engineering, University of Patras, Greece.

IF (word starts with capital letter) THEN classify word as a singular proper noun ELSE classify word as a singular noun. For the Greek language, this rule was changed to: IF (word starts with an English character) THEN classify word as a foreign word ELSEIF (word starts with a capital Greek letter) THEN classify word as a singular male proper noun ELSE classify word as a singular female noun. The same initial tagging rule was applied to both experiments that are presented in the rest of the paper. The performance of the tagger is always measured on unseen data. In order to derive a robust and unbiased estimate of the method s performance, we used 10-fold cross validation at each individual experiment. According to this evaluation method, the corpus is split into ten, equally sized sub-corpora and the final result is the average over ten runs. In each run, nine of the ten sub-corpora are used to train the tagger and the tenth is held out for the evaluation. Thus, each accuracy figure presented in the following sections is the average over ten runs, rather than a single train-and-test result, which can often be accidentally high or low. PART-OF-SPEECH TAGGING IN THE GENERAL-THEME CORPUS In the first test case, we used part of the general-theme corpus, provided by the WCL Laboratory of Patras University. The size of the complete corpus is about 125.000 words, and is organized in a single file, where each line corresponds to a single sentence. Each word of this corpus has been tagged using an extremely rich, fullfeatured tagset for the Greek language. A new version of the original corpus was created, where each tag was mapped onto our limited tagset. Then, the sentences of the newly created corpus were shuffled using a randomizer. The reason for doing so is the structure of the corpus, which is composed of small sentence groups that belong to the same thematic domain. In this test case, we evaluated the Brill tagger using 10-fold cross validation over different corpus sizes. The results are shown in Figure 1. The error bars correspond to the standard deviation of the average accuracy over the ten runs of the 10-fold cross validation. As expected, tagging accuracy increases as the corpus size increases. Accuracy seems to stabilize around 95%, which is lower than the highest reported accuracy for English. This is mainly due to the tagging difficulties for the Greek language, such as morphological complexity. The Brill tagger seems to perform well when the corpus size used for training is greater than 18.000 words. 100.0 Accuracy (%) 95.0 90.0 85.0 80.0 Figure 1: Brill tagger accuracy versus corpus size (general theme corpus). Another point of interest, is the examination of the number of learned rules. Usually, high performance of a learning task when combined with a small rule set size indicates robustness of the learning task. Large numbers

of learned rules often indicate problems in the learning task that the algorithm tries to overcome through overfitting of the training data. In other words, a large number of learned rules is usually a sign that the learning algorithm tries to remember the training data, instead of discovering the underlying assumptions that govern it. As the task of training the Brill tagger involves two different learning sub-tasks (learning lexical rules and learning contextual rules), we had the opportunity to examine them separately. As was explained previously, the lexical rules correspond to the morphology and the contextual rules to the grammatical and syntactic features of the language. Thus, by examing the sizes of lexical and contextual rule sets separately, we can isolate any potential problems to the morphologic or the grammatical/syntactic properties of the language. The size of the learned rule set against corpus size is shown in Figure 2. As can be seen from Figure 2, the number of both types of rule (lexical and contextual) increases almost linearly with the corpus size. The number of the lexical rules is much larger than the number of the contextual rules. This large number of lexical rules indicates that the Brill tagger faces difficulties in coping with the morphology of the Greek language. It seems that it is easier for the Brill tagger to derive rules based on grammatical and syntactic properties (contextual rules) than rules based on morphology (lexical rules) in the context of the Greek language. One justification for this phenomenon is that the template used for deriving the lexical rules (lexical rule template) is too restricted for the Greek language. 800 Number of Rules 700 600 500 400 300 200 100 0 Contextual Rule Set Size Lexical Rule Set Size Figure 2: Number of Lexical and Contextual Rules versus corpus size (general theme corpus). The above experiments show that the accuracy of the Brill tagger for the Greek language is around 95%, when applied on a general-theme corpus. The number of the learned rules rises almost linearly with the corpus size. The number of lexical rules is always at a higher level than the corresponding level of the number of learned contextual rules. This fact indicates that the Brill tagger faces a number of difficulties regarding the morphology of the Greek language. PART-OF-SPEECH TAGGING IN MANAGEMENT SUCCESSION EVENTS CORPUS In the second test case, we applied the Brill tagger on a corpus from a restricted thematic domain. For this purpose, we used part of the corpus on management succession events, from the Advertising Week. The original size of the corpus is about 65.000 words. About 36.000 words were hand-tagged using the same tagset as in the previous test. We evaluated the Brill tagger using 10-fold cross validation over different corpus sizes. The results are shown in Figure 3. As was the case in the previous experiment, tagging accuracy increases as the corpus size increases. Accuracy also seems to stabilize around 95%, although the thematic domain was more restricted and probably the language was more controlled. As a result, the performance of the Brill tagger in the Greek language does not seem to depend on the thematic domain of the corpus.

100.0 Accuracy (%) 95.0 90.0 85.0 80.0 Figure 3: Brill tagger accuracy versus corpus size ( management succession events corpus). The size of the learned rule sets against the corpus size is shown in Figure 4. As can be seen from Figure 4, the number of both types of rule, lexical and contextual, increases almost linearly with the corpus size, as was also the case in the general-theme corpus. Additionally, as in the general-theme corpus, lexical rules are almost twice as many as contextual rules. Contextual rules are at a similar level as in the general-theme corpus but lexical rules are at lower level than lexical rules in the general-theme corpus. This reduction is to be expected, as the language in this corpus is more restricted and a large number of foreign words exist. All foreign words are assigned the same tag, classifying them as foreign words, and thus are easier to disambiguate. 800 Number of Rules 700 600 500 400 300 200 100 0 Contextual Rule Set Size Lexical Rule Set Size Figure 4: Number of Lexical and Contextual Rules versus corpus size ( management succession events corpus). The above experiments show that the accuracy of the Brill tagger for the Greek language is around 95%, with minimal dependence on the thematic domain. Our initial expectation that the accuracy of applying the Brill tagger to a corpus with a specific thematic domain would be at higher levels than the accuracy on the generaltheme corpus, was not confirmed as this increase has not been observed in our experiments. CONCLUSIONS In the work presented here we have applied a popular machine learning technique, the Transformation-Based Error-Driven learning, to the task of part-of-speech tagging in the context of the Greek language. We have trained the Brill tagger over relatively small-sized annotated Greek corpora and we have found its performance to be around 95%. An important conclusion that can be drawn from our results is that the performance of the Brill tagger does not significantly depend on the domain of the corpus, at least when applied to the Greek language. Thus, porting the tagger to different domains should require minimal effort. Our experiments have shown that the performance of the Brill tagger when applied to the Greek language begins to stabilize when the

size of the training corpus approaches to 18.000 words. Any further increase in the size of the training corpus results in a relative small increase in the tagger s performance. Thus, the recommended size of the training corpus is around (or greater than) 18.000 words. However, the performance of Brill tagger in the Greek language is slightly lower than in the English language. Our main aim for the future is to try to improve the performance of Brill tagger for the Greek language, by trying to isolate the difficulties and solve the problems that arise in the context of the Greek language. Our results provide evidence that the existing lexical rule templates, incorporated in the tagger, are not adequate in coping with the Greek language morphology. In future work we will try to adapt the lexical rule templates to the peculiarities of the Greek language, in order to increase the overall accuracy. REFERENCES (Basili et al., 1996) Basili R., Velardi P., Pazienza M., Cucchiarelli A., Luzi D., Pedani G., Luk A., Vauthey B., Ansaldi O., Wilks Y., Stevenson M., Collier R., Catizone R., Modification of Part-Of-Speech Taggers, ECRAN (LE 2110) Deliverable 1.7.3, 1996, pp. 9-13. (Black, 1992) Black E., Jelinek F., Lafferty J., Mercer R. and Roukos S., Decision Tree Models Applied to the Labeling of Text with Parts-of-Speech, Proceedings of the Darpa Workshop on Speech and Natural Language, Harriman, NY, 1992. (Brill, 1995) Brill, E., Transformation-Based Error-Driven Learning and Natural Language Processing: A Case Study in Part of Speech Tagging, Computational Linguistics, vol. 21, n. 24, 1995. (Cardie, 1994) Cardie C., Domain-Specific Knowledge Acquisition for Conceptual Sentence Analysis, Ph.D. Thesis, University of Massachusetts, Amherst, 1994. (Chanod and Tapanainen, 1995) Chanod J. and Tapanainen P., Tagging French comparing a statistical and a constraint-based method, Proceedings of EACL-95, Dublin, 1995. (Daelemans, 1996) Daelemans W., Zavrel J., Berck P. and Gillis S., MBT: A Memory-Based Part of Speech Tagger-Generator, Proceedings of the 4th Workshop on Very large Corpora, ACL SIGDAT, Copenhagen, 1996, pp.14-27. (Karkaletsis et al., 1998) Karkaletsis V., Spyropoulos C.D. and Petasis G., Named Entity Recognition from Greek Texts: the GIE Project, Advances in Intelligent Systems: Concepts, Tools and Applications, ed. S.Tzafestas, Kluwer Academic Publishers, Ch. 12, pp. 131-142. (Orphanos and Christodoulakis, 1999) Orphanos G. and Christodoulakis D., "Part-of-Speech Ambiguity Resolution and Unknown Word Guessing with Decision Trees", to appear in EACL99, 8-12 June 1999, Bergen, Norway. (Ratnaparkhi, 1996) Ratnaparkhi A., A Maximum Entropy Part-of-Speech Tagger, Proceedings of the First Empirical Methods in Natural Language Processing Conference, Philadelphia, 1996. (Samuelsson and Voutilainen, 1997) Samuelsson C. and Voutilainen A., Comparing a linguistic and a stochastic tagger, Proceedings of ACL/EACL Joint Conference, Madrid, 1997, pp. 246-253. (Schmid, 1994) Schmid H., Part of Speech Tagging With Neural Networks, Proceedings of COLING, Yokohama, Japan, 1994. (Schneider, 1997) Schneider G., Proceedings of the 2nd Swiss Estonian Workshop on Computational and Theoretical Linguistics, University of Zurich, June 23-28, 1997. (http://www.ifi.unizh.ch/cl/swissestonianworkshop/esttagproject.html). (Schneider and Volk, 1998) Schneider G. and Volk M., Adding Manual Constraints and Lexical Look-up to a Brill-Tagger for German, Proceedings of the ESSLLI-98 Workshop on Recent Advances in Corpus Annotation, Saarbrücken, 1998. (Weischedel, 1993) Weischedel R., Meteer M., Schwartz R., Ramshaw L. and Palmucci J., Coping with ambiguity and unknown words through probabilistic models, Computational Linguistics, 1993.