<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JSEA</journal-id><journal-title-group><journal-title>Journal of Software Engineering and Applications</journal-title></journal-title-group><issn pub-type="epub">1945-3116</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jsea.2016.910034</article-id><article-id pub-id-type="publisher-id">JSEA-71464</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  Morpho-Syntactic Tagging of Text in “Baoule” Language Based on Hidden Markov Models (HMM)
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Hyacinthe</surname><given-names>Konan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Bi</surname><given-names>Tra Gooré</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Raymond</surname><given-names>Gbégbé</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Olivier</surname><given-names>Asseu</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Ecole Supérieure Africaine des TICs (ESATIC), Abidjan, C&amp;amp;ocirc;te d’Ivoire</addr-line></aff><aff id="aff2"><addr-line>Institut National Polytechnique Félix Houphou&amp;amp;euml;t Boigny (INP-HB), Yamoussoukro, C&amp;amp;ocirc;te d’Ivoire</addr-line></aff><pub-date pub-type="epub"><day>10</day><month>10</month><year>2016</year></pub-date><volume>09</volume><issue>10</issue><fpage>516</fpage><lpage>523</lpage><history><date date-type="received"><day>August</day>	<month>30,</month>	<year>2016</year></date><date date-type="rev-recd"><day>Accepted:</day>	<month>October</month>	<year>22,</year>	</date><date date-type="accepted"><day>October</day>	<month>25,</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  The label text is a very important tool for the automatic processing of language. It is used in several applications such as morphological and syntactic text analysis, index-ing, retrieval, finished networks deterministic (in which all combinations of words that are accepted by the grammar are listed) or by statistical grammars (e.g., an n-gram in which the probabilities of sequences of n words in a specific order are given), etc. In this article, we developed a morphosyntactic labeling system language “Baoule” using hidden Markov models. This will allow us to build a tagged reference corpus and rep-resent major grammatical rules faced “Baoule” language in general. To estimate the parameters of this model, we used a training corpus manually labeled using a set of morpho-syntactic labels. We then proceed to an improvement of the system through the re-estimation procedure parameters of this model.
 
</p></abstract><kwd-group><kwd>Corpus</kwd><kwd> the Set of Tags</kwd><kwd> the Morpho-Syntactic Tagging</kwd><kwd> “Baoule” Language</kwd><kwd> Hidden Markov Model</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Each language has its own syntax. That of language “Baoule” is not that of the French and vice versa. In this article we are trying to answer the following question: How to bring out the structure of a given sentence to recognize and understand its contents? Indeed a sentence has meaning only when it is syntactically and semantically correct. The sentence will therefore be considered recognized. The syntactic analysis puts additional strain on the recognition system so that the studied paths correspond to words in the lexicon “Baoule” (lexical decoding), and for which, words are in proper sequence as specified by a sentence pattern. Such a model of sentence may again be represented by a deterministic finite network, or by a statistical grammar [<xref ref-type="bibr" rid="scirp.71464-ref1">1</xref>] . For some tasks (command, control processes), one word of a finite set must be recognized and so the grammar is either trivial or useless [<xref ref-type="bibr" rid="scirp.71464-ref2">2</xref>] . For other applications (e.g., sequences of numbers), very simple grammars are often sufficient (for example, a figure can be discussed and followed by a number) [<xref ref-type="bibr" rid="scirp.71464-ref3">3</xref>] . Finally, there are tasks that the grammar is a dominant factor. It significantly improves the performance of recognition. The Semantic Analysis adds additional stress to all the recognition search path. One of the ways the semantic constraints are used is carried out by means of a dynamic model [<xref ref-type="bibr" rid="scirp.71464-ref4">4</xref>] . Depending on the condition of recognition, some syntactically correct input channels are eliminated from consideration.</p><p>This again serves to make easier the recognition task and leads to a better system performance. In C&#244;te d’Ivoire, the French as official language is not always spoken by the entire population. Some local languages like the “Bambara” (Malink&#233;) and especially “Baoule” language emerge, but fail to address the concerns of people who today have to do with the evolution of digital technologies without always under- standing or speaking the conveying languages. Our research work offer goes beyond what is currently available and will allow a person speaking only “Baoule” language to receive and understand “Baoule” language communication expressed in French.</p></sec><sec id="s2"><title>2. Research Question</title><p>What is the probability that a sentence in “Baoul&#233;” language is recognized correctly? The linguistic model we propose to build in this section will help us answer this question.</p><sec id="s2_1"><title>2.1. System Overview</title><p>Syntactic categories</p><p>Consider the following labels representing the syntactic categories in language “Baoule”: N = name; V = Word; P = preposition; ADV = adverb; ADJ = adjective; D = Determinant; etc.</p><p>We want to build a system that will input a sequence of words <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x2.png" xlink:type="simple"/></inline-formula> and will output a sequence of labels <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x3.png" xlink:type="simple"/></inline-formula> (<xref ref-type="fig" rid="fig1">Figure 1</xref>).</p><p>Input is: S = “le professeur parle”</p><p>Output is: D N V (le/D professeur/N parle/V)</p><p>Some elements of “Baoule” grammar</p><p>The semantic categories of time and appearance match in the conjugation of “Baoul&#233;” to different morphological phenomena. The grammatical expression mode only involves the tone. Expression of aspectuality involves affixes, as time has no direct expression in the context of the combination (see [<xref ref-type="bibr" rid="scirp.71464-ref1">1</xref>] for more detail on the elements of grammar).</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> System using the linguistic model</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-9302307x4.png"/></fig></sec><sec id="s2_2"><title>2.2. The Part-of-Speech Tagging</title><p>A label corpus is a corpus in which are associated to text segments (usually words) other information of any kind be it morphological, syntactic, semantic, prosodic, critical, etc. [<xref ref-type="bibr" rid="scirp.71464-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.71464-ref3">3</xref>] . In particular, in the community of automatic natural language processing, when talking of tag corpus it is most often referred to a document in which each word has a morphosyntactic tag and a single. The automatic labeling morphosyntactic is a process that is usually done in three stages [<xref ref-type="bibr" rid="scirp.71464-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.71464-ref5">5</xref>] : the segmentation of text into tokens, the a priori labeling disambiguation which assigns to each lexical unit and depending on its context, relevant morphosyntactic tag. The size of the label set and the size of the training corpus are important factors for good performance of the labeling system [<xref ref-type="bibr" rid="scirp.71464-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.71464-ref7">7</xref>] . In general, there are two methods for part-of-speech tagging: rule-based method [<xref ref-type="bibr" rid="scirp.71464-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.71464-ref8">8</xref>] and the probabilistic method. In this article we have used the second approach.</p></sec></sec><sec id="s3"><title>3. Methodology</title><p>The choice of the most likely label at a given point is in relation to the history of the last labels which have just been assigned. In general this history is limited to one or two previous labels. This method assumes that we have a training corpus which must be of sufficient size to allow a reliable estimate of probabilities [<xref ref-type="bibr" rid="scirp.71464-ref9">9</xref>] .</p><sec id="s3_1"><title>3.1. Hidden Markov Model (HMM) Taggers</title><p>We have an input sentence <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x5.png" xlink:type="simple"/></inline-formula> (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x6.png" xlink:type="simple"/></inline-formula>is the i’th word in the sentence).</p><p>We have a tag sequence <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x7.png" xlink:type="simple"/></inline-formula> ( is the i’th tag in the sentence).</p><p>We’ll use an HMM to define <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x8.png" xlink:type="simple"/></inline-formula> for any sentence <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x9.png" xlink:type="simple"/></inline-formula> and tag sequence <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x10.png" xlink:type="simple"/></inline-formula> of same length.</p><p>Then the most likely tag sequence for ET is</p><disp-formula id="scirp.71464-formula71"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x11.png"  xlink:type="simple"/></disp-formula></sec><sec id="s3_2"><title>3.2. Trigram Hidden Markov Models (Trigram HMMs)</title><p>Basic definition</p><p>For any sentence <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x12.png" xlink:type="simple"/></inline-formula> (where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x13.png" xlink:type="simple"/></inline-formula> for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x14.png" xlink:type="simple"/></inline-formula> ) and any tag sequence</p><disp-formula id="scirp.71464-formula72"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x15.png"  xlink:type="simple"/></disp-formula><p>(where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x16.png" xlink:type="simple"/></inline-formula> for<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x17.png" xlink:type="simple"/></inline-formula>) and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x18.png" xlink:type="simple"/></inline-formula>, the joint probability of the sentence and tag sequence is:</p><disp-formula id="scirp.71464-formula73"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x19.png"  xlink:type="simple"/></disp-formula><p>where we have assumed that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x20.png" xlink:type="simple"/></inline-formula></p><p>Parameters of the model:</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x21.png" xlink:type="simple"/></inline-formula>for any <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x22.png" xlink:type="simple"/></inline-formula> (Trigram)</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x23.png" xlink:type="simple"/></inline-formula>for any <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x24.png" xlink:type="simple"/></inline-formula> (Emission Parameter)</p><p>Example:</p><p>If we have<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x25.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x26.png" xlink:type="simple"/></inline-formula>equal to the sentence “le professeur parle”, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x27.png" xlink:type="simple"/></inline-formula> equal to the tag sequence DNV STOP, then</p><disp-formula id="scirp.71464-formula74"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x28.png"  xlink:type="simple"/></disp-formula><p>STOP is a special tag the t terminates the sequence.</p><p>We take<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x29.png" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x30.png" xlink:type="simple"/></inline-formula> is a special “padding” symbol.</p><p>Why the Nane “HIDDEN MARKOV MODEL”</p><disp-formula id="scirp.71464-formula75"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x31.png"  xlink:type="simple"/></disp-formula><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x32.png" xlink:type="simple"/></inline-formula>→Markov chain</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x33.png" xlink:type="simple"/></inline-formula>→Are observed</p><p>Parameter estimation</p><p>Learning is a necessary operation to a pattern recognition system (in particular the labeling system); it can estimate the parameters of the model. Improper or inadequate learning decreases the performance of the labeling system. To prepare the training corpus, we proceed by successive approximations. A first training corpus, relatively short, makes it possible to label a much larger corpus. This is corrected, allowing to re- estimate the probabilities, and thus serves to second learning, and so on. In general there are three estimation methods of these parameters:</p><p> The estimation by maximum likelihood (Maximum Likelihood Estimation), it is carried by the Baum-Welch algorithm [<xref ref-type="bibr" rid="scirp.71464-ref10">10</xref>] or the Viterbi algorithm [<xref ref-type="bibr" rid="scirp.71464-ref11">11</xref>] .</p><p> The maximum estimate by post [<xref ref-type="bibr" rid="scirp.71464-ref12">12</xref>] .</p><p> The estimate by maximum of mutual information [<xref ref-type="bibr" rid="scirp.71464-ref13">13</xref>] [<xref ref-type="bibr" rid="scirp.71464-ref14">14</xref>] .</p><p>In our case we have used the maximum likelihood estimate because it is the most used and easiest to compute.</p><disp-formula id="scirp.71464-formula76"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x34.png"  xlink:type="simple"/></disp-formula><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x35.png" xlink:type="simple"/></inline-formula>and for all i, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x36.png" xlink:type="simple"/></inline-formula></p><disp-formula id="scirp.71464-formula77"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x37.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71464-formula78"><label>(Trigram)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-9302307x38.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71464-formula79"><label>(Bigram)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-9302307x39.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71464-formula80"><label>(Unigram)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-9302307x40.png"  xlink:type="simple"/></disp-formula><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x41.png" xlink:type="simple"/></inline-formula>for all y if x is never seen in the training data.</p></sec><sec id="s3_3"><title>3.3. The Viterbi Algorithm</title><p>Problem: For an input <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x42.png" xlink:type="simple"/></inline-formula> find</p><disp-formula id="scirp.71464-formula81"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x43.png"  xlink:type="simple"/></disp-formula><p>where the arg max in taken over all sequences <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x44.png" xlink:type="simple"/></inline-formula> such that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x45.png" xlink:type="simple"/></inline-formula> for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x46.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x47.png" xlink:type="simple"/></inline-formula></p><p>We assume that p again takes the form</p><disp-formula id="scirp.71464-formula82"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x48.png"  xlink:type="simple"/></disp-formula><p>Recall that we have assumed in this definition that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x49.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x50.png" xlink:type="simple"/></inline-formula></p><p>Algorithm:</p><p> Define n to be the length of the sentence <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x51.png" xlink:type="simple"/></inline-formula></p><p> Define <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x52.png" xlink:type="simple"/></inline-formula> for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x53.png" xlink:type="simple"/></inline-formula> to be the set of possible tag at position k:</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x54.png" xlink:type="simple"/></inline-formula>; <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x55.png" xlink:type="simple"/></inline-formula>for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x56.png" xlink:type="simple"/></inline-formula> (for example<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x57.png" xlink:type="simple"/></inline-formula>)</p><p> Define</p><disp-formula id="scirp.71464-formula83"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x58.png"  xlink:type="simple"/></disp-formula><p> Define a dynamic programming table <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x59.png" xlink:type="simple"/></inline-formula> = maximum probability of a tag sequence ending in tag u, v at position k that is:</p><disp-formula id="scirp.71464-formula84"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x60.png"  xlink:type="simple"/></disp-formula><p>Example</p><disp-formula id="scirp.71464-formula85"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x61.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71464-formula86"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x62.png"  xlink:type="simple"/></disp-formula><p>A Recursive Definition</p><p>Base case <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x63.png" xlink:type="simple"/></inline-formula></p><p>Recursive Definition</p><p>For any <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x64.png" xlink:type="simple"/></inline-formula> ; for any <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x65.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x66.png" xlink:type="simple"/></inline-formula>:</p><disp-formula id="scirp.71464-formula87"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x67.png"  xlink:type="simple"/></disp-formula></sec></sec><sec id="s4"><title>4. Experimentation</title><p>Learning Data</p><p>The experimental work was carried out in three steps:</p><p> Setting the label set and learning corpus construction.</p><p> Estimate the parameters of the hidden Markov model.</p><p> Automatic labeling and re-estimation of parameters of the hidden Markov model.</p><p>The definition of the set of morphosyntactic tags is particularly delicate; this phase is carried out in collaboration with linguists. This set of labels consists of several morpho- syntactic labels. The training corpus consists of a set of sentences representing the major morphological and syntactic rules used in “Baoule” language in general.</p><p>Results</p><p>The error rate is measured on two sets (<xref ref-type="table" rid="table1">Table 1</xref>):</p><p> Set 1 consists of the same phrases in the training set but without labels,</p><p> Set 2 consists of phrases (without labels) different from the training set.</p><p>Note that in the case of unvowelized texts the error rate increases in relation with vowelized texts, because of the increase in ambiguity (a word can take several labels). For the remaining errors, they are due to lack of training data (there are words and transitions between labels that are not represented in the training corpus).</p></sec><sec id="s5"><title>5. Conclusions</title><p>In analyzing the results, we noticed that the majority of labeling errors are mainly due to lack of learning problem or insufficient data. In our case there are two types of problems of lack of data:</p><p> one or more words, part of the sentence to be labeled by this system, do not exist in the lexicon, i.e. we do not have an estimate observation probabilities of the words in all states.</p><p> one or more tags have no predecessors in the sentence to be labeled automatically, i.e. we do not have an estimate of the transition probabilities of these labels to all other system labels.</p><p>In the continuation of our work, we shall proceed to two solutions to address these two problems.</p><p>The first is to introduce a kind of morphological analysis based on morphological forms of words to be able to identify the labels of unknown words. The second is to in-</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> The automatic labeling error rate</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ></th><th align="center" valign="middle" >Set 1</th><th align="center" valign="middle" >Set 2</th></tr></thead><tr><td align="center" valign="middle" >Vowelized texts</td><td align="center" valign="middle" >1.82%</td><td align="center" valign="middle" >2.3%</td></tr><tr><td align="center" valign="middle" >Unvowelized texts</td><td align="center" valign="middle" >2.7%</td><td align="center" valign="middle" >3.5%</td></tr></tbody></table></table-wrap><p>troduce basic syntactic rules that define the possible transitions between different labels.</p><p>That said, and given that nowhere exists to date, tagged corpus of the “Baoul&#233;” language, it was for us, through this research to fill this gap.</p></sec><sec id="s6"><title>Cite this paper</title><p>Konan, H., Goor&#233;, B.T., Gb&#233;gb&#233;, R. and Asseu, O. (2016) Morpho-Syntactic Tagging of Text in “Baoule” Language Based on Hidden Markov Models (HMM). Journal of Software Engineering and Applications, 9, 516-523. http://dx.doi.org/10.4236/jsea.2016.910034</p></sec><sec id="s7"><title>Annexe</title><p>The Viterbi Algorithm</p><p>Input:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x68.png" xlink:type="simple"/></inline-formula>, parameters <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x69.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x70.png" xlink:type="simple"/></inline-formula></p><p>Initialisation: Set <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x71.png" xlink:type="simple"/></inline-formula></p><p>Definition: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x72.png" xlink:type="simple"/></inline-formula>for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x73.png" xlink:type="simple"/></inline-formula></p><p>Algorithm:</p><p>BEGIN</p><p>FOR k = 1 to n DO</p><p>FOR <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x74.png" xlink:type="simple"/></inline-formula> DO</p><disp-formula id="scirp.71464-formula88"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x75.png"  xlink:type="simple"/></disp-formula><p>END</p><p>END</p><p>RETURN <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x76.png" xlink:type="simple"/></inline-formula></p><p>END</p><p>The Viterbi Algorithm with Backpointers</p><p>Input: a sentence<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x77.png" xlink:type="simple"/></inline-formula>, parameters <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x78.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x79.png" xlink:type="simple"/></inline-formula></p><p>Initialisation: Set <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x80.png" xlink:type="simple"/></inline-formula></p><p>Definition: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x81.png" xlink:type="simple"/></inline-formula>for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x82.png" xlink:type="simple"/></inline-formula></p><p>Algorithm:</p><p>BEGIN</p><p>FOR k = 1 TO n DO</p><p>FOR <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x83.png" xlink:type="simple"/></inline-formula> DO</p><disp-formula id="scirp.71464-formula89"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x84.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.71464-formula90"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x85.png"  xlink:type="simple"/></disp-formula><p>END</p><p>END</p><p>Set <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x86.png" xlink:type="simple"/></inline-formula></p><p>FOR <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x87.png" xlink:type="simple"/></inline-formula> TO 1 DO</p><disp-formula id="scirp.71464-formula91"><graphic  xlink:href="http://html.scirp.org/file/4-9302307x88.png"  xlink:type="simple"/></disp-formula><p>END</p><p>RETURN The tag sequence <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-9302307x89.png" xlink:type="simple"/></inline-formula></p><p>END</p></sec></body><back><ref-list><title>References</title><ref id="scirp.71464-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Tymian, J., Kouadio, J. and Loucou, J.-N. (2003) Language “Baoulé”-French Dictionary. NEI Abidjan.</mixed-citation></ref><ref id="scirp.71464-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Veronis, J. (2000) Corpus Automatic Annotation: Overview and Technics State of the Art. Languages Engineering, Paris, HERMES Sciences Europe, 111-128.</mixed-citation></ref><ref id="scirp.71464-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Vergne, J. and Giguet, E. (1998) Theoretical Perspectives on “Tagging”. Processing of 5th Conference on Natural Language Automatic (TALN98), Paris, 10-12 June 1998, c</mixed-citation></ref><ref id="scirp.71464-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Nguyen, T.M.H., Romary, L. and Vu, X.L. (2003) Vietnamese Morpho-Syntaxic Texts Tagging: A Case Study. Processing of 5th Conference on Natural Language Automatic (TALN 2003), Batz-sur-Mer, 11-14 June 2003.</mixed-citation></ref><ref id="scirp.71464-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Paroubek, P. and Rajman, M. (2000) Morpho-Syntaxic Tagging. Languages Engineering, Paris, HERMES Sciences Europe, 131-150.</mixed-citation></ref><ref id="scirp.71464-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Chanod, J.-P. and Tapanainen, P. (1995) Tagging French—Comparing a Statistical and a Constraint Based Method. Proceeding of the 7th Conference of the European Chapter of the Association for Computational Linguistics (EACL.95), Dublin, 149-156.</mixed-citation></ref><ref id="scirp.71464-ref7"><label>7</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>De Loupy</surname><given-names> C. </given-names></name>,<etal>et al</etal>. (<year>1995</year>)<article-title>The Eric Brill Tagging Method</article-title><source> Revue TAL</source><volume> 36</volume>,<fpage> 37</fpage>-<lpage>46</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.71464-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Brill, E. (1992) A Simple Rule-Based Part of Speech Tagger. Proceedings of the 3rd Conference on Applied Natural Language Processing, Trento, April, 152-155. 
http://dx.doi.org/10.3115/974499.974526</mixed-citation></ref><ref id="scirp.71464-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Habert, B., Nazarenko, A. and Salem, A. (1997) The Corpus Linguistics. Armand Colin/ Masson, Paris.</mixed-citation></ref><ref id="scirp.71464-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Baum, L. (1972) An Inequality and Association Maximization Technique in Statistical Estimation for Probabilistic Functions of Markov Processes. Inequality, 3.</mixed-citation></ref><ref id="scirp.71464-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Celux, G. and Clairambault, J. (1992) Estimation Markov Hidden Chains: Problems and Methods. CNRS, Thematic Days on Markovian Approaches on Images and Signal, September.</mixed-citation></ref><ref id="scirp.71464-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Bahl, L.R., Brown, P.F., de Souza, P.V. and Mercer, R.L. (1986) Maximum Mutual Information Estimation in Hidden Markov Model Parameters for Speech Recognition. Proceedings of ICASSP, Tokyo, 49-52.</mixed-citation></ref><ref id="scirp.71464-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Rice, J. (2006) Mathematical Statistics and Data analysis. Thomson Learning, 511-540.</mixed-citation></ref><ref id="scirp.71464-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Fornay, D.R. (1973) The Viterbi Algorithm. Proceedings of the IEEE, 61, 268-278. 
http://dx.doi.org/10.1109/proc.1973.9030</mixed-citation></ref></ref-list></back></article>