End-To-End Text Recognition with Hybrid HMM-Maxout Models

Total Page:16

File Type:pdf, Size:1020Kb

End-To-End Text Recognition with Hybrid HMM-Maxout Models END-TO-END TEXT RECOGNITION WITH DEEP LEARNING ARCHITECTURES Ouais Alsharif Master of Science School of Computer Science McGill University, Montreal October 23, 2014 A thesis submitted to McGill University in partial fulfilment of the requirements of the degree of Master of Science. © Ouais Alsharif; October 23, 2014. i This page was unintentionally left blank. i Acknowledgements Foremost, I am grateful to my advisor, Joelle Pineau. Joelle balanced guiding me on the one hand and giving me the freedom to pursue my own ideas and the means to do so on the other. Her guidance and support were very helpful throughout my masters. Our weekly meetings were the highlights of my week. I consider my self lucky being one of her students. I am also grateful to Doina Precup, who recommended me to Joelle in the first place and invited me to join the Reasoning and Learning lab’s meet- ings. Doina’s support was of immense help as I transitioned into McGill and now that I am at the crossroads of several paths. My McGill experience wouldn’t have been complete had it not been for Luc Devroye. Luc’s classes are the best thing one could do at 8:30 in the morning. His teaching style, passion and knowledge are unparalleled. I hope one day to become a researcher of his calibre. Graduate school is nothing without friends. In a randomly gener- ated order: Mahdi Milani Fard, Pierre-luc Bacon, Gheorghe Comanici, Neil Girdhar, Phillip Bachman, William Hamilton, Clement Gehring, Mike Ounsworth, Jimmy Li, David Cortes, Javona Whitebear, Jinxu Jia, Angus Leigh, Andrew Sutcliffe and Martin Gerdzhev. This would not have been the same without you. I am most grateful to my family: Obada, Ubai, Mom, Dad. There are no words to describe how your love and unconditional support affected my life. Thank you all. ii Abstract Accurate text recognition in documents was one of the milestones of machine learning and computer vision techniques. However, despite this early success, general text recognition still remains an unsolved problem. Since textual information is an artificial signal, designed to be simple to draw, it can be easily confused with other simple signals that naturally exist. Moreover, unlike in document text recognition, assumptions on the way text exists should be kept to a minimum in the general setting, creating the need for more robust detectors and recognizers. From a practical point of view, engineering an end-to-end system is an elaborate effort. It involves designing multiple modules from text detection to character recognition and integrating these models in a way that allows for scalability, modularity and high accuracy. That is why most of the previous works focused only on parts of the pipeline instead of the whole end-to-end system. Moreover, the most accurate previous works traded off accuracy with scalability, making them infeasible to use in real-world settings. This thesis attempts to address this issue, by showing how such an end-to-end system can be constructed with the high-level goals of balanc- ing simplicity, accuracy and scalability. Drawing on connections to speech and handwriting recognition. Specifically, this thesis shows how the end- to-end problem can be dissected into three main sub-problems: character recognition, word recognition and text detection. Then, novel solutions to each problem are proposed, and a method for integrating the three mod- ules together is shown. Technically, the system leverages a recent variant of convolutional neural networks that uses dropout and a max activation function. It also makes use of hybrid HMM models, that were shown to be useful in speech recognition problems. Empirically, the system’s perfor- mance is measured in comparison to previous systems in terms of accuracy and scalability. Results show the proposed system outperforms previous state-of-the-art systems on benchmark datasets on all sub-problems. It also addresses scalability issues in lexicon size that previously proposed systems suffer from. iii R´esum´e La reconnaissance pr´ecise de texte dans les documents a ´et´eune pierre angulaire en apprentissage machine et vision artificielle. Toutefois, malgr´e ces premieres succ`es,le probl`emeg´en´eralde reconnaissance de texte de- meure un probl`emenon r´esolu.Puisque l’information textuelle est un signal artificiel con¸cuafin d’ˆetrefacile `adessiner, il peut ˆetrefacilement confondu avec d’autres signaux du mˆemegenre existants d´ej`adans l’environnement. De plus, `ala diff´erencede la reconnaissance de texte dans un document, les suppositions ayant trait `ala mani`eredont le texte doit apparaˆıtredoivent demeurer minimales dans ce sc´enarioplus g´en´eral.Il faut ainsi d´evelopper des d´etecteurset reconnaisseurs plus robustes. D’un point de vue pratique, l’´elaboration de syst`emede reconnaissance “du d´ebut`ala fin” demande un effort consid´erable. Il faut non seule- ment concevoir de multiples modules de d´etectionde texte et de recon- naissance des caract`eresmais aussi les int´egrer d’une mani`ere `apermettre l’extensibilit´e,la modularit´eet la pr´ecision. C’est pour cette raison que les efforts pr´ec´edents ont ´et´ed´edi´esseulement aux parties constituantes de cette chaˆıneplutˆotqu’au syst`emecomplet du d´ebut`ala fin. De plus, ces approches ayant n´eglig´el’extensibilit´eau profit de la pr´ecisionne peuvent ˆetreutilis´eesdans le monde r´eel. Cette th`esetente de r´esoudreces probl`emeet montre comment un syst`eme“du d´ebut`ala fin” peut ˆetrecon¸cutout en r´epondant `al’id´eal de simplicit´esans toutefois compromettre la pr´ecisionet l’extensibilit´e. Dans un mˆemetemps, cette th`esetente d’´etablirdes liens avec la re- connaissance de voix et d’´ecriture. Plus pr´ecis´ement, cette th`esemontre comment le probl`emedu “d´ebut`ala fin” peut ˆetred´ecompos´een trois sous-probl`emesprincipaux: reconnaissance de caract`eres,reconnaissance de mots et reconnaissance de texte. Des solutions novatrices pour chacun de ces probl`emessont ind´ependamment pr´esent´eeset son ensuite combin´ees en un seul syst`eme.Techniquement parlant, le syst`emeexploite une r´ecente variation des r´eseauxneuronaux convolutionnels utilisant la technique de “dropout” et celle d’une fonction d’activation de type “max”. Un mod`elehy- bride HMM s’´etant av´er´eutile en reconnaissance vocal est aussi utilis´epour notre probl`eme.D’un point de vue empirique, la performance du syst`eme est ´evalu´eeen comparaison avec les syst`emespr´ec´edents d’apr`esles crit`eres de pr´ecisionet d’extensibilit´e. Les r´esultatsd´emontrent que le syst`eme propos´es’av`eresup´erieuraux autre syst`emesde fine pointe lorsqu’il est ´evalu´esur tous les sous-probl`emesdes ensembles de donn´ees.Le probl`eme d’extensibilit´eest finalement r´esolupour les lexiques dont la taille limitait les syst`emespr´ec´edents. Contents Contents iv List of Figures vi List of Tables vi 1 Introduction1 1.1 Prologue................................ 1 1.2 Problem Definition.......................... 3 1.3 Contributions............................. 3 1.4 Methodology ............................. 4 1.5 Organization ............................. 5 2 Technical Background6 2.1 Supervised Machine Learning .................... 6 2.2 Neural Networks ........................... 7 2.2.1 Training neural networks................... 10 2.2.2 Pros and Cons of Neural Networks ............. 11 2.3 Convolutional Neural Networks ................... 13 2.4 Dropout................................ 15 2.5 Maxout Networks........................... 16 2.6 Hidden Markov Models........................ 17 2.7 Hybrid HMM models......................... 19 2.8 Maximally Stable Extremal Regions (MSERs)........... 20 3 Character Recognition 23 3.1 Problem Definition.......................... 23 3.2 Related Works............................. 23 3.3 Dataset ................................ 26 3.4 Method ................................ 26 3.5 Results................................. 28 3.6 Discussion............................... 29 4 Word Recognition 30 4.1 Problem Definition.......................... 30 4.2 Related Works............................. 31 4.3 Method Outline............................ 32 iv CONTENTS v 4.4 Hybrid HMM Maxout Model..................... 33 4.5 Constructing the Cascade ...................... 35 4.6 Word Inference ............................ 35 4.7 Implementation details........................ 38 4.8 Dataset and Results ......................... 39 4.9 Speed-accuracy tradeoffs and language models’ effect . 41 4.9.1 Effect of Beam Width .................... 41 4.9.2 Effect of Language Model Order............... 41 4.10 Discussion............................... 42 5 Text Detection and End-to-End system 44 5.1 Problem Definition.......................... 44 5.2 Related Works............................. 44 5.2.1 Text Detection ........................ 45 5.2.2 End-to-End Pipelines..................... 45 5.3 Method ................................ 46 5.4 End-to-End Results.......................... 48 5.5 On Training an End-to-end System via Gradient Descent . 50 6 Discussion 52 6.1 Contributions............................. 52 6.2 Limitations .............................. 53 6.3 Future Work.............................. 53 Bibliography 55 List of Figures 1.1 End-to-end pipeline overview ...................... 5 2.1 A multi-layer perceptron......................... 8 2.2 The behaviour of popular neural activation functions......... 9 2.3 Effect of convolution in convolutional networks............. 14 2.4 Effect of pooling in convolutional networks............... 15 3.1 Character
Recommended publications
  • Sentence Boundary Detection for Handwritten Text Recognition Matthias Zimmermann
    Sentence Boundary Detection for Handwritten Text Recognition Matthias Zimmermann To cite this version: Matthias Zimmermann. Sentence Boundary Detection for Handwritten Text Recognition. Tenth International Workshop on Frontiers in Handwriting Recognition, Université de Rennes 1, Oct 2006, La Baule (France). inria-00103835 HAL Id: inria-00103835 https://hal.inria.fr/inria-00103835 Submitted on 5 Oct 2006 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. Sentence Boundary Detection for Handwritten Text Recognition Matthias Zimmermann International Computer Science Institute Berkeley, CA 94704, USA [email protected] Abstract 1) The summonses say they are ” likely to persevere in such In the larger context of handwritten text recognition sys- unlawful conduct . ” <s> They ... tems many natural language processing techniques can 2) ” It comes at a bad time , ” said Ormston . <s> ”A singularly bad time ... potentially be applied to the output of such systems. How- ever, these techniques often assume that the input is seg- mented into meaningful units, such as sentences. This pa- Figure 1. Typical ambiguity for the position of a sen- per investigates the use of hidden-event language mod- tence boundary token <s> in the context of a period els and a maximum entropy based method for sentence followed by quotes.
    [Show full text]
  • Multiple Segmentations of Thai Sentences for Neural Machine Translation
    Proceedings of the 1st Joint SLTU and CCURL Workshop (SLTU-CCURL 2020), pages 240–244 Language Resources and Evaluation Conference (LREC 2020), Marseille, 11–16 May 2020 c European Language Resources Association (ELRA), licensed under CC-BY-NC Multiple Segmentations of Thai Sentences for Neural Machine Translation Alberto Poncelas1, Wichaya Pidchamook2, Chao-Hong Liu3, James Hadley4, Andy Way1 1ADAPT Centre, School of Computing, Dublin City University, Ireland 2SALIS, Dublin City University, Ireland 3Iconic Translation Machines 4Trinity Centre for Literary and Cultural Translation, Trinity College Dublin, Ireland {alberto.poncelas, andy.way}@adaptcentre.ie [email protected], [email protected], [email protected] Abstract Thai is a low-resource language, so it is often the case that data is not available in sufficient quantities to train an Neural Machine Translation (NMT) model which perform to a high level of quality. In addition, the Thai script does not use white spaces to delimit the boundaries between words, which adds more complexity when building sequence to sequence models. In this work, we explore how to augment a set of English–Thai parallel data by replicating sentence-pairs with different word segmentation methods on Thai, as training data for NMT model training. Using different merge operations of Byte Pair Encoding, different segmentations of Thai sentences can be obtained. The experiments show that combining these datasets, performance is improved for NMT models trained with a dataset that has been split using a supervised splitting tool. Keywords: Machine Translation, Word Segmentation, Thai Language In Machine Translation (MT), low-resource languages are 1. Combination of Segmented Texts especially challenging as the amount of parallel data avail- As the encoder-decoder framework deals with a sequence able to train models may not be enough to achieve high of tokens, a way to address the Thai language is to split the translation quality.
    [Show full text]
  • A Clustering-Based Algorithm for Automatic Document Separation
    A Clustering-Based Algorithm for Automatic Document Separation Kevyn Collins-Thompson Radoslav Nickolov School of Computer Science Microsoft Corporation Carnegie Mellon University 1 Microsoft Way 5000 Forbes Avenue Redmond, WA USA Pittsburgh, PA USA [email protected] [email protected] ABSTRACT For text, audio, video, and still images, a number of projects have addressed the problem of estimating inter-object similarity and the related problem of finding transition, or ‘segmentation’ points in a stream of objects of the same media type. There has been relatively little work in this area for document images, which are typically text-intensive and contain a mixture of layout, text-based, and image features. Beyond simple partitioning, the problem of clustering related page images is also important, especially for information retrieval problems such as document image searching and browsing. Motivated by this, we describe a model for estimating inter-page similarity in ordered collections of document images, based on a combination of text and layout features. The features are used as input to a discriminative classifier, whose output is used in a constrained clustering criterion. We do a task-based evaluation of our method by applying it the problem of automatic document separation during batch scanning. Using layout and page numbering features, our algorithm achieved a separation accuracy of 95.6% on the test collection. Keywords Document Separation, Image Similarity, Image Classification, Optical Character Recognition contiguous set of pages, but be scattered into several 1. INTRODUCTION disconnected, ordered subsets that we would like to recombine. Such scenarios are not uncommon when The problem of accurately determining similarity between scanning large volumes of paper: for example, one pages or documents arises in a number of settings when document may be accidentally inserted in the middle of building systems for managing document image another in the queue.
    [Show full text]
  • An Incremental Text Segmentation by Clustering Cohesion
    An Incremental Text Segmentation by Clustering Cohesion Raúl Abella Pérez and José Eladio Medina Pagola Advanced Technologies Application Centre (CENATAV), 7a #21812 e/ 218 y 222, Rpto. Siboney, Playa, C.P. 12200, Ciudad de la Habana, Cuba {rabella, jmedina} @cenatav.co.cu Abstract. This paper describes a new method, called IClustSeg, for linear text segmentation by topic using an incremental overlapped clustering algorithm. Incremental algorithms are able to process new objects as they are added to the collection and, according to the changes, to update the results using previous information. In our approach, we maintain a structure to get an incremental overlapped clustering. The results of the clustering algorithm, when processing a stream, are used any time text segmentation is required, using the clustering cohesion as the criteria for segmenting by topic. We compare our proposal against the best known methods, outperforming significantly these algorithms. 1 Introduction Topic segmentation intends to identify the boundaries in a document with goal of capturing the latent topical structure. The automatic detection of appropriate subtopic boundaries in a document is a very useful task in text processing. For example, in information retrieval and in passages retrieval, to return documents, segments or passages closer to the user’s queries. Another application of topic segmentation is in summarization, where it can be used to select segments of texts containing the main ideas for the summary requested [6]. Many text segmentation methods by topics have been proposed recently. Usually, they obtain linear segmentations, where the output is a document divided into sequences of adjacent segments [7], [9].
    [Show full text]
  • A Text Denormalization Algorithm Producing Training Data for Text Segmentation
    A Text Denormalization Algorithm Producing Training Data for Text Segmentation Kilian Evang Valerio Basile University of Groningen University of Groningen [email protected] [email protected] Johan Bos University of Groningen [email protected] As a first step of processing, text often has to be split into sentences and tokens. We call this process segmentation. It is often desirable to replace rule-based segmentation tools with statistical ones that can learn from examples provided by human annotators who fix the machine's mistakes. Such a statistical segmentation system is presented in Evang et al. (2013). As training data, the system requires the original raw text as well as information about the boundaries between tokens and sentences within this raw text. Although raw as well as segmented versions of text corpora are available for many languages, this required information is often not trivial to obtain because the segmented version differs from the raw one also in other respects. For example, punctuation marks and diacritics have been normalized to canonical forms by human annotators or by rule-based segmentation and normalization tools. This is the case with e.g. the Penn Treebank, the Dutch Twente News Corpus and the Italian PAISA` corpus. This problem of missing alignment between raw and segmented text is also noted by Dridan and Oepen (2012). We present a heuristic algorithm that recovers the alignment and thereby produces standoff annotations marking token and sentence boundaries in the raw test. The algorithm is based on the Levenshtein algorithm and is general in that it does not assume any language-specific normalization conventions.
    [Show full text]
  • Topic Segmentation: Algorithms and Applications
    University of Pennsylvania ScholarlyCommons IRCS Technical Reports Series Institute for Research in Cognitive Science 8-1-1998 Topic Segmentation: Algorithms And Applications Jeffrey C. Reynar University of Pennsylvania Follow this and additional works at: https://repository.upenn.edu/ircs_reports Part of the Databases and Information Systems Commons Reynar, Jeffrey C., "Topic Segmentation: Algorithms And Applications" (1998). IRCS Technical Reports Series. 66. https://repository.upenn.edu/ircs_reports/66 University of Pennsylvania Institute for Research in Cognitive Science Technical Report No. IRCS-98-21. This paper is posted at ScholarlyCommons. https://repository.upenn.edu/ircs_reports/66 For more information, please contact [email protected]. Topic Segmentation: Algorithms And Applications Abstract Most documents are aboutmore than one subject, but the majority of natural language processing algorithms and information retrieval techniques implicitly assume that every document has just one topic. The work described herein is about clues which mark shifts to new topics, algorithms for identifying topic boundaries and the uses of such boundaries once identified. A number of topic shift indicators have been proposed in the literature. We review these features, suggest several new ones and test most of them in implemented topic segmentation algorithms. Hints about topic boundaries include repetitions of character sequences, patterns of word and word n-gram repetition, word frequency, the presence of cue words and phrases and the use of synonyms. The algorithms we present use cues singly or in combination to identify topic shifts in several kinds of documents. One algorithm tracks compression performance, which is an indicator of topic shift because self-similarity within topic segments should be greater than between-segment similarity.
    [Show full text]
  • A Generic Neural Text Segmentation Model with Pointer Network
    Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence (IJCAI-18) SEGBOT: A Generic Neural Text Segmentation Model with Pointer Network Jing Li, Aixin Sun and Shafiq Joty School of Computer Science and Engineering, Nanyang Technological University, Singapore [email protected], {axsun,srjoty}@ntu.edu.sg Abstract [A person]EDU [who never made a mistake]EDU [never tried any- thing new]EDU Text segmentation is a fundamental task in natu- ral language processing that comes in two levels of Figure 1: A sentence with three elementary discourse units (EDUs). granularity: (i) segmenting a document into a se- and Thompson, 1988]. quence of topical segments (topic segmentation), Both topic and EDU segmentation tasks have received a and (ii) segmenting a sentence into a sequence of lot of attention in the past due to their utility in many NLP elementary discourse units (EDU segmentation). tasks. Although related, these two tasks have been addressed Traditional solutions to the two tasks heavily rely separately with different sets of approaches. Both supervised on carefully designed features. The recently propo- and unsupervised methods have been proposed for topic seg- sed neural models do not need manual feature en- mentation. Unsupervised topic segmentation models exploit gineering, but they either suffer from sparse boun- the strong correlation between topic and lexical usage, and dary tags or they cannot well handle the issue of can be broadly categorized into two classes: similarity-based variable size output vocabulary. We propose a ge- models and probabilistic generative models. The similarity- neric end-to-end segmentation model called SEG- based models are based on the key intuition that sentences BOT.SEGBOT uses a bidirectional recurrent neural in a segment are more similar to each other than to senten- network to encode input text sequence.
    [Show full text]
  • Text Segmentation Techniques: a Critical Review
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Sunway Institutional Repository Text Segmentation Techniques: A Critical Review Irina Pak and Phoey Lee Teh Department of Computing and Information Systems, Sunway University, Bandar Sunway, Malaysia [email protected], [email protected] Abstract Text segmentation is widely used for processing text. It is a method of splitting a document into smaller parts, which is usually called segments. Each segment has its relevant meaning. Those segments categorized as word, sentence, topic, phrase or any information unit depending on the task of the text analysis. This study presents various reasons of usage of text segmentation for different analyzing approaches. We categorized the types of documents and languages used. The main contribution of this study includes a summarization of 50 research papers and an illustration of past decade (January 2007- January 2017)’s of research that applied text segmentation as their main approach for analysing text. Results revealed the popularity of using text segmentation in different languages. Besides that, the “word” seems to be the most practical and usable segment, as it is the smaller unit than the phrase, sentence or line. 1 Introduction Text segmentation is process of extracting coherent blocks of text [1]. The segment referred as “segment boundary” [2] or passage [3]. Another two studies referred segment as subtopic [4] and region of interest [5]. There are many reasons why the splitting document can be useful for text analysis. One of the main reasons is because they are smaller and more coherent than whole documents [3].
    [Show full text]
  • Text Segmentation Based on Semantic Word Embeddings
    Text Segmentation based on Semantic Word Embeddings Alexander A Alemi Paul Ginsparg Dept of Physics Depts of Physics and Information Science Cornell University Cornell University [email protected] [email protected] ABSTRACT early algorithm in this class was Choi's C99 algorithm [3] We explore the use of semantic word embeddings [14, 16, in 2000, which also introduced a benchmark segmentation 12] in text segmentation algorithms, including the C99 seg- dataset used by subsequent work. Instead of looking only at nearest neighbor coherence, the C99 algorithm computes mentation algorithm [3, 4] and new algorithms inspired by 1 the distributed word vector representation. By developing a coherence score between all pairs of elements of text, a general framework for discussing a class of segmentation and searches for a text segmentation that optimizes an ob- objectives, we study the effectiveness of greedy versus ex- jective based on that scoring by greedily making a succes- act optimization approaches and suggest a new iterative re- sion of best cuts. Later work by Choi and collaborators finement technique for improving the performance of greedy [4] used distributed representations of words rather than a strategies. We compare our results to known benchmarks bag of words approach, with the representations generated [18, 15, 3, 4], using known metrics [2, 17]. We demonstrate by LSA [8]. In 2001, Utiyama and Ishahara introduced a state-of-the-art performance for an untrained method with statistical model for segmentation and optimized a poste- our Content Vector Segmentation (CVS) on the Choi test rior for the segment boundaries. Moving beyond the greedy set.
    [Show full text]
  • Steps Involved in Text Recognition and Recent Research in OCR; a Study
    International Journal of Recent Technology and Engineering (IJRTE) ISSN: 2277-3878, Volume-8, Issue-1, May 2019 Steps Involved in Text Recognition and Recent Research in OCR; A Study K.Karthick, K.B.Ravindrakumar, R.Francis, S.Ilankannan Abstract: The Optical Character Recognition (OCR) is one of Preprocessing the automatic identification techniques that fulfill the automation Feature Extraction needs in various applications. A machine can read the Recognition information present in natural scenes or other materials in any Post processing form with OCR. The typed and printed character recognition is uncomplicated due to its well-defined size and shape. The In addition to the above steps segmentation and handwriting of individuals differs in the above aspects. So, the morphological processing also involved in the recognition handwritten OCR system faces complexity to learn this difference process. These steps may be added before the feature to recognize a character. In this paper, we discussed the various extraction process. stages in text recognition, handwritten OCR systems classification according to the text type, study on Chinese and II. PREPROCESSING Arabic text recognition as well as application oriented recent research in OCR. The preprocessing is a fundamental stage that is proceeding Index Terms: Edge detection, Optical Character Recognition, OCR, Preprocessing stages, Text Recognition to the stage of feature extraction; it regulates the appropriateness of the outcomes for the consecutive stages. I. INTRODUCTION The OCR success rate is contingent on the success percentage of each stage. The technologyadventfoundan amazing and noble development curve for the last two centuries. For the last A. Factors Affecting the Text Recognition Quality few decades, it is easy in using mouse and keyboard to assist as interfacing device between us and computer.
    [Show full text]
  • Word Sense Disambiguation and Text Segmentation Based on Lexical
    Word Sense i)ismnl}iguati<)n and Text Set mentation Bas(q on I,c×ical (+ohcslOll ()KUMUI{A Manabu, IIONI)A Takeo School of [nforma,tion Science, Japan Advanced Institute of Science a.nd Technology ('l'al.sunokuchi, lshikawa 923-12 Japan) c-nmil: { oku,honda}¢~jaist.ac.ji~ Abstract cohesion is far easier to idenlAfy than reference be- cause 1)oth words in lexical cohesion relation ap- In this paper, we describe ihow word sense am= pear in a text while one word in reference relation biguity can be resolw'.d with the aid of lexical eo- is a pr<mom, or elided and has less information to hesion. By checking ]exical coheshm between the infer the other word in the relation automatically. current word and lexical chains in the order of Based on this observation, we use lexical cohe- the salience, in tandem with getmration of lexica] sion as a linguistic device for discourse analysis. chains~ we realize incretnental word sense disam We call a sequence of words which are in lexieal biguation based on contextual infl)rmation that cohesion relation with each other a Icxical chain lexical chains,reveah Next;, we <le~<:ribe how set like [10]. l,exical chains tend to indicate portions men< boundaries of a text can be determined with of a text; that form a semantic uttit. And so vari.- the aid of lexical cohesion. Wc can measure the ous lexical chains tend to appear in a text corre. plausibility of each point in the text as a segment spou(ling to the change of the topic.
    [Show full text]
  • Multiple Segmentations of Thai Sentences for Neural Machine
    Multiple Segmentations of Thai Sentences for Neural Machine Translation Alberto Poncelas1, Wichaya Pidchamook2, Chao-Hong Liu3, James Hadley4, Andy Way1 1ADAPT Centre, School of Computing, Dublin City University, Ireland 2SALIS, Dublin City University, Ireland 3Iconic Translation Machines 4Trinity Centre for Literary and Cultural Translation, Trinity College Dublin, Ireland {alberto.poncelas, andy.way}@adaptcentre.ie [email protected], [email protected], [email protected] Abstract Thai is a low-resource language, so it is often the case that data is not available in sufficient quantities to train an Neural Machine Translation (NMT) model which perform to a high level of quality. In addition, the Thai script does not use white spaces to delimit the boundaries between words, which adds more complexity when building sequence to sequence models. In this work, we explore how to augment a set of English–Thai parallel data by replicating sentence-pairs with different word segmentation methods on Thai, as training data for NMT model training. Using different merge operations of Byte Pair Encoding, different segmentations of Thai sentences can be obtained. The experiments show that combining these datasets, performance is improved for NMT models trained with a dataset that has been split using a supervised splitting tool. Keywords: Machine Translation, Word Segmentation, Thai Language In Machine Translation (MT), low-resource languages are sentence into words (or tokens). We investigate three split- especially challenging as the amount of parallel data avail- ting strategies: (i) Character-based, using each character as able to train models may not be enough to achieve high token. This is the simplest approach as there is no need to translation quality.
    [Show full text]