scieee AI-readable full text Open interactive document viewer

Contributions to Adaptation on Automatic Speech Recognition and Multilingual Handwritten Text Recognition

Del Agua Teba, Miguel Angel

Abstract

[ES En este trabajo se han estudiado métodos para adaptación en la transcripción automática de documentos manuscritos multilíngües y además se han propuesto diversas técnicas para identificación del idioma. Por otra parte, en cuanto a la adaptación en el reconocimiento del habla, se aplica una técnica conocida de adaptación al locutor (MLLR). Por último, se presenta una aplicación en el marco del proyecto transLectures, cuyo objetivo es integrar en un reproductor multimedia un sistema de transcripción automática interactivo.

Full text

UNIVERSITAT POLITÈCNICA DE VALÈNCIA MASTER IN ARTIFICIAL INTELLIGENCE, PATTERN RECOGNITION AND DIGITAL IMAGE ANALYSIS Contributions to Adaptation on Automati Sp eeh Reognition and Multilingual Handwritten Text Reognition Work presented by Miguel Ángel del Agua Teba and sup ervised by D. Niolás Serrano Martínez Santos and Dr. Alfons Juan Císar Septemb er 7, 2012 ii CONTENTS 1 Intro dution 1 2 Preliminaries 5 2.1 Intro dution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.2 Theoretial Bakground . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.2.1 Hidden Markov Mo dels (HMM) . . . . . . . . . . . . . . . . . . 6 2.2.2 Language Mo dels based on N -grams . . . . . . . . . . . . . . . 11 3 Corp ora and Baseline Exp eriments 13 3.1 Intro dution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.2 The GERMANA Database . . . . . . . . . . . . . . . . . . . . . . . . 13 3.2.1 Baseline Exp eriments . . . . . . . . . . . . . . . . . . . . . . . 15 3.3 The p oliMedia Database . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.3.1 Baseline Exp eriments . . . . . . . . . . . . . . . . . . . . . . . 17 4 Adaptation on Handwritten Text Reognition of Multilingual Do - uments 19 4.1 Intro dution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.2 GSF and WIP Adaptation . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.2.1 Exp eriments . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.3 Multilingual System . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.3.1 Exp eriments . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.4 Language Identiation . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.4.1 Probabilisti Framework . . . . . . . . . . . . . . . . . . . . . . 24 4.4.2 Exp eriments . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 4.5 Dealing with OOVs: Charater-based approah . . . . . . . . . . . . . 28 4.5.1 Exp eriments . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 iii CONTENTS 5 Adaptation on Sp eeh Reognition 33 5.1 Intro dution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 5.2 Baseline system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 5.3 MLLR Adaptation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 5.3.1 Probabilisti Framework . . . . . . . . . . . . . . . . . . . . . . 35 5.3.2 Exp eriments . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6 Matterhorn 39 6.1 Intro dution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 6.2 Op enast Community and the Matterhorn pro jet . . . . . . . . . . . 39 6.3 Matterhorn Infrastruture . . . . . . . . . . . . . . . . . . . . . . . . . 40 6.4 Contribution to Matterhorn . . . . . . . . . . . . . . . . . . . . . . . . 41 7 Conlusions 47 iv CHAPTER 1 INTRODUCTION With the arrival of the digital era, there are large amounts of information b eing ontinuously generated and stored. Automati searh engines have made possible the instant aess to this information. However, information have to b e ompletely annotated in order to enable these searh engines to insp et the ontent. The problem is that some of these resoures are expensive and hard to annotate. An example of these resoures are handwritten old text do uments, residing in libraries all over the world. Annotation of these do uments is a time-onsuming task even for paleographi exp erts, and it an take up to 30 minutes p er page. Another example are university letures. Many universities are urrently reording letures and storing them for p osterior referene. However, searhes within all letures have to be arried out by their title or topi, b eause annotations of the leturer's sp eeh are unavailable. This master's thesis deals with some improvement in the annotation of this two related tasks, handwritten text and sp eeh. Natural Language Pro essing (NLP) is a researh area that aims to develop automati systems that are able to pro ess and omprehend human language by means of tehniques and algorithms from Mahine Learning (ML). One of the most heti sub-areas inside NLP is Automati Sp eeh Reognition (ASR), that deals with the automati annotation of sp eeh. Annotation of sp eeh is a diult task, as sp eeh is a ontinuous signal with a high variability dep ending on the sp eaker, language, topi, among some other features. Nowadays, muh progress have b een p erformed in this area, but even state-of-the-art systems are not able to generate aeptable annotations [1℄ to b e used by searh engines. A related area to ASR is Handwritten Text Reognition (HTR), whih deals with the annotation of handwritten do uments. 1 Chapter 1. Intro dution HTR is related to ASR, as the two of them model ontinuous signal and the mo dels and tehniques from one an b e applied into the other. In ase of HTR, handwritten sript is a ontinuous signal b eause handwritten word are typially written from left to right. This similarity has aused that tehniques and approahes of ASR an b e suessfully employed in HTR [2℄. However, as it happ ens in ASR, even the automati transription of the b est urrent approahes are still far from p erfet [3℄. Even though automati systems annot be used in a fully automati approah, they an still b e used as a to ol in an interative approah, in whih the system and the user ollab orate to omplete the task. This approah has b een used suessfully in b oth, ASR [4℄ and HTR [5℄. Interative approahes have to deal with several problems. The rst problem is to build an user friendly interfae to interat with the system. Another imp ortant diulty is how to employ user interation further than simply p ost-editing the system output. This master's thesis deals with these two problem. Conretely, in an ASR, we deal with some parts within the interative annotation problems of video letures. On the other hand, in HTR, we improve the interative transription pro ess of multilingual do uments. More sp eially, the ontributions desribed in this work are the following: Language adaptation on the transription of handwritten text do uments A sp eially appealing ase is the transription of multilingual do uments, suh as GERMANA [6℄, in whih up to six dierent languages app ear. In this task, the o existene of languages diulties the task, as it greatly inreases the language omplexity. In this work, we deal with this problem by developing a language-dep endent approah, in whih a dierent system is trained for eah language. Conretely, we present to dierent ontributions. First, we desribe the implementation of a language identiation metho d, in order to detet the language of an untransrib e line and orretly swith its orresp onding language dependent HTR system. Last, we study the adaption of tuning variables on the dierent language dependent reogniser. These ontributions have led to two publiations on two international onferene ranked as C, aording to the CORE: • M. A. del Agua , N. Serrano and A. Juan. Language Identiation for Interative Handwriting Transription of Multilingual Douments . In Pro . of the 5th Ib erian Conferene on Pattern Reognition and Image Analysis (IbPRIA 2011), pp 596603. Las Palmas de Gran Canaria (Spain). 2011. • M. A. del Agua , N. Serrano, J. Civera and A. Juan. Charater-based Multilingual Handwriting Reognition . In Pro . of IBERSPEECH 2012. Madrid (Spain). 2012 Adaptation in automati sp eeh reognition of video letures Atually, many universities are digitising their letures, reating huge repositories, in whih for eah leture, users an aess video reordings along with its slides. This is the ase of p oliMedia, a video leture database of the Universitat Politènia de Valenià (UPV). ASR of this database entangles several diulties, for example, the great numb er of dierent sp eakers and topis. In 2 this work, we present the rst step on ASR of this database along with a detailed analysis. Conretely, we present results using a standard ASR system and ompare them with another system in whih adaptation is p erformed for eah segment using the MLLR algorithm. Extension of Matterhorn, a framework for digitising video letures Matterhorn is a software framework that deals with the whole pro ess of aquiring a leture, whih go es from its digitisation to its on-line publiation. This software have b een hosen by the UPV in order to reord and give aess to the ommunity to its letures. In this work, we desrib e the urrent state of development that is b eing arried out to deal with the p oliMedia database. Conretely, the most imp ortant step is the inlusion of a ASR system inside Matterhorn to automatially transrib e the letures sp eeh, along with an interative to ol that will enable users to orret the ASR errors. 3 CHAPTER 2 PRELIMINARIES 2.1 Intro dution In this setion, we introdue the mathematial foundations of automati reognition of ontinuous signals orresp onding to a sequene of words. This is the ase of ASR and HTR, whih are the tasks studied in this work. Current ASR and HTR systems use a statistial approah based on PR tehniques. PR studies how to assign a given input data its orresp onding lab el or lass. In our ase, this pro ess is p erformed as a searh problem of the most probable transription given an input signal, sp eeh in ASR, or handwritten text in HTR. Under ertain assumptions and in a perfet environment, the resulting transription an b e onsidered the b est transription that ould b e obtained. Although, in real life problems this p erfet onditions annot b e ahieved, the resulting systems are able to deal reliably with this task. 2.2 Theoretial Bakground Current ASR and HTR systems use a statistial approah based on PR tehniques. PR is a subarea of ML, whih studies how to assign to a given input its orresp onding lab el or lass. In HTR, the input orresp onds to a sequene of N feature vetors x=x1,··· , xN representing an image, while its lab el orresp onds to M words forming the image transription w=w1,··· , wM . In ase of lassiation tasks in whih error is measured using the lassiation error rate (CER), i.e. the ratio of errors ommitted when lassifying, the Bayes deision rule [7℄ states that, the b est sequene of words 5 Chapter 2. Preliminaries where C(v) is the numb er of times that the sequene v has app eared on the training sequene w . This is a maximum likeliho o d (ML) estimate. Sine not all p ossible n -grams have typially b een seen in training, some smo othing metho d must b e used to allow for unseen n -grams in the reognition phase. Two main smo othing tehniques were used in this work: interpolation and "Bak-o". However, it is not the aim of this master's thesis to develop these tehniques for smoothing, aordingly the reader is referred to [11℄ for an extended overview. 12 CHAPTER 3 CORPORA AND BASELINE EXPERIMENTS 3.1 Intro dution In this hapter, the main features of the dierent orp ora that have been used thoughtfully on this master's thesis are exp osed, along with the results of a rst baseline approah. The rst one, the GERMANA database [6℄, is an o-line handwritten text manusript obtained as a result of annotating and digitising a 764 -page manusript entitled "Notíias y Doumentos relativos a Doña Germana de Foix, última reina de Aragón" , written in Spanish up to page 180 and from there it o exists with Catalan, Frenh, Italian, Latin and German until the end. It was written by Vient Salvador, the Cruïlles' marquis in 1891 . It has approximately 21K text lines manually marked and transrib ed by paleographi experts and in terms of running words it is omparable to other databases. By the other hand, the poliMedia repository [12℄ is a sp eeh orpus obtained by transribing 704 video letures from the Universitat Politènia de Valénia , orresp onding to 115 hours, so as to provide in-domain data set for training, adaptation and internal evaluations in Spanish, within the transLetures pro jet. 3.2 The GERMANA Database As said, the GERMANA, is an o-line handwritten text manusript obtained as a result of annotating and digitising a 764 -page of 1981 . GERMANA is not a partiularly diult task for several reasons. First, it is a single-author manusript on a limited- 13 Chapter 3. Corp ora and Baseline Exp eriments domain topi. Also, the original manusript was well-preserved and most pages only ontain nearly alligraphi text written on ruled sheets of well-separated lines. Moreover, the manusript omprises ab out 217K running words from a voabulary of 30K whih, apparently, is a reasonable amount of data for single-author handwriting and language mo deling. However, text line extration and o-line handwriting reognition on GERMANA is not partiularly easy. It has the typial prop erties of historial do uments that make things diult: sp ots, writing from the verso app earing on the reto, unusual haraters and words, et. Also, the manusripts inludes many notes and app ended do uments. In addition, GERMANA p ossesses a high language omplexity due to the app earane of multiple languages. Due to its sequential b o ok struture, it is also well-suited for realisti assessment of interative handwriting reognition systems. Moreover, it an b e used as well to test approahes for language identiation and adaptation from single author handwriting as it is used in this masters' thesis. The manusript was arefully sanned by exp erts from the Valenia Library at 300dpi in true olours. Then, the whole manusript was transrib ed line by line, by paleographi exp erts, in aordane with the following transription rules: • Page and line breaks were opied exatly. • Blank spae was only used to separate words. • No sp elling mistakes were orreted. • No ase or aentuation hange was done. • Puntuation signs were opied as they app eared. • Words abbreviations were rst opied verbatim, exept for subindies and sup erindies, whih were written in L A T E X-like notation as _{sub} and  {super} , resp etively. Then, they were followed by the orresp onding word b etween brakets. Also, to failitate language-dep endent pro essing of the manusript, eah transrib ed line was manually lab elled in aordane with its dominant language. In table 3.1 on the next page ontains some basi statistis drawn from GERMANA. These statistis were omputed after applying the following prepro essing steps in order to redue the language mo deling omplexity: • Substitution of abbreviations by their orresp onding words. • Conatenation of hyphenated words at line ends with their remainders. • Isolation of puntuation signs. Note that Spanish part of GERMANA omprises ab out 17K text lines and 177K running words from a lexion of 20K words. It is also worth noting that 56% of the 14 3.2. The GERMANA Database Language Lines Words Lexion Singletons Perplexity All 20151 217K 27.1 K 57.4% 289.8±17.0 Spanish 80.9% 81.4% 19.9 K 55.6% 238.1±27.7 Catalan 11.8% 12.4% 4.6 K 63.2% 112.9±61.6 Latin 4.6% 3.8% 3.4 K 69.2% 211.1±51.3 Frenh 1.3% 1.4% 1.1 K 71.1% 88.3±21.0 German 1.1% 0.7% 0.6 K 52.7% 92.1±29.2 Italian 0.3% 0.3% 0.3 K 67.3% 63.3±14.4 Table 3.1: Basi statistis of GERMANA. words only o ur one (singletons). Regarding the other, non-Spanish parts, it is lear that it is diult to reliably estimate indep endent models for them (.f. HMMs and n -gram language mo dels). In terms of running words, Spanish omprises ab out 81% of the do ument, followed by Catalan ( 12% ) and Latin ( 4% ), while the other three languages only aount for less than a 3% . Similar p erentages also apply for the numb er of lines. In terms of lexions, it is worth noting that Spanish and, to a lesser extent, Catalan and Latin, have lexions omparable in size to standard databases suh as IAM [13℄. Also note that the sum of individual lexion sizes ( 29.9 K) is larger than the size of the global lexion ( 27.1 K). This is due to presene of words ommon to dierent languages, suh as ommon words in Spanish and Catalan. On the other hand, singletons, that is, words ourring only one, aount for most words in eah lexion ( 55% −71% ). It go es without saying that, as usual, language modelling is a diult task. To b e more preise, in Table 3.1 we have inluded the global p erplexity and the p erplexity of eah language, as given by a bigram mo del on a 10-fold rossvalidation exp eriment. Perplexity is an information theory metri that is typially used to evaluate language mo dels. Perplexity an b e understo o d as the mean numb er of words that an follow a given word. the lower the perplexity is the lower the omplexity of the language, as there is a lower unertainty. 3.2.1 Baseline Exp eriments As indiated b elow, GERMANA is a single-author manusript written up to 6 dierent languages, but mainly in Spanish, Catalan and Latin. Our main goal is to study the results of transribing of the whole GERMANA database using a rst baseline system to b e used as baseline in the next hapter. In the baseline system, whih is referred as monolingual in the following, we assumed that all lines b elong to the same language, and thus only require one language mo del. The image mo dels, HMMs, are also trained from all available transriptions. In our exp eriments, we simulated the sequential transription pro ess of GERMANA. We divided GERMANA into 40 blo ks of 500 lines eah. The rst two blo ks were fully transrib ed and an initial system was trained from the rst and adapted in the seond. This adaptation resulted in HMM mo dels were 64 omp onents p er Gaus- 15 Chapter 3. Corp ora and Baseline Exp eriments sian mixture with 4 states eah, while the language mo del resulted in an interp olated 2 -gram with mo died Kneser-Ney disount [9℄. This parameters remain unaltered for the rest of the exp eriments. Then, from blo k 2 to 40 , eah new blo k was, rst re- ognized by the system, then evaluated in terms of WER and ompletely supervised, nally a new system is trained from all available transriptions so far. The software used to train the HMMs was HTK [14℄ and SRILM [15℄ for language mo del training, while the reognition was also arried out by HTK. The p erformane of the system, in terms of WER, an b e observed in Fig. 3.1. For eah blo k, we represented the WER of all reognised blo k so far. This is to represent an overall mean error at its stage of the transription b eause the individual error of eah blo k highly depends on its language and struture. 0 10 20 30 40 50 60 0 5 10 15 20 25 30 35 40 WER Blocks of 500 lines Total WER WER SP WER CA WER LA Figure 3.1: WER as a funtion of the blo ks lines trained and obtained reognising the next. Furthermore, WER by language has been inluded for Spanish, Catalan and Latin. As observed, the monolingual system ahieves a nal WER of 45.9 . Even though, user interation ould be used to improve the transriptions, this baseline error is to o high to really improve from the manual transription. A further analysis of the results revealed that, eah time a language appears, the system gets worse. The main ause of this eet is the inrement of out-of-vo abulary (OOVs) words, whih are words that annot b e reognised by the system beause they were no present in the training. In addition, eah dierent language follows a dierent struture, whih is not well estimated in a monolingual model. In summary, GERMANA presents two 16 3.3. The p oliMedia Database main problems: Multilinguality and Out-Of-Vo abulary words. These two problems will b e treated in the next hapter. 3.3 The p oliMedia Database Reently, an innovative servie for reation and distribution of multimedia eduational ontent has b een develop ed at the Universitat Politènia de Valènia (UPV) under the name of p oliMedia [12℄. Its purp ose is to allow UPV professors to reord letures on videos lasting of 10 minutes at most. Video letures are aompanied with timealigned slides and reorded at sp eialised studios under ontrolled onditions so as to ensure maximum video and audio quality and homogeneity. For the time b eing, p oliMedia atalogue inludes almost 8000 videos aounting for more than 1000 hours of letures. Authors retain all intelletual prop erty rights and not all videos are publily available. More preisely, only ab out 2000 videos an b e aessed freely. p oliMedia along with Videoletures.NET a , are the two rep ositories planned to b e fully transrib ed in the framework of the Europ ean pro jet transLetures b . To this purp ose, 704 video letures in Spanish orresp onding to 115 hours were manually transrib ed using the to ol Transrib er [16℄, so as to provide in-domain data sets for training, adaptation and internal evaluations in the transLetures pro jet. These transrib ed video letures were seleted aording to the op en aess p ermissions granted by the authors, whih guarantees that the orpus an b e used by the researh ommunity beyond the sop e of the transLetures pro jet. Most of the transrib ed videos were annotated with its orresp onding sp eaker, topi and keywords. More preisely, 94% of the videos were assigned a topi and 83% were desrib ed with keywords. However, these topis and keywords were not derived from a thesaurus, suh as EuroVo . 3.3.1 Baseline Exp eriments In this setion, we desribed the rst baseline exp eriments to assess the availability of ASR tasks. We divided the poliMedia orp ora in three sp eaker-indep endent partitions: training, development and test. The statistis of this partition an b e found in Table 3.2. Topis inluded in development and test sets range from art studies suh as marketing or law, to tehnial studies suh as hemistry or statistis. On the other hand, this topis are also inluded in the training set among many other ones, hene, this partitions is not topi indep endent. To arry out the baseline exp eriments, the RWTH ASR [17℄ software was used for aousti mo deling and SRILM [15℄ for language mo del training. First, The baseline system, inluding aousti, lexion and language mo dels was trained on the training set. Then, system parameters were adapted in terms of WER on the development set. Aousti mo dels were trained using triphones b eause it is well known that they outp erforms monophonemes due to its ontext knowledge. Triphoneme mo dels were a http://videoletures.net b http://transletures.eu 17 Chapter 3. Corp ora and Baseline Exp eriments Training Development Test Videos 655 26 23 Sp eakers 88 6 5 Hours 117.6 3.8 3.5 Sentenes 39K 1.4K 1.1K Vo abulary 27K 4.5K 4K Running Words 948K 34K 28K OOVs - 4.7% 5.3% PPLs - 212 221 Table 3.2: Basi statistis on the p oliMedia partition. inferred using onventional CART mo del using 2001 leaves. System adaptation on the development set resulted in a aousti mo de, in whih eah HMMs has 5 state with no lo op-bak, and eah of the emits a Gaussian of 29 omp onents. The b est language mo del aording to the system adaptation is an interp olated trigram mo del with Kneser-Ney disount. The result obtained with these parameters, and adapting on the development set was 00 in terms of WER. It will b e disussed how to improve this result, by means of sp eaker adaptation suh as Maximum Likeliho o d Linear Regression (MLLR) in the following hapters. 18 CHAPTER 4 ADAPTATION ON HANDWRITTEN TEXT RECOGNITION OF MULTILINGUAL DOCUMENTS 4.1 Intro dution As shown in the previous hapter, HTR has gained muh interest nowadays. The reason is that there are large volumes of old handwritten do uments that need to b e transrib ed in order to preserve and quikly aess the ontents. The problem is that, even in state-of-the-art do uments [3℄, automati transription are still far from p erfet. In the previous hapter, we p erformed an HTR exp eriment on the GERMANA database, whih orresp onds to a single-author handwritten text do uments of 1891. From the results, we observed that quality of automati transriptions was quite low. This was mainly aused by two imp ortant features of GERMANA: multilinguality and out-of-vo abulary (OOV) words. In this hapter, we intro due some improvements in order to solve the ommented problems. First, as new sup ervised words are generated after the reognition of eah blo k, we studied the adaptation of some reognition parameters dealing with the language mo del. Next, we onsider the multilinguality of the do ument by p erforming a language-dep endent approah. In this approah, we also develop ed a metho d for automatially lassifying the language of a line, as it is required to reognise it with its orresp onding language dep endent system. Finally, the OOVs problem is approahed by means of building a harater-based model, rather than the typial word-based mo dels. 19 Chapter 4. Adaptation on Handwritten Text Reognition of Multilingual Do uments 4.2 GSF and WIP Adaptation The aim of this task is to fully transrib e the GERMANA database as it would in a real interative senario. In that ase, GERMANA must b e transrib ed sequentially from the b eginning to the end. As said, GERMANA is not uniform, and the do ument and language hange from one part to another. Hene, in order to b etter adapt to this hanges, reognition parameters an be optimized one new data is inorp orated to train. More sp eially, in our ase, these parameters will be adapted on the last blok added to the training partition, dierently from the rst experiments p erformed, in whih the parameters were only optimized on the seond blo k and remained unhanged. We have onsidered two reognition parameters: Grammar Sale Fator (GSF) and Word Insertion Penalty (WIP). These parameters are intro dued in the reognition to p erform a trade-o b etween image and language model sores. More onretely, GSF is the amount by whih the language model probability is saled before b eing added to eah token as it transits from the end of one word to the start of the next. And on the other hand, the WIP parameter is a xed value added to eah token when it transits from the end of one word to the start of the next. These parameters are intro dued in Eq. 2.1 as follows ˆw= argmax w p(x|w)p(w) ≈argmax w log p(x|w) + log p(w) ≈argmax w log p(x|w) + α·log p(w) + β where α is the GSF and β is the WIP. As said, the main idea of this adaptation is nding the parameter ombination that minimizes the WER on the last sup ervised blo k, onsidering that two onseutive blo ks may share ommon harateristis. 4.2.1 Exp eriments In this exp eriment, we follow the same pro ess intro dued in Se. 3. The GERMANA database was divided into 40 blo ks of 500 lines eah. The rst two blo ks were already transrib ed from whih an initial system was trained and adapted. Then, from blo k 2 to 40 , eah blo k is reognised, evaluated in terms of WER, sup ervised, added to the training set, and nally the system is re-trained from all supervised blo k so far. However, in this exp eriment, reognition parameters are adapted on the last sup ervised blo k. For the shake of larity gure 4.1 is presented. As observed, adaptation on the last added blo k is based on the idea that two onseutive blo ks might share more similar struture, writing or style than two separate bloks. Results in terms of WER for eah individual blok are presented in Fig. 4.2. In this gure, the previous Baseline approah, in whih no adaptation is used, is ompared with the urrent system, whih is Adapted on the last blo k. As observed, the adapted system works slightly b etter than the non-adapted until blo k 14 when the 20 4.2. GSF and WIP Adaptation Training Validation Test 12 3 4 ... ... ... ... ... ... ... ... ... ... ... 39 40 Figure 4.1: Exp eriment metho dology writer sheet is hanged from 24 lines p er page to 32 , whih was disussed in Se. 3.2 on page 13, when a b etter p erformane an b e notied. This is due to the fat that the image models an not deal with all the existing variane between the same harater, and thus the language mo del should arry with higher weight values in order to obtain a b etter reognition. Finally, Fig. 4.3 represented the results in terms of WER for all reognised bloks so far, as it was depited in the previous hapter. In this ase we an observe that, the adapted system ahieved a WER of 44.3 , whih is an improvement of of 1.6 WER p oints from the non-adapted system. In the next setion it will b e disussed the suitability of treating eah language separately and it will b e ompared to this adapted monolingual system (all sentenes b elonging to the same language). 21 Chapter 4. Adaptation on Handwritten Text Reognition of Multilingual Do uments 4.5 Dealing with OOVs: Charater-based approah Previous results exploiting multilinguality on the GERMANA database proved the b enets of expliitly mo delling language identiation at the line level in a intera- tive transription senario .However, these results are far from allowing an eetive interative transription. In that work, the sup ervision eort would b e exessively high, and the user might prefer to ignore the automatially generated output and transrib e the manusript from srath. An error analysis revealed that most of these errors were due to out-of-vo abulary (OOV) words. In fat, 53% to 71% of the words in the GERMANA database are singletons, words ourring only one in the lexi- on of eah language. Another imp ortant problem was the sare resoures available for some languages in the GERMANA database, so as to train their orresp onding word-based language mo dels. The treatment of OOV words is an op en problem in dierent areas of NLP. In sp eeh reognition, whih is losely related to handwritten text reognition as far as mo delisation is onerned, notable eorts has b een deployed over the last deades to deal with OOV words. In [20℄, the original lexion is extended with words from external resoures that are represented as a sequene of haraters (graphemes, to b e more preise) onverted into phonemes. In [21℄, several sub-word based metho ds for sp oken term detetion task and phone reognition are presented to searh OOV words. Phone and multigram-based systems provide similar p erformane on the phone reognition task, sup erseding the standard word-based system. Regarding handwriting text reognition, the authors in [22℄ ompared the p erformane of a onventional word-based language model to that of a harater-based language mo del in the ontext of a German oine handwritten text reognition task. However, harater-based language mo dels were not superior to their word-based ounterparts. A hybrid approah b etween a standard harater-based n-gram language mo del and a harater-based onnetionist language mo del is prop osed in [23℄, whih obtain similar results to word-based systems on the IAM orpus [13℄. To the b est of our knowledge, harater-based language mo dels has not b een able so far to sup ersede word-based language models in handwritten text reognition. Our hyp othesis is that tasks takled in previous work did not ontain a signiant numb er of OOV words ompared to the gures of the GERMANA database a . In GERMANA, the problem of OOV words is aggravated by its multilingual nature, sine the presene of languages suh as Latin, Frenh, German and Italian is less than 4% of the total numb er of words. Therefore, the estimation of word-based language mo dels is notably p o or, and it is neessary to fall bak to adequate harater-based language models. Our main ob jetive is to study the use of harater-based mo dels in GERMANA. As it has b een said, the utilization of harater-based mo dels is motivated by two main features of GERMANA: the high numb er of OOVs, and the resoure sarity to train robust word language mo dels. In addition, we analyze the p erformane of the language identiation tehniques presented in previous setion. a For example, the IAM orpus only ontains ab out 7% of OOV words. 28 4.5. Dealing with OOVs: Charater-based approah System CPL Unigram Bigram Charater-based 2.5 14.2 4.0 Word-based 15.9 5.0 Table 4.2: Language identiation results on GERMANA 4.5.1 Exp eriments As in the rest of the exp eriments, we followed an interative transription framework, where the user sup ervises the output of a system, whih is ontinuously retrained. To this purpose, we divided GERMANA in blo ks of 500 lines, numb ered from 1 to 40 . First, blo ks numb er 1 and 2 were fully transrib ed and used to build an initial system and tune the training and reognition parameters. Training parameters, suh as number of mixture omp onents and states p er HMM, remains unhanged in all exp eriments. It is worth noting that, in harater-based mo dels, the optimisation of the language model results in a 9 -gram, instead of the 2 -gram mo del of the wordbased approah. Then, starting from blo k numb er 2 to the last. First, the language of eah is identied (if needed) and its transriptions is reognised by the orresp onding language dep endent system. Next, its transription and language lab el is sup ervised. Finally, after a full new blo k is sup ervised, the system is re-trained from all supervised blo ks and adapted on the last sup ervised blo k. It must b e noted that, HMMs image mo deling is arried out by the RWTH ASR to olkit [24℄ and language mo deling by SRILM to olkit [15℄. This software hange is due to the fat that HTK annot handle n -grams over order 2. We p erformed two dierent sets of exp eriments on the desrib ed framework. The ob jetive of the rst set was to study the p erformane of the language identiation metho ds prop osed. On other hand, the ob jetive of the seond set was to study the transription auray of the system when using eah dierent language identiation metho d. In the rst set of exp eriments, we ompared the three dierent approahes for language identiation presented in Se. 4.4 but using a harater-based system. We p erformed the interative transription of GERMANA using desrib ed framework for eah of the approahes. Eah time a blo k is reognised, we measured the numb er of errors ommitted by the language identiation metho d used. It must be noted that, in this set of exp eriments, reognition parameters were tuned to minimise the numb er of language identiation errors. Table 4.2 shows the results in terms of language identiation error-rate (IER) for the whole do ument. We also inluded the results on the same framework of the word-based approah presented in previous setion. From the results in Table 4.2, it an b e observed that CPL ahieved the b est p erformane. CPL to ok fully advantage of do ument sequentially and it only ommitted errors when the language hanged from line to line, whih only o urs a few times in GERMANA. In b oth, harater and word based systems, the bigram approah tuned its parameters to ignore the language dependent reogniser probability and it fores 29 Chapter 4. Adaptation on Handwritten Text Reognition of Multilingual Do uments the system to only relay on the language mo del probability of language lab els. In this ase, the bigram approah identies the language only using the bigram probability. However, the bigram approah only adapts its parameters eah time a blo k is sup ervised, and thus, it fails to identify all lines of a language when it app ears the rst time in the transription pro ess. On the other hand, the harater-based unigram approah ahieved slightly b etter results than its word-based version. In the seond set of exp eriments, we ompared ve dierent approahes in terms of Word Error Rate (WER) on reognised transriptions. WER is dened as the ratio between the minimum numb er of editing operations to onvert the reognised words into the referene, and the numb er of referene words. In the rst approah, we built a monolingual system, where we assume all lines to belong to the same language. This approah is onsidered the baseline, as language identiation step is not needed and it is the simplest approximation to the problem. Next, motivated from the results of the previous setion, we also built the same four dierent language dep endent systems supervised , CPL , bigram , and unigram . It must b e noted that, in this ase, all approahes adapted their parameters to optimize the WER on last blo k. As the unigram and bigram approahes an b e optimized for WER or IER, we also ompared the results of b oth optimizations when transribing, as the transriptions pro dues are dierent. The results are represented in Fig. 4.6, in terms of WER of the reognized text up to the urrent line. On the ontrary, as it happ ened in setion 4.4 on page 23, all multilingual systems ahieved worse results than the monolingual system. However, even though there is not signiant dierene b etween the three b est approahes, as orrob orated by a b o otstrap evaluation [25℄; the monolingual approah is onsidered the best as it is easier to build and it do es not need a language identiation step in reognition. In error mean terms, even in the sup ervised approah, where the language is given, the use of language dep endent reognizers ould not outmath the monolingual approah. The main ause of the monolingual p erformane is pro dued by the origin of all languages but German in GERMANA. Most languages in this do ument are Romane languages, whih ome from the same original language, sharing a ommon underlying language struture. For instane, the lexeme of many words an b e orretly estimated from the Spanish part in order to reognise other similar romane languages, suh as Catalan. In fat, the main resp onsible of the monolingual result is the high order (9-grams) harater-based language mo del, whih was able to estimate the ommon lexeme struture of all romane languages. In language dep endent approahes, it an b e observed that, even though both sup ervised and CPL approahes ahieved the b est transription results, the system p erformane did not always dep end on the language identiation p erformane. On one hand, there is not always a diret relationship b etween IER and WER. For instane, the unigram and bigram IER optimised approahes ahieved a IER of 14.2 and 4.0, resp etively, while the WER results were 28.36 and 27.57. On the other hand, as observed from the dierene b etween the dierent optimizations of unigram and bigram approahes, a system with a worse IER an obtain a b etter WER results. For example, the bigram WER optimised approah obtained 26.34 of WER from a IER of 8.5, while optimising the IER on the same approah ahieved 27.57 of WER 30 4.5. Dealing with OOVs: Charater-based approah 22 24 26 28 30 32 4k 6k 8k 10k 12k 14k 16k 18k 20k WER Training Lines Unigram IER tunned Bigram IER tunned Unigram WER tunned Bigram WER tunned CPL Supervised Monolingual Figure 4.6: WER in GERMANA as a funtion of the number of reognized lines for the monolingual and language-dependent approahes. Results are presented from line 3500, in whih a dierent language apart from Spanish app ears. from a IER of 4. These results orroborate our previous onlusions, in whih we observed that a language is b etter reognised using a dierent language dep endent reogniser. However, as said, the monolingual approah ahieved b etter reognition results b eause the improvement from b etter estimated languages is already inluded in the harater-based language mo del. In terms of transription p erformane, in our previous work [26℄, we also dealt with the omplete transription of GERMANA, but using word-based mo dels. In that ase, the monolingual approah obtained 44.39% of WER, however, in this work the same approah obtains 25.19% . These improvement is aused by two fators. On one hand, the RWTH reogniser improved the results due to a new feature extration metho d. On the other hand, further error analysis revealed that, as exp eted, most of this improvement is due to the orret reognition of OOVs words, and puntuation signs. In Figure 4.7, we an observe the p erformane of b oth mo dels in the reognition of a line, onretely, in this example, word-based errors (estado, Viuda, and reejasen) o ured due to OOVs words (itado, Vidal, and reeja). On the other hand, puntuation signs (, after Vidal and Reina), are suessfully reognized in the harater-based approah, whereas, the word-based approah failed to reognize this signs due to its sarity in the training dataset. 31 Image Charater-based invirtieron al itado Vidal, dirijida á la Reina, reeja las Word-based invirtieron al estado Viuda dirijida á la Reina reejasen Figure 4.7: Comparison of word-based and harater-based reognition. CHAPTER 5 ADAPTATION ON SPEECH RECOGNITION 5.1 Intro dution Nowadays the aess to information is b eoming an inreasing hallenge. Automati searh engines have made p ossible the instant aess to large amounts of information obtained from very dierent ontexts. Until now, we have talked ab out data b eoming from old handwritten text do uments and the need of annotating them to allowing its indexing and ease the aess through digital libraries. But there are many other soures that need an annotation pro ess in order to failitate its searh and dissemination, it is the ase of videos. More sp eially in the ase in question, for the same reason a do ument needed to b e transrib ed, a video should be transribed to allow its video indexing as well as its in-video ontent. Transription of videos is an imp ortant time-onsuming that is b eing arried out by universities whih are urrently reording letures and storing them for p osterior referene. To redue this eort, automati sp eeh reognition (ASR) tehniques will have a ma jor role. The ob jet of ASR is to apture an aousti signal representative of sp eeh and determine the words that were sp oken. In this hapter, our ob jetive is to transrib e the previously presented p oliMedia database obtaining the b est p ossible results. In setion 4, we tried to take advantage of the multilinguality feature of GERMANA, and we onluded that treating eah language separately was the best option b eause of a b etter mo del adaptation. However, the results were only slightly b etter due to there was not enough data to train reliably mo dels. In ASR, instead of dening language-dep endent systems, we ould dene sp eakerdep endent systems. Several studies have proved [27℄ that sp eaker-dep endent (SD) 33 Chapter 5. Adaptation on Sp eeh Reognition systems are typially p erforming, in terms of WER, from two to three times b etter than their equivalent sp eaker-indep endent (SI) ounterparts. Sine a large amount of sp eaker-sp ei data is needed for training SD, SI adaptation tehniques must b e applied. Thus, in this hapter a baseline system without adaptation will be dened and ompared to an adapted system, trained with the well-known Maximum Likelihood Linear Regression (MLLR) transform. 5.2 Baseline system The baseline system has been trained with the RWTH ASR [17℄ to olkit, along with the SRILM [15℄ to olkit. The RWTH ASR to olkit inludes state-of-the-art sp eeh reognition tehnology for aousti mo del training. It also inludes sp eaker adaptation, sp eaker adaptive training, unsup ervised training, a nite state automata library, and an eient tree searh deo der. SRILM to olkit is a widespread language modeling to olkit whih have b een applied to many dierent natural language pro essing appliations. Reognition is also arried out by the RWTH ASR to olkit. Audio data was extrated from videos and prepro essed to extrat the normalized aousti features obtaining the Mel-frequeny epstral o eients (MFCCs). Then, triphoneme aousti mo dels based on a prebuilt CART tree were trained using the training set, adjusting parameters suh as numb er of states, the numb er of Gaussian omp onents, numb er of CART leaves, et. on the development set. The lexion mo del was obtained in the usual manner by applying a phoneti transliteration to the training vo abulary. Thereafter, an n -gram language model was trained on the transrib ed text after ltering out unwanted symb ols suh as puntuation marks, silene annotations and so on. Finally, as it has been proved in [28℄, in order to enrih the language mo del, we have added an external resoure in the language mo del estimation. More sp eially, the nal language mo del is the result of linearly ombining an in-domain language mo del (training of p oliMedia), with an external large out-domain language model omputed on the Go ogle N-Gram orpus [29℄. To estimate the trade-o between suh mo dels, a λ parameter has b een optimised so as to minimise the p erplexity on the development set. It go es without saying that the lexion has been extended to 50000 most frequent words present in Google N-Gram, in order to alleviate the OOV words app earane. Aording to the partition of p oliMedia established in 3 on page 13, the nal results, in terms of WER, an be observed in the table 5.1. As expeted, the extended language mo del works b etter than the rst one due to its larger lexion (less OOVs) and to its more preise probabilities estimation. It is worth emphasizing that the extended system will be referred as the baseline system, as well as the language mo del will be the same for the rest of the exp eriments. 34 5.3. MLLR Adaptation System WER p oliMedia 46.3 p oliMedia + Go ogle N -grams 39.8 Table 5.1: Comparison b etween in-domain system versus in-domain extended with Go ogle N -grams. 5.3 MLLR Adaptation In order to improve the prop osed baseline, we onsider an MLLR adaptation. Adaptation tehniques fall into two main ategories: Speaker normalization in whih the input sp eeh is normalized to math the sp eaker that the system is trained to mo del, and mo del adaptation tehniques in whih the parameters of the mo del set are adjusted to improve the mo delling of the new speaker. An imp ortant issue with b oth approahes is its eetive operation with a limited amount of adaptation data. For a system with a large numb er of mo dels and a small amount of adaptation data, some mo dels will not b e observed in the data. On the other hand, adaptation tehniques only up date the parameters of mo dels whih are observed in the adaptation data [30℄. MLLR mo del adaptation uses a set of regression-based transforms to tune the HMM mean parameters to the new sp eaker. Eah of the transformations is applied to a number of HMM mean parameters and estimated from the orresp onding data. Using this sharing of transformations and data, the metho d an pro due improvements with small amounts of adaptation data. If only a small amount of adaptation data is presented, a global transform is used for all mo dels in the system; and if more data is available, the numb er of transforms is inreased. This ensures that all mo del states an be adapted even if no model-sp ei data is available. For further information, please refer to [31℄. 5.3.1 Probabilisti Framework The main idea is to apply a transformation matrix W to the Gaussian means on the state HMMs. For a spei Gaussian s , the transformation matrix Ws is applied in this way: ˆµs=Ws·µs+ws (5.1) where •µs is the mean of the Gaussian s . •ws is the oset vetor for s . •ˆµs os the new mean for s . For the shake of larity, oset vetor is introdued into mean vetor: ˜µs= [ws:µs] ˜ ˆµs=˜ Ws·˜µs (5.2) 35 Chapter 5. Adaptation on Sp eeh Reognition MLLR estimates the regression matries Ws that maximises the likeliho o d of on an adaptation set. The derivation of the MLLR estimate is not the aim of the present masters' thesis, but the reader is referred to [31℄ for further details. When regression matries are tied aross mixtures omp onents, eah matrix is asso iated with many mixture omp onents. This is ahieved by dening a set of regression lasses where eah lass ontains all the mixture omp onents assoiated with the same regression matrix. In the tied approah, in order to be eetive, it is desirable to onsider an equivalene lass for all the mixture omp onents that use similar transforms. However, sine we have no a prior knowledge of the transforms, the mixture omp onents will b e ompared using the likelihoo d as a measure. 5.3.2 Exp eriments Our exp eriments ob jetive is to study the improvement ahieved by means of the MLLR transformation. The software used has been the RWTH ASR [17℄ to olkit, whih is a state-of-the-art sp eeh reognition that inlude utilities for sp eaker adaptation (suh as MLLR). We have arried out an unsup ervised adaptation by rstly training a sp eakerindep endent system with only the training set. Seondly, it was adapted on the development set in terms of WER, by trying dierent values of GSF and WIP parameters. Then a rst reognition of the test set p erformed, whose result was our adaptation target. In the next step, target lasses within the test has to b e onsidered, but the referene, and thus, the sp eakers are unknown. Instead of sp eaker-oriented adaptation, we have onsidered dierent lasses by lustering the segments obtained in the rst pass reognition. This segment lustering was performed by means of a b ottom-up lustering, whih used the Bayesian Information Criterion (BIC) as the stop riterion. As a result, target lasses were obtained for the MLLR adaption. For the sake of larity, we enumerate the steps of the desrib ed pro ess: 1. Train with the whole Training set. 2. Adapt reognition parameters on Development. 3. First pass reognition of Test. 4. Segment lustering. 5. Estimate adaptation matries dep ending on the sp eied numb er of regression lasses. 6. Apply the transformation matries in a seond pass reognition. Finally, the numb er of regression lasses (sets of Gaussian whih shares a ommon transformation matrix Wc ) were set automatially by speifying the minimum numb er of observations for eah lass. Thus, the exp eriments rep orted b elow ompare the WER p erformane of a non-adapted (baseline) system and an adapted with MLLR: 36 5.3. MLLR Adaptation System WER Baseline 39.8 MLLR 33.9 Table 5.2: Comparison b etween non-adapted and adapted systems As it an b e observed in table 5.2, thanks to the MLLR adaptation a redution of 15% over the baseline is ahieved. It must b e noted that b oth systems were trained with the same lexion and language model. In fat, the mo del used in the rst pass reognition was the same as the baseline. These results onrm that MLLR adaptation is a go o d approximation to apply for sp eaker adaptation. In the future, it ould b e used as well as MLLR adaptation, adaptive training or even vo al trat length normalisation. 37 Figure 6.2: Phases of the Matterhorn Workow Figure 6.3: Web Player and interative transription editor CHAPTER 7 CONCLUSIONS There are large amounts of information b eing ontinuously generated and stored. However, information have to be ompletely annotated in order to enable its ontent searh by searh engines. The problem is that some of these resoures are hard and exp ensive to annotate. An example of suh resoures are old handwritten text do uments and videos. Both are dierent, but the theoretial bakground of its automati annotation is shared. This work has ontributed to improve the reognition performane of old text do uments with a multilingual nature. More onretely, the ontributions in this area has b een the following: Language adaptation on the transription of handwritten text do uments A sp eially app ealing ase is the transription of multilingual do uments, suh as GERMANA [6℄, in whih up to six dierent languages app ear. In this task, the o existene of languages diulties the task, as it greatly inreases the language omplexity. In this work, we have dealt with this problem by developing a language-dep endent approah, in whih a dierent system is trained for eah language. Conretely, we presented two dierent ontributions. First, we desrib ed the implementation of a language identiation metho d, in order to detet the language of an untransribe line and orretly swith its orresp onding language dep endent HTR system. Last, we studied the adaption of tuning variables on the dierent language dependent reogniser. These ontributions led to two publiations on two international onferene ranked as C, aording to the CORE: 47 Chapter 7. Conlusions • M. A. del Agua , N. Serrano and A. Juan. Language Identiation for Interative Handwriting Transription of Multilingual Douments . In Pro . of the 5th Ib erian Conferene on Pattern Reognition and Image Analysis (IbPRIA 2011), pp 596603. Las Palmas de Gran Canaria (Spain). 2011. • M. A. del Agua , N. Serrano, J. Civera and A. Juan. Charater-based Multilingual Handwriting Reognition . In Pro . of IBERSPEECH 2012. Madrid (Spain). 2012 As a future work, it an b e improved the reognition of the multilingual system by ombining linearly the language mo dels from eah language. Regarding the improving of sp eeh reognition, it has been applied the well-known MLLR adaptation tehnique to the orpus p oliMedia: Adaptation in automati sp eeh reognition of video letures Atually, many universities are digitising their letures, reating huge repositories, in whih for eah leture, users an aess video reordings along with its slides. This is the ase of p oliMedia, a video leture database of the Universitat Politènia de Valenià (UPV). ASR of this database entangles several diulties, for example, the great numb er of dierent sp eakers and topis. In this work, we present the rst step on ASR of this database along with a detailed analysis. Conretely, we present results using a standard ASR system and ompare them with another system in whih adaptation is performed for eah segment using the MLLR algorithm. In the future, the appliation of adaptive training or vo al trat length normalisation ould b e applied to b etter adapt the aousti mo dels. And nally, in an eort to apply a sp eeh reogniser in a real senario, it has been presented an HTML5 video player whih allows to interatively transribe videos: Extension of Matterhorn, a framework for digitising video letures Matterhorn is a software framework that deals with the whole proess of aquiring a leture, whih goes from its digitisation to its on-line publiation. This software have b een hosen by the UPV in order to reord and give aess to the ommunity to its letures. In this work, we desrib ed the urrent state of development that is b eing arried out to deal with the p oliMedia database. Conretely, the most imp ortant step had been the inlusion of a ASR system inside Matterhorn to automatially transribe the letures sp eeh, along with an interative to ol that enable users to orret the ASR errors. As a future work, the develop ed interative ASR system will b e integrated into the Matterhorn infrastruture, so as to enable the users to interatively orret automati sp eeh transriptions. Moreover, it will b e extended to allow interative translation. 48 BIBLIOGRAPHY [1℄ L. L. et al., Sp eeh reognition for mahine translation in quaero, in International Workshop on Spoken Language Translation , (San Franiso, California, USA), pp. 121128, 2011. [2℄ H. Bunke, S. Bengio, and A. Viniarelli, Oine reognition of unonstrained handwritten texts using hmms and statistial language mo dels, IEEE Transa- tions on Pattern Analysis and Mahine Intel ligene , vol. 26, no. 6, pp. 709 720, 2004. [3℄ A. Graves, M. Liwiki, S. Fernandez, R. Bertolami, H. Bunke, and J. Shmidhub er, A novel onnetionist system for unonstrained handwriting reognition, IEEE Transations on Pattern Analysis and Mahine Intel ligene , vol. 31, no. 5, pp. 855 868, 2009. [4℄ S. Luz, M. Maso o dian, and B. Rogers, Interative visualisation tehniques for dynami sp eeh transription, orretion and training, in Proeedings of the 9th ACM SIGCHI New Zealand Chapter's International Conferene on Human- Computer Interation: Design Centered HCI , (New York, NY, USA), pp. 916, 2008. [5℄ N. Serrano, A. Giménez, A. Sanhis, and A. Juan, Ative learning strategies in handwritten text reognition, in Pro. of the 12th Int. Conf. on Multimodal Interfaes and the 7th Workshop on Mahine Learning for Multimodal Interation (ICMI-MLMI 2010) , no. 86, (Beijing (China)), 2010. [6℄ D. Pérez, L. Tarazón, N. Serrano, F. Castro, O. Ramos-Terrades, and A. Juan.,  The GERMANA database, in Pro. of the 10th Int. Conf. on Doument Analysis and Reognition (ICDAR 2009) , (Barelona (Spain)), pp. 301305. [7℄ C. M. Bishop, Pattern Reognition and Mahine Learning (Information Siene and Statistis) . Springer, 1st ed. 2006. orr. 2nd printing ed., 2007. 49 Bibliography [8℄ L. R. Rabiner in Readings in speeh reognition , h. A tutorial on hidden Markov mo dels and seleted appliations in sp eeh reognition, pp. 267296, 1990. [9℄ S. F. Chen, An empirial study of smo othing tehniques for language modeling, teh. rep., 1998. [10℄ V. Romero, Multimodal Interative Transription of Handwritten Text Images . PhD thesis, Universidad Politénia de Valenia, 2010. Advisors: Enrique Vidal and Alejandro H. Toselli. [11℄ A. H. Toselli, Reonoimiento de Texto Manusrito Continuo . PhD thesis, Departamento de Sistemas Informátios y Computaión. Universidad Politénia de Valenia, 2004. [12℄ UPV,  p oliMedia. https://polimedia.upv.es/atalogo/ , 2008. [13℄ U. V. Marti and H. Bunke,  The IAM-database: an English sentene database for o-line handwriting reognition, IJDAR , pp. 3946, 2002. [14℄ P. Wo o dland, C. Leggetter, J. Odell, V. Valthev, and S. Young, The 1994 htk large voabulary sp eeh reognition system, in Aoustis, Speeh, and Signal Proessing, 1995. ICASSP-95., 1995 International Conferene on , vol. 1, pp. 73 76 vol.1, 1995. [15℄ A. Stolke,  SRILM  an extensible language modeling to olkit, in Pro. of ICSLP'02 , pp. 901904, 2002. [16℄ C. Barras, E. Georois, Z. Wu, and M. Lib erman, Transrib er: Development and use of a to ol for assisting sp eeh orp ora pro dution, Speeh Communiation , vol. 33, no. 12, pp. 5  22, 2001. [17℄ D. Rybah, S. Hahn, P. Lehnen, D. Nolden, M. Sundermeyer, Z. Tüske, S. Wiesler, R. Shlüter, and H. Ney, Rasr - the rwth aahen university op en soure sp eeh reognition to olkit, in IEEE Automati Speeh Reognition and Understanding Workshop , (Hawaii, USA), 2011. [18℄ M. A. del Agua, Multilingualidad en el reono imiento de texto manusrito. Final Degree Pro jet, 2010. [19℄ N. Serrano, L. Tarazón, D. Pérez, O. Ramos-Terrades, and A. Juan,  The GIDOC prototype, in Pro. of the 10th Int. Workshop on Pattern Reognition in Information Systems (PRIS 2010) , (Funhal (Portugal)), pp. 8289. [20℄ M. Bisani and H. Ney, Op en vo abulary sp eeh reognition with at hybrid models, in Pro. of the European Conf. on Speeh Communiation and Tehnology , p. 725728, 2005. [21℄ I. Szoke, L. Burget, J. Cerno ky, and M. Fapso, Sub-word mo deling of out of vo abulary words in sp oken term detetion, in Spoken Language Tehnology Workshop, 2008. SLT 2008. IEEE , pp. 273 276, 2008. 50 Bibliography [22℄ A. Brakensiek, J. Rottl, A. Kosmala, and G. Rigoll,  O-Line handwriting reognition using various hybrid mo deling tehniques and harater N-Grams, in In 7th International Workshop on Frontiers in Handwritten Reognition , p. 343352, 2000. [23℄ F. Zamora, M. J. Castro, S. España, and J. Gorbe, Unonstrained oine handwriting reognition using onnetionist harater n-grams, in Neural Networks (IJCNN), The 2010 International Joint Conferene on , pp. 1 7, 2010. [24℄ D. Rybah, C. Gollan, G. Heigold, B. Homeister, J. Lööf, R. Shlüter, and H. Ney, The RWTH aahen university op en soure sp eeh reognition system, in Interspeeh , (Brighton, U.K.), pp. 21112114, 2009. [25℄ B. Efron and R. J. Tibshirani, An Introdution to Bootstrap . Chapman & Hall/CRC, 1994. [26℄ M. A. del Agua, N. Serrano, and A. Juan, Language identiation for interative handwriting transription of multilingual do uments, in Pro. of the 5th Iberian Conferene on Pattern Reognition and Image Analysis (IbPRIA 2011) , (Las Palmas de Gran Canaria (Spain)), pp. 596603, 2011. [27℄ C.-H. Lee, C.-H. Lin, and B.-H. Juang, A study on sp eaker adaptation of the parameters of ontinuous density hidden markov mo dels, Signal Proessing, IEEE Transations on , vol. 39, no. 4, pp. 806 814, 1991. [28℄ J. D. V. et. al, Integrating a state-of-the-art asr system into the op enast matterhorn platform. Ib erSp eeh2012, 2012. Submitted. [29℄ J. B. Mihel et al. , Quantitative analysis of ulture using millions of digitized b o oks, Siene , vol. 331, no. 6014, pp. 176182. [30℄ J. lu Gauvain and C. hui Lee, Maximum a p osteriori estimation for multivariate gaussian mixture observations of markov hains, IEEE Transations on Speeh and Audio Proessing , vol. 2, pp. 291298, 1994. [31℄ C. Leggetter and P. Wo o dland, Maximum likelihoo d linear regression for sp eaker adaptation of ontinuous density hidden markov mo dels, Computer Speeh & Language , vol. 9, no. 2, pp. 171  185, 1995. 51 Bibliography 52 LIST OF FIGURES 3.1 Monolingual System: WER as a funtion of the blo k lines used in training, obtained on the next blo k and aumulated to the previous. 16 4.1 Exp eriment metho dology . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.2 Bottom: WER obtained as a funtion of the trained blo ks for adapted and baseline systems. Top: WER inrement b etween b oth systems. . . 22 4.3 Bottom: WER on all reognised blo k so far obtained as a funtion of the trained blo ks for adapted and baseline systems. Top: WER inrement b etween b oth systems. . . . . . . . . . . . . . . . . . . . . . 22 4.4 Bottom: Aumulated WER omparison b etween the adapted monolingual system and the adapted multilingual as a funtion of the blo ks lines trained. Top: WER dierene b etween b oth systems. . . . . . . . 24 4.5 WER in GERMANA as a funtion of the number of reognized lines. . 27 4.6 WER in GERMANA as a funtion of the numb er of reognized lines for the monolingual and language-dependent approahes. Results are presented from line 3500, in whih a dierent language apart from Spanish app ears. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.7 Comparison of word-based and harater-based reognition. . . . . . 32 6.1 Matterhorn arhiteture . . . . . . . . . . . . . . . . . . . . . . . . . . 43 6.2 Phases of the Matterhorn Workow . . . . . . . . . . . . . . . . . . . . 44 6.3 Web Player and interative transription editor . . . . . . . . . . . . . 45 53