Contributions to Adaptation on Automatic Speech Recognition and Multilingual Handwritten Text Recognition
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 eeh Reognition and Multilingual Handwritten Text Reognition Work presented by Miguel Ángel del Agua Teba and sup ervised by D. Niolás Serrano Martínez Santos and Dr. Alfons Juan Císar Septemb er 7, 2012
ii
CONTENTS 1 Intro dution 1 2 Preliminaries 5 2.1 Intro dution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.2 Theoretial Bakground . . . . . . . . . . . . . . . . . . . . . . . . . . 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 dution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 Reognition of Multilingual Do - uments 19 4.1 Intro dution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 Identiation . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.4.1 Probabilisti Framework . . . . . . . . . . . . . . . . . . . . . . 24 4.4.2 Exp eriments . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 4.5 Dealing with OOVs: Charater-based approah . . . . . . . . . . . . . 28 4.5.1 Exp eriments . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 iii
CONTENTS 5 Adaptation on Sp eeh Reognition 33 5.1 Intro dution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 dution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 6.2 Op enast Community and the Matterhorn pro jet . . . . . . . . . . . 39 6.3 Matterhorn Infrastruture . . . . . . . . . . . . . . . . . . . . . . . . . 40 6.4 Contribution to Matterhorn . . . . . . . . . . . . . . . . . . . . . . . . 41 7 Conlusions 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 searh engines have made possible the instant aess to this information. However, information have to b e ompletely annotated in order to enable these searh engines to insp et the ontent. The problem is that some of these resoures are expensive and hard to annotate. An example of these resoures 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 letures. Many universities are urrently reording letures and storing them for p osterior referene. However, searhes within all letures have to be arried out by their title or topi, b eause annotations of the leturer's sp eeh are unavailable. This master's thesis deals with some improvement in the annotation of this two related tasks, handwritten text and sp eeh. Natural Language Pro essing (NLP) is a researh area that aims to develop automati systems that are able to pro ess and omprehend human language by means of tehniques and algorithms from Mahine Learning (ML). One of the most heti sub-areas inside NLP is Automati Sp eeh Reognition (ASR), that deals with the automati annotation of sp eeh. Annotation of sp eeh is a diult task, as sp eeh is a ontinuous signal with a high variability dep ending on the sp eaker, language, topi, among some other features. Nowadays, muh progress have b een p erformed in this area, but even state-of-the-art systems are not able to generate aeptable annotations [1℄ to b e used by searh engines. A related area to ASR is Handwritten Text Reognition (HTR), whih deals with the annotation of handwritten do uments. 1
Chapter 1. Intro dution HTR is related to ASR, as the two of them model ontinuous signal and the mo dels and tehniques from one an b e applied into the other. In ase of HTR, handwritten sript is a ontinuous signal b eause handwritten word are typially written from left to right. This similarity has aused that tehniques and approahes of ASR an b e suessfully employed in HTR [2℄. However, as it happ ens in ASR, even the automati transription of the b est urrent approahes are still far from p erfet [3℄. Even though automati systems annot be used in a fully automati approah, they an still b e used as a to ol in an interative approah, in whih the system and the user ollab orate to omplete the task. This approah has b een used suessfully in b oth, ASR [4℄ and HTR [5℄. Interative approahes have to deal with several problems. The rst problem is to build an user friendly interfae to interat with the system. Another imp ortant diulty is how to employ user interation further than simply p ost-editing the system output. This master's thesis deals with these two problem. Conretely, in an ASR, we deal with some parts within the interative annotation problems of video letures. On the other hand, in HTR, we improve the interative transription pro ess of multilingual do uments. More sp eially, the ontributions desribed in this work are the following: Language adaptation on the transription of handwritten text do uments A sp eially appealing ase is the transription of multilingual do uments, suh as GERMANA [6℄, in whih up to six dierent languages app ear. In this task, the o existene of languages diulties the task, as it greatly inreases the language omplexity. In this work, we deal with this problem by developing a language-dep endent approah, in whih a dierent system is trained for eah language. Conretely, we present to dierent ontributions. First, we desribe the implementation of a language identiation metho d, in order to detet the language of an untransrib e line and orretly swith its orresp onding language dependent HTR system. Last, we study the adaption of tuning variables on the dierent language dependent reogniser. These ontributions have led to two publiations on two international onferene ranked as C, aording to the CORE: • M. A. del Agua , N. Serrano and A. Juan. Language Identiation for Interative Handwriting Transription of Multilingual Douments . In Pro . of the 5th Ib erian Conferene on Pattern Reognition and Image Analysis (IbPRIA 2011), pp 596603. Las Palmas de Gran Canaria (Spain). 2011. • M. A. del Agua , N. Serrano, J. Civera and A. Juan. Charater-based Multilingual Handwriting Reognition . In Pro . of IBERSPEECH 2012. Madrid (Spain). 2012 Adaptation in automati sp eeh reognition of video letures Atually, many universities are digitising their letures, reating huge repositories, in whih for eah leture, users an aess video reordings along with its slides. This is the ase of p oliMedia, a video leture database of the Universitat Politènia de Valenià (UPV). ASR of this database entangles several diulties, for example, the great numb er of dierent sp eakers and topis. In 2
this work, we present the rst step on ASR of this database along with a detailed analysis. Conretely, we present results using a standard ASR system and ompare them with another system in whih adaptation is p erformed for eah segment using the MLLR algorithm. Extension of Matterhorn, a framework for digitising video letures Matterhorn is a software framework that deals with the whole pro ess of aquiring a leture, whih go es from its digitisation to its on-line publiation. This software have b een hosen by the UPV in order to reord and give aess to the ommunity to its letures. In this work, we desrib e the urrent state of development that is b eing arried out to deal with the p oliMedia database. Conretely, the most imp ortant step is the inlusion of a ASR system inside Matterhorn to automatially transrib e the letures sp eeh, along with an interative to ol that will enable users to orret the ASR errors. 3
CHAPTER 2 PRELIMINARIES 2.1 Intro dution In this setion, we introdue the mathematial foundations of automati reognition of ontinuous signals orresp onding to a sequene of words. This is the ase of ASR and HTR, whih are the tasks studied in this work. Current ASR and HTR systems use a statistial approah based on PR tehniques. 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 searh problem of the most probable transription given an input signal, sp eeh in ASR, or handwritten text in HTR. Under ertain assumptions and in a perfet environment, the resulting transription an b e onsidered the b est transription that ould b e obtained. Although, in real life problems this p erfet onditions annot b e ahieved, the resulting systems are able to deal reliably with this task. 2.2 Theoretial Bakground Current ASR and HTR systems use a statistial approah based on PR tehniques. PR is a subarea of ML, whih studies how to assign to a given input its orresp onding lab el or lass. In HTR, the input orresp onds to a sequene of N feature vetors x=x1,··· , xN representing an image, while its lab el orresp onds to M words forming the image transription w=w1,··· , wM . In ase of lassiation tasks in whih error is measured using the lassiation error rate (CER), i.e. the ratio of errors ommitted when lassifying, the Bayes deision rule [7℄ states that, the b est sequene of words 5
Chapter 2. Preliminaries where C(v) is the numb er of times that the sequene v has app eared on the training sequene w . This is a maximum likeliho o d (ML) estimate. Sine not all p ossible n -grams have typially b een seen in training, some smo othing metho d must b e used to allow for unseen n -grams in the reognition phase. Two main smo othing tehniques were used in this work: interpolation and "Bak-o". However, it is not the aim of this master's thesis to develop these tehniques for smoothing, aordingly the reader is referred to [11℄ for an extended overview. 12
CHAPTER 3 CORPORA AND BASELINE EXPERIMENTS 3.1 Intro dution In this hapter, the main features of the dierent orp ora that have been used thoughtfully on this master's thesis are exp osed, along with the results of a rst baseline approah. The rst one, the GERMANA database [6℄, is an o-line handwritten text manusript obtained as a result of annotating and digitising a 764 -page manusript entitled "Notíias y Doumentos 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, Frenh, Italian, Latin and German until the end. It was written by Vient Salvador, the Cruïlles' marquis in 1891 . It has approximately 21K text lines manually marked and transrib 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 eeh orpus obtained by transribing 704 video letures from the Universitat Politènia de Valénia , orresp onding to 115 hours, so as to provide in-domain data set for training, adaptation and internal evaluations in Spanish, within the transLetures pro jet. 3.2 The GERMANA Database As said, the GERMANA, is an o-line handwritten text manusript obtained as a result of annotating and digitising a 764 -page of 1981 . GERMANA is not a partiularly diult task for several reasons. First, it is a single-author manusript on a limited- 13
Chapter 3. Corp ora and Baseline Exp eriments domain topi. Also, the original manusript was well-preserved and most pages only ontain nearly alligraphi text written on ruled sheets of well-separated lines. Moreover, the manusript omprises ab out 217K running words from a voabulary of 30K whih, apparently, is a reasonable amount of data for single-author handwriting and language mo deling. However, text line extration and o-line handwriting reognition on GERMANA is not partiularly easy. It has the typial prop erties of historial do uments that make things diult: sp ots, writing from the verso app earing on the reto, unusual haraters and words, et. Also, the manusripts inludes many notes and app ended do uments. In addition, GERMANA p ossesses a high language omplexity due to the app earane of multiple languages. Due to its sequential b o ok struture, it is also well-suited for realisti assessment of interative handwriting reognition systems. Moreover, it an b e used as well to test approahes for language identiation and adaptation from single author handwriting as it is used in this masters' thesis. The manusript was arefully sanned by exp erts from the Valenia Library at 300dpi in true olours. Then, the whole manusript was transrib ed line by line, by paleographi exp erts, in aordane with the following transription rules: • Page and line breaks were opied exatly. • Blank spae was only used to separate words. • No sp elling mistakes were orreted. • No ase or aentuation hange was done. • Puntuation signs were opied as they app eared. • Words abbreviations were rst opied verbatim, exept for subindies and sup erindies, whih were written in L A T E X-like notation as _{sub} and {super} , resp etively. Then, they were followed by the orresp onding word b etween brakets. Also, to failitate language-dep endent pro essing of the manusript, eah transrib ed line was manually lab elled in aordane with its dominant language. In table 3.1 on the next page ontains some basi statistis drawn from GERMANA. These statistis were omputed after applying the following prepro essing steps in order to redue the language mo deling omplexity: • Substitution of abbreviations by their orresp onding words. • Conatenation of hyphenated words at line ends with their remainders. • Isolation of puntuation signs. Note that Spanish part of GERMANA omprises ab out 17K text lines and 177K running words from a lexion of 20K words. It is also worth noting that 56% of the 14
3.2. The GERMANA Database Language Lines Words Lexion 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 Frenh 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 statistis of GERMANA. words only o ur one (singletons). Regarding the other, non-Spanish parts, it is lear that it is diult 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 aount for less than a 3% . Similar p erentages also apply for the numb er of lines. In terms of lexions, it is worth noting that Spanish and, to a lesser extent, Catalan and Latin, have lexions omparable in size to standard databases suh as IAM [13℄. Also note that the sum of individual lexion sizes ( 29.9 K) is larger than the size of the global lexion ( 27.1 K). This is due to presene of words ommon to dierent languages, suh as ommon words in Spanish and Catalan. On the other hand, singletons, that is, words ourring only one, aount for most words in eah lexion ( 55% −71% ). It go es without saying that, as usual, language modelling is a diult task. To b e more preise, in Table 3.1 we have inluded the global p erplexity and the p erplexity of eah language, as given by a bigram mo del on a 10-fold rossvalidation exp eriment. Perplexity is an information theory metri that is typially 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 unertainty. 3.2.1 Baseline Exp eriments As indiated b elow, GERMANA is a single-author manusript written up to 6 dierent languages, but mainly in Spanish, Catalan and Latin. Our main goal is to study the results of transribing of the whole GERMANA database using a rst baseline system to b e used as baseline in the next hapter. In the baseline system, whih 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 transriptions. In our exp eriments, we simulated the sequential transription pro ess of GERMANA. We divided GERMANA into 40 blo ks of 500 lines eah. The rst two blo ks were fully transrib ed and an initial system was trained from the rst and adapted in the seond. 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 eah, while the language mo del resulted in an interp olated 2 -gram with mo died Kneser-Ney disount [9℄. This parameters remain unaltered for the rest of the exp eriments. Then, from blo k 2 to 40 , eah 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 transriptions so far. The software used to train the HMMs was HTK [14℄ and SRILM [15℄ for language mo del training, while the reognition was also arried out by HTK. The p erformane of the system, in terms of WER, an b e observed in Fig. 3.1. For eah blo k, we represented the WER of all reognised blo k so far. This is to represent an overall mean error at its stage of the transription b eause the individual error of eah blo k highly depends on its language and struture. 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 funtion of the blo ks lines trained and obtained reognising the next. Furthermore, WER by language has been inluded for Spanish, Catalan and Latin. As observed, the monolingual system ahieves a nal WER of 45.9 . Even though, user interation ould be used to improve the transriptions, this baseline error is to o high to really improve from the manual transription. A further analysis of the results revealed that, eah time a language appears, the system gets worse. The main ause of this eet is the inrement of out-of-vo abulary (OOVs) words, whih are words that annot b e reognised by the system beause they were no present in the training. In addition, eah dierent language follows a dierent struture, whih 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 Reently, an innovative servie for reation and distribution of multimedia eduational ontent has b een develop ed at the Universitat Politènia de Valènia (UPV) under the name of p oliMedia [12℄. Its purp ose is to allow UPV professors to reord letures on videos lasting of 10 minutes at most. Video letures are aompanied with timealigned slides and reorded at sp eialised studios under ontrolled onditions so as to ensure maximum video and audio quality and homogeneity. For the time b eing, p oliMedia atalogue inludes almost 8000 videos aounting for more than 1000 hours of letures. Authors retain all intelletual prop erty rights and not all videos are publily available. More preisely, only ab out 2000 videos an b e aessed freely. p oliMedia along with Videoletures.NET a , are the two rep ositories planned to b e fully transrib ed in the framework of the Europ ean pro jet transLetures b . To this purp ose, 704 video letures in Spanish orresp onding to 115 hours were manually transrib ed using the to ol Transrib er [16℄, so as to provide in-domain data sets for training, adaptation and internal evaluations in the transLetures pro jet. These transrib ed video letures were seleted aording to the op en aess p ermissions granted by the authors, whih guarantees that the orpus an b e used by the researh ommunity beyond the sop e of the transLetures pro jet. Most of the transrib ed videos were annotated with its orresp onding sp eaker, topi and keywords. More preisely, 94% of the videos were assigned a topi and 83% were desrib ed with keywords. However, these topis and keywords were not derived from a thesaurus, suh as EuroVo . 3.3.1 Baseline Exp eriments In this setion, we desribed 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 statistis of this partition an b e found in Table 3.2. Topis inluded in development and test sets range from art studies suh as marketing or law, to tehnial studies suh as hemistry or statistis. On the other hand, this topis are also inluded in the training set among many other ones, hene, this partitions is not topi indep endent. To arry out the baseline exp eriments, the RWTH ASR [17℄ software was used for aousti mo deling and SRILM [15℄ for language mo del training. First, The baseline system, inluding aousti, lexion and language mo dels was trained on the training set. Then, system parameters were adapted in terms of WER on the development set. Aousti mo dels were trained using triphones b eause it is well known that they outp erforms monophonemes due to its ontext knowledge. Triphoneme mo dels were a http://videoletures.net b http://transletures.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 Sentenes 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 statistis on the p oliMedia partition. inferred using onventional CART mo del using 2001 leaves. System adaptation on the development set resulted in a aousti mo de, in whih eah HMMs has 5 state with no lo op-bak, and eah of the emits a Gaussian of 29 omp onents. The b est language mo del aording to the system adaptation is an interp olated trigram mo del with Kneser-Ney disount. The result obtained with these parameters, and adapting on the development set was 00 in terms of WER. It will b e disussed how to improve this result, by means of sp eaker adaptation suh 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 dution As shown in the previous hapter, HTR has gained muh interest nowadays. The reason is that there are large volumes of old handwritten do uments that need to b e transrib ed in order to preserve and quikly aess the ontents. The problem is that, even in state-of-the-art do uments [3℄, automati transription are still far from p erfet. In the previous hapter, we p erformed an HTR exp eriment on the GERMANA database, whih orresp onds to a single-author handwritten text do uments of 1891. From the results, we observed that quality of automati transriptions 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 due some improvements in order to solve the ommented problems. First, as new sup ervised words are generated after the reognition of eah blo k, we studied the adaptation of some reognition parameters dealing with the language mo del. Next, we onsider the multilinguality of the do ument by p erforming a language-dep endent approah. In this approah, we also develop ed a metho d for automatially lassifying the language of a line, as it is required to reognise it with its orresp onding language dep endent system. Finally, the OOVs problem is approahed by means of building a harater-based model, rather than the typial word-based mo dels. 19
Chapter 4. Adaptation on Handwritten Text Reognition of Multilingual Do uments 4.2 GSF and WIP Adaptation The aim of this task is to fully transrib e the GERMANA database as it would in a real interative senario. In that ase, GERMANA must b e transrib 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. Hene, in order to b etter adapt to this hanges, reognition parameters an be optimized one new data is inorp orated to train. More sp eially, in our ase, these parameters will be adapted on the last blok added to the training partition, dierently from the rst experiments p erformed, in whih the parameters were only optimized on the seond blo k and remained unhanged. We have onsidered two reognition parameters: Grammar Sale Fator (GSF) and Word Insertion Penalty (WIP). These parameters are intro dued in the reognition to p erform a trade-o b etween image and language model sores. More onretely, GSF is the amount by whih the language model probability is saled before b eing added to eah 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 eah token when it transits from the end of one word to the start of the next. These parameters are intro dued 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 onseutive blo ks may share ommon harateristis. 4.2.1 Exp eriments In this exp eriment, we follow the same pro ess intro dued in Se. 3. The GERMANA database was divided into 40 blo ks of 500 lines eah. The rst two blo ks were already transrib ed from whih an initial system was trained and adapted. Then, from blo k 2 to 40 , eah blo k is reognised, 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, reognition 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 onseutive blo ks might share more similar struture, writing or style than two separate bloks. Results in terms of WER for eah individual blok are presented in Fig. 4.2. In this gure, the previous Baseline approah, in whih no adaptation is used, is ompared with the urrent system, whih 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 , whih was disussed in Se. 3.2 on page 13, when a b etter p erformane an b e notied. This is due to the fat that the image models an not deal with all the existing variane between the same harater, and thus the language mo del should arry with higher weight values in order to obtain a b etter reognition. Finally, Fig. 4.3 represented the results in terms of WER for all reognised bloks so far, as it was depited in the previous hapter. In this ase we an observe that, the adapted system ahieved a WER of 44.3 , whih is an improvement of of 1.6 WER p oints from the non-adapted system. In the next setion it will b e disussed the suitability of treating eah language separately and it will b e ompared to this adapted monolingual system (all sentenes b elonging to the same language). 21
Chapter 4. Adaptation on Handwritten Text Reognition of Multilingual Do uments 4.5 Dealing with OOVs: Charater-based approah Previous results exploiting multilinguality on the GERMANA database proved the b enets of expliitly mo delling language identiation at the line level in a intera- tive transription senario .However, these results are far from allowing an eetive interative transription. In that work, the sup ervision eort would b e exessively high, and the user might prefer to ignore the automatially generated output and transrib e the manusript from srath. An error analysis revealed that most of these errors were due to out-of-vo abulary (OOV) words. In fat, 53% to 71% of the words in the GERMANA database are singletons, words ourring only one in the lexi- on of eah language. Another imp ortant problem was the sare resoures 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 dierent areas of NLP. In sp eeh reognition, whih is losely related to handwritten text reognition as far as mo delisation is onerned, notable eorts has b een deployed over the last deades to deal with OOV words. In [20℄, the original lexion is extended with words from external resoures that are represented as a sequene of haraters (graphemes, to b e more preise) onverted into phonemes. In [21℄, several sub-word based metho ds for sp oken term detetion task and phone reognition are presented to searh OOV words. Phone and multigram-based systems provide similar p erformane on the phone reognition task, sup erseding the standard word-based system. Regarding handwriting text reognition, the authors in [22℄ ompared the p erformane of a onventional word-based language model to that of a harater-based language mo del in the ontext of a German oine handwritten text reognition task. However, harater-based language mo dels were not superior to their word-based ounterparts. A hybrid approah b etween a standard harater-based n-gram language mo del and a harater-based onnetionist language mo del is prop osed in [23℄, whih obtain similar results to word-based systems on the IAM orpus [13℄. To the b est of our knowledge, harater-based language mo dels has not b een able so far to sup ersede word-based language models in handwritten text reognition. Our hyp othesis is that tasks takled in previous work did not ontain a signiant 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, sine the presene of languages suh as Latin, Frenh, 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 neessary to fall bak to adequate harater-based language models. Our main ob jetive is to study the use of harater-based mo dels in GERMANA. As it has b een said, the utilization of harater-based mo dels is motivated by two main features of GERMANA: the high numb er of OOVs, and the resoure sarity to train robust word language mo dels. In addition, we analyze the p erformane of the language identiation tehniques presented in previous setion. a For example, the IAM orpus only ontains ab out 7% of OOV words. 28
4.5. Dealing with OOVs: Charater-based approah System CPL Unigram Bigram Charater-based 2.5 14.2 4.0 Word-based 15.9 5.0 Table 4.2: Language identiation results on GERMANA 4.5.1 Exp eriments As in the rest of the exp eriments, we followed an interative transription framework, where the user sup ervises the output of a system, whih 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 transrib ed and used to build an initial system and tune the training and reognition parameters. Training parameters, suh as number of mixture omp onents and states p er HMM, remains unhanged in all exp eriments. It is worth noting that, in harater-based mo dels, the optimisation of the language model results in a 9 -gram, instead of the 2 -gram mo del of the wordbased approah. Then, starting from blo k numb er 2 to the last. First, the language of eah is identied (if needed) and its transriptions is reognised by the orresp onding language dep endent system. Next, its transription 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 fat that HTK annot handle n -grams over order 2. We p erformed two dierent sets of exp eriments on the desrib ed framework. The ob jetive of the rst set was to study the p erformane of the language identiation metho ds prop osed. On other hand, the ob jetive of the seond set was to study the transription auray of the system when using eah dierent language identiation metho d. In the rst set of exp eriments, we ompared the three dierent approahes for language identiation presented in Se. 4.4 but using a harater-based system. We p erformed the interative transription of GERMANA using desrib ed framework for eah of the approahes. Eah time a blo k is reognised, we measured the numb er of errors ommitted by the language identiation metho d used. It must be noted that, in this set of exp eriments, reognition parameters were tuned to minimise the numb er of language identiation errors. Table 4.2 shows the results in terms of language identiation error-rate (IER) for the whole do ument. We also inluded the results on the same framework of the word-based approah presented in previous setion. From the results in Table 4.2, it an b e observed that CPL ahieved the b est p erformane. CPL to ok fully advantage of do ument sequentially and it only ommitted errors when the language hanged from line to line, whih only o urs a few times in GERMANA. In b oth, harater and word based systems, the bigram approah tuned its parameters to ignore the language dependent reogniser probability and it fores 29
Chapter 4. Adaptation on Handwritten Text Reognition of Multilingual Do uments the system to only relay on the language mo del probability of language lab els. In this ase, the bigram approah identies the language only using the bigram probability. However, the bigram approah only adapts its parameters eah 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 transription pro ess. On the other hand, the harater-based unigram approah ahieved slightly b etter results than its word-based version. In the seond set of exp eriments, we ompared ve dierent approahes in terms of Word Error Rate (WER) on reognised transriptions. WER is dened as the ratio between the minimum numb er of editing operations to onvert the reognised words into the referene, and the numb er of referene words. In the rst approah, we built a monolingual system, where we assume all lines to belong to the same language. This approah is onsidered the baseline, as language identiation step is not needed and it is the simplest approximation to the problem. Next, motivated from the results of the previous setion, we also built the same four dierent language dep endent systems supervised , CPL , bigram , and unigram . It must b e noted that, in this ase, all approahes adapted their parameters to optimize the WER on last blo k. As the unigram and bigram approahes an b e optimized for WER or IER, we also ompared the results of b oth optimizations when transribing, as the transriptions pro dues are dierent. The results are represented in Fig. 4.6, in terms of WER of the reognized text up to the urrent line. On the ontrary, as it happ ened in setion 4.4 on page 23, all multilingual systems ahieved worse results than the monolingual system. However, even though there is not signiant dierene b etween the three b est approahes, as orrob orated by a b o otstrap evaluation [25℄; the monolingual approah is onsidered the best as it is easier to build and it do es not need a language identiation step in reognition. In error mean terms, even in the sup ervised approah, where the language is given, the use of language dep endent reognizers ould not outmath the monolingual approah. The main ause of the monolingual p erformane is pro dued by the origin of all languages but German in GERMANA. Most languages in this do ument are Romane languages, whih ome from the same original language, sharing a ommon underlying language struture. For instane, the lexeme of many words an b e orretly estimated from the Spanish part in order to reognise other similar romane languages, suh as Catalan. In fat, the main resp onsible of the monolingual result is the high order (9-grams) harater-based language mo del, whih was able to estimate the ommon lexeme struture of all romane languages. In language dep endent approahes, it an b e observed that, even though both sup ervised and CPL approahes ahieved the b est transription results, the system p erformane did not always dep end on the language identiation p erformane. On one hand, there is not always a diret relationship b etween IER and WER. For instane, the unigram and bigram IER optimised approahes ahieved a IER of 14.2 and 4.0, resp etively, while the WER results were 28.36 and 27.57. On the other hand, as observed from the dierene b etween the dierent optimizations of unigram and bigram approahes, a system with a worse IER an obtain a b etter WER results. For example, the bigram WER optimised approah obtained 26.34 of WER from a IER of 8.5, while optimising the IER on the same approah ahieved 27.57 of WER 30
4.5. Dealing with OOVs: Charater-based approah 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 funtion of the number of reognized lines for the monolingual and language-dependent approahes. Results are presented from line 3500, in whih a dierent language apart from Spanish app ears. from a IER of 4. These results orroborate our previous onlusions, in whih we observed that a language is b etter reognised using a dierent language dep endent reogniser. However, as said, the monolingual approah ahieved b etter reognition results b eause the improvement from b etter estimated languages is already inluded in the harater-based language mo del. In terms of transription p erformane, in our previous work [26℄, we also dealt with the omplete transription of GERMANA, but using word-based mo dels. In that ase, the monolingual approah obtained 44.39% of WER, however, in this work the same approah obtains 25.19% . These improvement is aused by two fators. On one hand, the RWTH reogniser improved the results due to a new feature extration metho d. On the other hand, further error analysis revealed that, as exp eted, most of this improvement is due to the orret reognition of OOVs words, and puntuation signs. In Figure 4.7, we an observe the p erformane of b oth mo dels in the reognition of a line, onretely, in this example, word-based errors (estado, Viuda, and reejasen) o ured due to OOVs words (itado, Vidal, and reeja). On the other hand, puntuation signs (, after Vidal and Reina), are suessfully reognized in the harater-based approah, whereas, the word-based approah failed to reognize this signs due to its sarity in the training dataset. 31
Image Charater-based invirtieron al itado Vidal, dirijida á la Reina, reeja las Word-based invirtieron al estado Viuda dirijida á la Reina reejasen Figure 4.7: Comparison of word-based and harater-based reognition.
CHAPTER 5 ADAPTATION ON SPEECH RECOGNITION 5.1 Intro dution Nowadays the aess to information is b eoming an inreasing hallenge. Automati searh engines have made p ossible the instant aess to large amounts of information obtained from very dierent ontexts. Until now, we have talked ab out data b eoming from old handwritten text do uments and the need of annotating them to allowing its indexing and ease the aess through digital libraries. But there are many other soures that need an annotation pro ess in order to failitate its searh and dissemination, it is the ase of videos. More sp eially in the ase in question, for the same reason a do ument needed to b e transrib ed, a video should be transribed to allow its video indexing as well as its in-video ontent. Transription of videos is an imp ortant time-onsuming that is b eing arried out by universities whih are urrently reording letures and storing them for p osterior referene. To redue this eort, automati sp eeh reognition (ASR) tehniques will have a ma jor role. The ob jet of ASR is to apture an aousti signal representative of sp eeh and determine the words that were sp oken. In this hapter, our ob jetive is to transrib e the previously presented p oliMedia database obtaining the b est p ossible results. In setion 4, we tried to take advantage of the multilinguality feature of GERMANA, and we onluded that treating eah language separately was the best option b eause 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 dening language-dep endent systems, we ould dene sp eakerdep endent systems. Several studies have proved [27℄ that sp eaker-dep endent (SD) 33
Chapter 5. Adaptation on Sp eeh Reognition systems are typially p erforming, in terms of WER, from two to three times b etter than their equivalent sp eaker-indep endent (SI) ounterparts. Sine a large amount of sp eaker-sp ei data is needed for training SD, SI adaptation tehniques must b e applied. Thus, in this hapter a baseline system without adaptation will be dened 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 inludes state-of-the-art sp eeh reognition tehnology for aousti mo del training. It also inludes sp eaker adaptation, sp eaker adaptive training, unsup ervised training, a nite state automata library, and an eient tree searh deo der. SRILM to olkit is a widespread language modeling to olkit whih have b een applied to many dierent natural language pro essing appliations. Reognition is also arried out by the RWTH ASR to olkit. Audio data was extrated from videos and prepro essed to extrat the normalized aousti features obtaining the Mel-frequeny epstral o eients (MFCCs). Then, triphoneme aousti mo dels based on a prebuilt CART tree were trained using the training set, adjusting parameters suh as numb er of states, the numb er of Gaussian omp onents, numb er of CART leaves, et. on the development set. The lexion 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 transrib ed text after ltering out unwanted symb ols suh as puntuation marks, silene annotations and so on. Finally, as it has been proved in [28℄, in order to enrih the language mo del, we have added an external resoure in the language mo del estimation. More sp eially, 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 suh 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 lexion has been extended to 50000 most frequent words present in Google N-Gram, in order to alleviate the OOV words app earane. Aording 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 expeted, the extended language mo del works b etter than the rst one due to its larger lexion (less OOVs) and to its more preise 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 tehniques fall into two main ategories: Speaker normalization in whih the input sp eeh is normalized to math the sp eaker that the system is trained to mo del, and mo del adaptation tehniques in whih 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 approahes is its eetive 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 tehniques only up date the parameters of mo dels whih 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. Eah 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 due 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 inreased. This ensures that all mo del states an be adapted even if no model-sp ei 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 spei 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 oset vetor for s . •ˆµs os the new mean for s . For the shake of larity, oset vetor is introdued into mean vetor: ˜µs= [ws:µs] ˜ ˆµs=˜ Ws·˜µs (5.2) 35
Chapter 5. Adaptation on Sp eeh Reognition MLLR estimates the regression matries 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 matries are tied aross mixtures omp onents, eah matrix is asso iated with many mixture omp onents. This is ahieved by dening a set of regression lasses where eah lass ontains all the mixture omp onents assoiated with the same regression matrix. In the tied approah, in order to be eetive, it is desirable to onsider an equivalene lass for all the mixture omp onents that use similar transforms. However, sine 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 jetive is to study the improvement ahieved by means of the MLLR transformation. The software used has been the RWTH ASR [17℄ to olkit, whih is a state-of-the-art sp eeh reognition that inlude utilities for sp eaker adaptation (suh as MLLR). We have arried out an unsup ervised adaptation by rstly training a sp eakerindep endent system with only the training set. Seondly, it was adapted on the development set in terms of WER, by trying dierent values of GSF and WIP parameters. Then a rst reognition 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 referene, and thus, the sp eakers are unknown. Instead of sp eaker-oriented adaptation, we have onsidered dierent lasses by lustering the segments obtained in the rst pass reognition. This segment lustering was performed by means of a b ottom-up lustering, whih 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 desrib ed pro ess: 1. Train with the whole Training set. 2. Adapt reognition parameters on Development. 3. First pass reognition of Test. 4. Segment lustering. 5. Estimate adaptation matries dep ending on the sp eied numb er of regression lasses. 6. Apply the transformation matries in a seond pass reognition. Finally, the numb er of regression lasses (sets of Gaussian whih shares a ommon transformation matrix Wc ) were set automatially by speifying the minimum numb er of observations for eah lass. Thus, the exp eriments rep orted b elow ompare the WER p erformane 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 redution of 15% over the baseline is ahieved. It must b e noted that b oth systems were trained with the same lexion and language model. In fat, the mo del used in the rst pass reognition was the same as the baseline. These results onrm 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 trat length normalisation. 37
Figure 6.2: Phases of the Matterhorn Workow
Figure 6.3: Web Player and interative transription 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 searh by searh engines. The problem is that some of these resoures are hard and exp ensive to annotate. An example of suh resoures are old handwritten text do uments and videos. Both are dierent, but the theoretial bakground of its automati annotation is shared. This work has ontributed to improve the reognition performane of old text do uments with a multilingual nature. More onretely, the ontributions in this area has b een the following: Language adaptation on the transription of handwritten text do uments A sp eially app ealing ase is the transription of multilingual do uments, suh as GERMANA [6℄, in whih up to six dierent languages app ear. In this task, the o existene of languages diulties the task, as it greatly inreases the language omplexity. In this work, we have dealt with this problem by developing a language-dep endent approah, in whih a dierent system is trained for eah language. Conretely, we presented two dierent ontributions. First, we desrib ed the implementation of a language identiation metho d, in order to detet the language of an untransribe line and orretly swith its orresp onding language dep endent HTR system. Last, we studied the adaption of tuning variables on the dierent language dependent reogniser. These ontributions led to two publiations on two international onferene ranked as C, aording to the CORE: 47
Chapter 7. Conlusions • M. A. del Agua , N. Serrano and A. Juan. Language Identiation for Interative Handwriting Transription of Multilingual Douments . In Pro . of the 5th Ib erian Conferene on Pattern Reognition and Image Analysis (IbPRIA 2011), pp 596603. Las Palmas de Gran Canaria (Spain). 2011. • M. A. del Agua , N. Serrano, J. Civera and A. Juan. Charater-based Multilingual Handwriting Reognition . In Pro . of IBERSPEECH 2012. Madrid (Spain). 2012 As a future work, it an b e improved the reognition of the multilingual system by ombining linearly the language mo dels from eah language. Regarding the improving of sp eeh reognition, it has been applied the well-known MLLR adaptation tehnique to the orpus p oliMedia: Adaptation in automati sp eeh reognition of video letures Atually, many universities are digitising their letures, reating huge repositories, in whih for eah leture, users an aess video reordings along with its slides. This is the ase of p oliMedia, a video leture database of the Universitat Politènia de Valenià (UPV). ASR of this database entangles several diulties, for example, the great numb er of dierent sp eakers and topis. In this work, we present the rst step on ASR of this database along with a detailed analysis. Conretely, we present results using a standard ASR system and ompare them with another system in whih adaptation is performed for eah segment using the MLLR algorithm. In the future, the appliation of adaptive training or vo al trat length normalisation ould b e applied to b etter adapt the aousti mo dels. And nally, in an eort to apply a sp eeh reogniser in a real senario, it has been presented an HTML5 video player whih allows to interatively transribe videos: Extension of Matterhorn, a framework for digitising video letures Matterhorn is a software framework that deals with the whole proess of aquiring a leture, whih goes from its digitisation to its on-line publiation. This software have b een hosen by the UPV in order to reord and give aess to the ommunity to its letures. In this work, we desrib ed the urrent state of development that is b eing arried out to deal with the p oliMedia database. Conretely, the most imp ortant step had been the inlusion of a ASR system inside Matterhorn to automatially transribe the letures sp eeh, along with an interative to ol that enable users to orret the ASR errors. As a future work, the develop ed interative ASR system will b e integrated into the Matterhorn infrastruture, so as to enable the users to interatively orret automati sp eeh transriptions. Moreover, it will b e extended to allow interative translation. 48
BIBLIOGRAPHY [1℄ L. L. et al., Sp eeh reognition for mahine translation in quaero, in International Workshop on Spoken Language Translation , (San Franiso, California, USA), pp. 121128, 2011. [2℄ H. Bunke, S. Bengio, and A. Viniarelli, Oine reognition of unonstrained handwritten texts using hmms and statistial language mo dels, IEEE Transa- tions on Pattern Analysis and Mahine Intel ligene , vol. 26, no. 6, pp. 709 720, 2004. [3℄ A. Graves, M. Liwiki, S. Fernandez, R. Bertolami, H. Bunke, and J. Shmidhub er, A novel onnetionist system for unonstrained handwriting reognition, IEEE Transations on Pattern Analysis and Mahine Intel ligene , vol. 31, no. 5, pp. 855 868, 2009. [4℄ S. Luz, M. Maso o dian, and B. Rogers, Interative visualisation tehniques for dynami sp eeh transription, orretion and training, in Proeedings of the 9th ACM SIGCHI New Zealand Chapter's International Conferene on Human- Computer Interation: Design Centered HCI , (New York, NY, USA), pp. 916, 2008. [5℄ N. Serrano, A. Giménez, A. Sanhis, and A. Juan, Ative learning strategies in handwritten text reognition, in Pro. of the 12th Int. Conf. on Multimodal Interfaes and the 7th Workshop on Mahine Learning for Multimodal Interation (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 Doument Analysis and Reognition (ICDAR 2009) , (Barelona (Spain)), pp. 301305. [7℄ C. M. Bishop, Pattern Reognition and Mahine Learning (Information Siene and Statistis) . Springer, 1st ed. 2006. orr. 2nd printing ed., 2007. 49
Bibliography [8℄ L. R. Rabiner in Readings in speeh reognition , h. A tutorial on hidden Markov mo dels and seleted appliations in sp eeh reognition, pp. 267296, 1990. [9℄ S. F. Chen, An empirial study of smo othing tehniques for language modeling, teh. rep., 1998. [10℄ V. Romero, Multimodal Interative Transription of Handwritten Text Images . PhD thesis, Universidad Politénia de Valenia, 2010. Advisors: Enrique Vidal and Alejandro H. Toselli. [11℄ A. H. Toselli, Reonoimiento de Texto Manusrito Continuo . PhD thesis, Departamento de Sistemas Informátios y Computaión. Universidad Politénia de Valenia, 2004. [12℄ UPV, p oliMedia. https://polimedia.upv.es/atalogo/ , 2008. [13℄ U. V. Marti and H. Bunke, The IAM-database: an English sentene database for o-line handwriting reognition, IJDAR , pp. 3946, 2002. [14℄ P. Wo o dland, C. Leggetter, J. Odell, V. Valthev, and S. Young, The 1994 htk large voabulary sp eeh reognition system, in Aoustis, Speeh, and Signal Proessing, 1995. ICASSP-95., 1995 International Conferene on , vol. 1, pp. 73 76 vol.1, 1995. [15℄ A. Stolke, SRILM an extensible language modeling to olkit, in Pro. of ICSLP'02 , pp. 901904, 2002. [16℄ C. Barras, E. Georois, Z. Wu, and M. Lib erman, Transrib er: Development and use of a to ol for assisting sp eeh orp ora pro dution, Speeh Communiation , vol. 33, no. 12, pp. 5 22, 2001. [17℄ D. Rybah, S. Hahn, P. Lehnen, D. Nolden, M. Sundermeyer, Z. Tüske, S. Wiesler, R. Shlüter, and H. Ney, Rasr - the rwth aahen university op en soure sp eeh reognition to olkit, in IEEE Automati Speeh Reognition and Understanding Workshop , (Hawaii, USA), 2011. [18℄ M. A. del Agua, Multilingualidad en el reono imiento de texto manusrito. Final Degree Pro jet, 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 Reognition in Information Systems (PRIS 2010) , (Funhal (Portugal)), pp. 8289. [20℄ M. Bisani and H. Ney, Op en vo abulary sp eeh reognition with at hybrid models, in Pro. of the European Conf. on Speeh Communiation and Tehnology , p. 725728, 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 detetion, in Spoken Language Tehnology Workshop, 2008. SLT 2008. IEEE , pp. 273 276, 2008. 50
Bibliography [22℄ A. Brakensiek, J. Rottl, A. Kosmala, and G. Rigoll, O-Line handwriting reognition using various hybrid mo deling tehniques and harater N-Grams, in In 7th International Workshop on Frontiers in Handwritten Reognition , p. 343352, 2000. [23℄ F. Zamora, M. J. Castro, S. España, and J. Gorbe, Unonstrained oine handwriting reognition using onnetionist harater n-grams, in Neural Networks (IJCNN), The 2010 International Joint Conferene on , pp. 1 7, 2010. [24℄ D. Rybah, C. Gollan, G. Heigold, B. Homeister, J. Lööf, R. Shlüter, and H. Ney, The RWTH aahen university op en soure sp eeh reognition system, in Interspeeh , (Brighton, U.K.), pp. 21112114, 2009. [25℄ B. Efron and R. J. Tibshirani, An Introdution to Bootstrap . Chapman & Hall/CRC, 1994. [26℄ M. A. del Agua, N. Serrano, and A. Juan, Language identiation for interative handwriting transription of multilingual do uments, in Pro. of the 5th Iberian Conferene on Pattern Reognition and Image Analysis (IbPRIA 2011) , (Las Palmas de Gran Canaria (Spain)), pp. 596603, 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 Proessing, IEEE Transations 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 enast matterhorn platform. Ib erSp eeh2012, 2012. Submitted. [29℄ J. B. Mihel et al. , Quantitative analysis of ulture using millions of digitized b o oks, Siene , vol. 331, no. 6014, pp. 176182. [30℄ J. lu Gauvain and C. hui Lee, Maximum a p osteriori estimation for multivariate gaussian mixture observations of markov hains, IEEE Transations on Speeh and Audio Proessing , vol. 2, pp. 291298, 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 Speeh & Language , vol. 9, no. 2, pp. 171 185, 1995. 51
Bibliography 52
LIST OF FIGURES 3.1 Monolingual System: WER as a funtion of the blo k lines used in training, obtained on the next blo k and aumulated to the previous. 16 4.1 Exp eriment metho dology . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.2 Bottom: WER obtained as a funtion of the trained blo ks for adapted and baseline systems. Top: WER inrement b etween b oth systems. . . 22 4.3 Bottom: WER on all reognised blo k so far obtained as a funtion of the trained blo ks for adapted and baseline systems. Top: WER inrement b etween b oth systems. . . . . . . . . . . . . . . . . . . . . . 22 4.4 Bottom: Aumulated WER omparison b etween the adapted monolingual system and the adapted multilingual as a funtion of the blo ks lines trained. Top: WER dierene b etween b oth systems. . . . . . . . 24 4.5 WER in GERMANA as a funtion of the number of reognized lines. . 27 4.6 WER in GERMANA as a funtion of the numb er of reognized lines for the monolingual and language-dependent approahes. Results are presented from line 3500, in whih a dierent language apart from Spanish app ears. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.7 Comparison of word-based and harater-based reognition. . . . . . 32 6.1 Matterhorn arhiteture . . . . . . . . . . . . . . . . . . . . . . . . . . 43 6.2 Phases of the Matterhorn Workow . . . . . . . . . . . . . . . . . . . . 44 6.3 Web Player and interative transription editor . . . . . . . . . . . . . 45 53