Elamur Research

Web-Based Bengali News Corpus for Lexicon Development and POS Tagging

Paper · 2008 · Asif Ekbal and Sivaji Bandyopadhyay

Summary

A newspaper archive can supply millions of words without telling a computer which of them are nouns, verbs, or adjectives. Asif Ekbal and Sivaji Bandyopadhyay address that gap by turning a Bengali newspaper archive into a collection that can support dictionary building and part-of-speech tagging. A part-of-speech tagger assigns a grammatical category to each word in context. The authors show how a large news collection can help with this task even when the material available with grammatical labels is much smaller. Their archive contains 108,305 news documents and 33,836,736 wordforms, covering subjects such as politics, sports, and business.

The authors use recurring word endings to propose base forms and grammatical categories for the lexicon. A surface form can support several proposals. The procedure favors the base form and category that receive the most support across the corpus, drawing on manually assembled lists of Bengali endings. The resulting lexicon contains roughly 0.128 million entries, and a manual check puts its accuracy at 79.6%. The authors also use a named entity recognizer, a system that identifies names and similar expressions in text, to help remove names from the lexicon.

The tagging experiments compare a hidden Markov approach, which scores sequences of grammatical tags, with a support vector machine, which classifies words using clues such as nearby words, previous tags, and word endings. Both taggers can consult the lexicon, the name recognizer, and suffix evidence when they encounter a word absent from the labeled training set. On the Bengali test set, the hidden Markov tagger reaches 85.56% accuracy with those aids, and the support vector tagger reaches 91.23%. The lexicon and name recognizer also serve as inputs to the Bengali support vector tagger, giving them a role even before the procedure for unfamiliar words runs.

The authors retrain the taggers for Hindi and Telugu and omit the specialized handling of unfamiliar words used for Bengali. The support vector tagger scores higher than the hidden Markov tagger on both test sets. The Bengali experiments provide the clearest evidence about what the archive contributes. Corpus-derived information helps the taggers assign grammatical categories to forms outside the labeled vocabulary, and the development comparisons show that the placement and combination of those clues matter.

Deep dive: Web-Based Bengali News Corpus for Lexicon Development and POS Tagging

Ekbal and Bandyopadhyay turn a Bengali newspaper archive into a corpus, build a lexicon from it, and compare two ways of tagging parts of speech. · about 36 minutes to read

The problem and its context

Collecting text and teaching a tagger

For natural language processing, a stock of readable documents and a stock of labeled examples serve different purposes. Searchable news text lets a researcher find recurring spellings, endings, and names. A sentence with grammatical labels tells a tagger how a word functions in that particular context. The paper addresses both needs because the authors had access to a large body of Bengali news and faced a shortage of the labeled data needed to train statistical taggers. Their question is how to use the larger resource to do work that would otherwise fall entirely on the smaller one.

The authors place the project in a period when researchers were finding ways to use the web as a source for language study and teaching. They point to studies of web concordancing, which brings together passages containing the same expression, and to a special issue on the subject. A newspaper archive gives that broad idea a specific form. Pages follow recognizable conventions, articles have dates, and stories can be grouped by subject or geographic scope. The same pages also carry navigation and other material unrelated to the news collection. A corpus drawn from the archive therefore depends on decisions about what to retrieve, what text to keep, and what structure to preserve. Web as Corpus special issue

The paper also describes an imbalance in the development of language resources. It cites initiatives that had worked on standards for Western languages, including projects concerned with multilingual lexicons, and mentions an emerging initiative for common standards across Asian language resources. In this setting, the authors treat conventions for storing documents and labeling words as part of the problem. A dated article needs enough structure to remain identifiable after collection. A tagged word needs a grammatical category whose meaning is shared across the datasets used to train and test the software. SIMPLE multilingual lexicon framework

The distinction between these kinds of linguistic annotation matters throughout the paper. A label indicating where an article's headline begins helps recover the document's structure. A label indicating that a particular word is a proper noun helps train a grammatical tagger. The archive conversion supplies the first kind of labeling on a large scale. The supervised tagging experiments require the second kind, and the paper describes those examples separately. The amount of news recovered from the web therefore describes the reach of the text resource. The size of the labeled splits describes the direct evidence available for learning and checking grammatical decisions.

Why context and inflection both matter

The authors motivate tagging as a preprocessing step for parsing, which identifies grammatical structure, and for information extraction, which pulls specified information from text. A tagger has to choose a category for an occurrence of a word, even when the same spelling can play different roles. A list of words and their possible categories helps narrow the choice. The words around an occurrence supply another kind of evidence. For a spelling that has never appeared in the training set, the available evidence may instead come from parts of the spelling, from the sentence, or from a separate resource.

Morphology concerns how words are formed and how their forms vary. In the Bengali analysis, endings attached to words can provide clues to grammatical class. An ending may also be compatible with more than one class, and some verbs change spelling when a suffix is attached. Even the decision to strip an ending requires care because a spelling that ends with a familiar string could itself be a base form. The lexicon procedure deals with this uncertainty by keeping several analyses in play long enough for other forms in the corpus to supply evidence.

The paper describes earlier tagging work based on hand-built rules, statistical methods, and combinations of the two. Statistical taggers had achieved high word-level accuracy for languages with substantial labeled resources, including English and German. The authors identify a practical difficulty with transferring that recipe to the Indian-language datasets available to them. Sparse observations make it hard to estimate how frequently a word occurs under a given tag or how often a particular sequence of tags appears. Adding distinct sources of evidence to a hidden Markov tagger can also complicate the estimates used to deal with sparse counts. A Practical Part-of-Speech Tagger and TnT

The research discussed in the paper already offered several responses to that difficulty. A Hindi tagger combined detailed morphological analysis, a lexicon with broad coverage, and a decision tree, which makes a classification by testing a series of conditions. Earlier work on Bengali used maximum entropy and conditional random fields, approaches the authors mention for their ability to accommodate several potentially overlapping clues. They also discuss contests that brought researchers together around tagging and, in one case, chunking, the identification of local phrases. Support vector classification had been applied to chunking, giving the authors a precedent for using it in a task where labels depend on features of a word and its surroundings. Chunking with Support Vector Machines

The two approaches selected for the study use linguistic context in different ways. One asks how plausible a sequence of tags is and how well those tags account for the words in the sentence. The other represents a tagging decision through a collection of features and learns how to classify examples with those features. This difference shapes how the news resource enters the experiment. Corpus observations can suggest features for the classifier, supply entries for the lexicon, and help the authors build a recognizer whose output both taggers can consult for unfamiliar words.

The method, step by step

From dated pages to searchable Bengali text

The work begins with dates. The crawler takes a start and end date in the archive's date format and uses the newspaper's address conventions to construct the address of each day's index. The index points to news stories as well as material such as advertisements, television schedules, and weather pages. The crawler selects the files containing news and passes them to the cleaning stage. Within a selected file, the text can include both Bengali and English. The cleaning routine looks for the font declarations used by the archive to locate the Bengali passages.

A second conversion concerns how the archive represents Bengali script. The fonts display Bengali text using codes tied to the way written forms appear on screen. In the paper's terminology, the archive uses graphemic coding, under which a consonant conjunct can have its own code. Orthographic coding represents that conjunct by its constituent consonants. Two strings that can be read on screen are therefore only ready for comparable text processing once their underlying representation follows a consistent convention. This matters later when the software uses the characters at the end of a word as evidence and counts whether an identical form appears elsewhere.

The authors first convert the archive's font codes to ISCII and then use a separate routine to produce UTF-8. They store the recovered documents in XML, a format in which labels mark the parts of a document. The header has attributes for article type and subtype. Other labels identify elements such as the headline, date, reporter or agency, location, and body, with markup for paragraphs and tabular material. The geographic categories include international, national, state, district, and metropolitan coverage. Topic categories include politics, sports, and business. Keeping this information with the text allows an article to retain its identity after the archive's presentation has been removed.

Across 2001-2005 the corpus totals 108,305 articles and 2,822,737 sentences. Its 33,836,736 wordforms are counted as occurrences in the text, while the figure of 467,858 distinct wordforms counts different spellings. This difference is central to the next stage. A spelling needs to be analyzed for possible endings when it enters the distinct-form inventory. Several different spellings can then support the same base form and category, and recurring evidence can be recorded in the corpuswide inventory of candidates. The paper reports 27 sentences and 313 wordforms as its document averages.

From Bengali newspaper pages to grammatical tags

The steps in order.

From Bengali newspaper pages to grammatical tagsStep 1: Retrieve dated news pages from the archive1. Retrieve dated news pages from the archiveStep 2: Extract Bengali passages and convert their encoding2. Extract Bengali passages and convert their encodingStep 3: Store article text and metadata in XML3. Store article text and metadata in XMLStep 4: Propose base forms from recurring word endings4. Propose base forms from recurring word endingsStep 5: Rank candidates and filter recognized names5. Rank candidates and filter recognized namesStep 6: Train taggers on grammatically labeled examples6. Train taggers on grammatically labeled examplesStep 7: Tag test sentences and handle unfamiliar words7. Tag test sentences and handle unfamiliar words

From wordforms to lexicon entries

The lexicon uses broad grammatical categories. Nouns, verbs, and adjectives are treated as open classes, where the corpus can supply forms for the program to analyze. Pronouns and indeclinables are treated as closed classes, with entries supplied by hand. The indeclinables include groups such as postpositions, conjunctions, and interjections. During processing, a distinct spelling is checked for membership in those manually supplied classes before the program considers its suffixes. This step gives the analysis a direct route for familiar grammatical words whose class is already recorded.

For the open classes, the authors assemble inventories of endings that can attach to words. The noun inflection inventory has 27 entries. The verb inventory has 214 entries, and the authors describe 20 verb groups based on spelling patterns and the endings they can take. The verb groups matter because suffixation can change the original spelling of a base form. The paper gives the general design of the inventories and analysis, together with examples of how adjective endings are treated. Its candidate selection procedure uses a proposed base form together with a grammatical category, allowing the same spelling to receive support as a noun and as a verb independently.

Adjectives illustrate how differently individual endings can behave in a lexicon. Endings such as -tara and -tamo, which mark comparative and superlative forms, yield an adjective stem for the lexicon. With a suffix such as -gato or -karo, the resulting spelling is accepted as adjectival when the part left after stripping the suffix is already listed as a noun. With -janok or -sulav, the ending identifies the original form as adjectival and the base is added as a noun. A further group of endings marks the wordform as an adjective. These rules distinguish recognizing the grammatical class of a derived form from deciding what to record about its base.

The procedure checks the end of a wordform against the relevant suffix lists. A matching ending supplies a possible analysis. The remaining characters give the candidate root, and the kind of ending supplies a candidate part of speech. When an ending can belong to a noun or a verb, both analyses can compete. The procedure also keeps the original spelling among the candidates, together with its possible categories. This gives an unstripped form a way to win when the apparent suffix is simply part of the spelling or when other corpus evidence supports it as a base.

One database records which candidates go with each wordform. Another records the distinct root-and-category pairs and accumulates their frequency of occurrence across the corpus. Once all distinct forms have been examined, the program returns to each form and chooses the pair with the highest corpuswide count among its candidates. If eligible pairs have the same count, it favors the root with more characters. A longer root retains more of the original spelling, so this tie-break can favor a less aggressive analysis when the count gives the program no reason to strip additional material.

The corpus supplies the evidence for choosing among candidates, while the suffix lists and closed-class entries supply linguistic knowledge in advance. This is the sense in which the authors describe lexicon construction as unsupervised. They can propose and rank entries without receiving a manually labeled target analysis for each wordform. The later manual check serves a different purpose. It examines the correctness of the resulting entries. The authors also use a Bengali name recognizer to identify entities in the corpus and help exclude them from the lexicon, reducing the number of names treated as general vocabulary.

The tags the systems learn

The experiments use an inventory of 26 grammatical labels defined for Indian languages. The authors trace 10 labels to the Penn inventory with relatively small changes, describe 8 as adaptations for phenomena found in Indian languages, and identify another 8 as labels designed specifically for these languages. Within this inventory, NN marks a common noun, NNP a proper noun, and NNPC a compound proper noun. The inventory has a separate NNC category for compound nouns. Proper names can therefore raise a decision about whether the tag should identify a constituent of a compound, in addition to the decision about whether the word is a name.

The verb tags also express distinctions finer than the lexicon's basic category of verb. VFM indicates a finite main verb and VAUX indicates an auxiliary. The scheme distinguishes non-finite verbs used adjectivally, adverbially, or nominally. It includes tags for postpositions, quantifiers, question words, and other grammatical categories, as well as noun, adjective, and adverb tags for forms in kriyamula. When you consult the lexicon for help, these distinctions matter. A broad class can be strong evidence about a word and still leave the word's exact role in the sentence unresolved.

How the hidden Markov tagger scores a sentence

The hidden Markov tagger compares grammatical analyses of an entire sentence. It favors a sequence whose grammatical tags fit together and whose associations with the observed words are supported by training data. These sources of evidence can disagree. A word may appear most frequently with a particular tag, while neighboring tags make another analysis more plausible. The Viterbi algorithm finds the highest-scoring sequence by keeping the best partial scores for the relevant tag histories as it proceeds through the sentence.

argmaxₜ P(T) × P(W ∣ T)

Here the subscript ₜ denotes the candidate tag sequence T over which the maximum is taken. W is the observed sequence of words. P denotes probability, × means multiplication, and the vertical bar means “given.” P(T) is the probability of the tag sequence, and P(W ∣ T) is the probability of the observed words given that sequence. The paper obtains this scoring objective using Bayes' rule. When comparing analyses of the same sentence, the probability of the observed word sequence on its own is common to all the candidates.

The probability of the tags uses a trigram, a particular kind of n-gram that here considers a tag and its two predecessors. The first positions receive special treatment because the sentence has only just started. Below, B stands for the paper's dummy beginning tag.

P(T) = P(t₁ ∣ B) × P(t₂ ∣ B, t₁) × P(t₃ ∣ t₁, t₂) × … × P(tₙ ∣ tₙ₋₂, tₙ₋₁)

T is the candidate sequence and t at a subscripted position is the tag there. The subscripts ₁, ₂, and ₃ mark the opening positions, ₙ is the last position, and ₙ₋₂ and ₙ₋₁ are the two positions before it. B marks the sentence beginning. Each P is a probability. The bar introduces the tag history for that factor, the comma separates members of the history, × combines factors, and the ellipsis continues the same pattern for intervening positions. The initial factors let the tagger learn that some categories are more likely than others at the beginning of a sentence.

A specific history may occur rarely even when its individual tags are common. To avoid letting a sparse trigram estimate control the decision, the authors use linear interpolation, a weighted combination of estimates with different amounts of context.

P̃(tₙ ∣ tₙ₋₂, tₙ₋₁) = λ₁ P(tₙ) + λ₂ P(tₙ ∣ tₙ₋₁) + λ₃ P(tₙ ∣ tₙ₋₂, tₙ₋₁)

P̃ is the smoothed probability and P on the right denotes the individual probability estimates. tₙ is the tag being scored, tₙ₋₁ its immediate predecessor, and tₙ₋₂ the tag before that. The bar marks conditioning, and the comma separates the two conditioning tags where both are used. The λ values are weights. λ₁ weights the tag without context, λ₂ weights it given the preceding tag, and λ₃ weights it given the two preceding tags. Juxtaposition multiplies a weight by its estimate, and + adds the weighted terms. The weights sum to 1 and are estimated by the method the authors cite from TnT. A tag can consequently have support from shorter contexts even if the full combination has little support.

The paper also makes the word evidence sensitive to context. A word's emission probability measures how likely that word is under a given grammatical analysis. The authors condition it on the previous tag as well as the tag attached to the current word.

P(W ∣ T) ≈ P(w₁ ∣ B, t₁) × P(w₂ ∣ t₁, t₂) × … × P(wₙ ∣ tₙ₋₁, tₙ)

W is the sentence's word sequence, T is the candidate tag sequence, w denotes a word, and t denotes a tag. The position subscripts run from the beginning of the sentence to ₙ, its last position. B is the beginning marker. P denotes probability, the bar indicates conditioning, and a comma separates the tags used in a condition. The approximation sign indicates that the tagger estimates the probability of the words by multiplying local factors. The multiplication signs and ellipsis show that the same calculation continues across the sentence.

The estimate for a local factor starts with counts from the labeled data.

P(wᵢ ∣ tᵢ₋₁, tᵢ) = freq(tᵢ₋₁, tᵢ, wᵢ) / freq(tᵢ₋₁, tᵢ)

The index i identifies the position being scored. wᵢ is the word there, tᵢ its candidate tag, and tᵢ₋₁ the preceding tag. P is the estimated probability of the word given those tags. The function freq gives a training count. Its arguments in the numerator specify the previous tag, current tag, and current word together. The denominator counts occurrences of the tag pair, regardless of the word. The slash divides the two counts. This estimates how frequently the word occurs in the particular grammatical context.

The authors smooth the emission estimate as well, mixing the more specific count with an estimate based on the current tag alone.

P̃(wᵢ ∣ tᵢ₋₁, tᵢ) = θ₁ P(wᵢ ∣ tᵢ) + θ₂ P(wᵢ ∣ tᵢ₋₁, tᵢ)

P̃ is the smoothed emission probability. wᵢ, tᵢ, and tᵢ₋₁ again denote the current word, its candidate tag, and the previous tag. The bar means “given,” and the comma separates the tags in the more specific condition. P denotes an individual estimate. The weights θ₁ and θ₂ multiply the shorter- and longer-context estimates, respectively, and + adds their contributions. The weights sum to 1. Although the authors discuss the possibility of different weights for different words, they estimate a shared pair for the training corpus because fitting weights individually would take more time.

How the support vector tagger makes a classification

The support vector tagger represents each tagging example as a feature vector. A feature records something the classifier can use, such as the identity of a nearby word or whether the current token consists of digits. For a pair of tags, the classifier learns a separating boundary from examples labeled with those tags. In the separable case introduced in the paper, the boundary is chosen to leave as large a margin as possible between the two groups. The training examples that determine the boundary are called support vectors.

w · x + b = 0

Here x is a feature vector. w is a vector of weights with a component for each feature, and b is the bias that shifts the boundary. The dot denotes a dot product, and + adds the bias to its result. A score of 0 places an example on the boundary. The w in this section is a weight vector, distinct from the position-indexed w that denotes a word in the hidden Markov equations.

f(x, w, b) = w · x + b

The function f gives the score for example x. The vector w determines the contribution of the features through the dot product, and b shifts the score by addition. The order of the arguments identifies the input and the parameters used for scoring.

sgn(f(x, w, b))

The function sgn takes the sign of f. The arguments x, w, and b are the input vector, feature weights, and bias. For a score away from the boundary, its sign identifies the side of the separator and thus the predicted class in the pair.

The paper expresses the training condition for the linearly separable case as a margin constraint on every labeled example.

yᵢ(w · xᵢ + b) ≥ 1

Here i indexes a training example, xᵢ is its feature vector, and yᵢ is its class label, coded as +1 or −1. The vector w, the dot product, and the bias b produce the same score as above. Multiplying by yᵢ makes the score positive for examples on the side that corresponds to their class. The inequality requires the resulting signed score to be at least 1. Subject to these constraints, the paper describes minimizing the norm of w, its vector length, to obtain the maximum-margin separator.

The authors then express the score using weights attached to training examples. This form makes it possible to compare vectors by a kernel, a function that acts like a dot product in an expanded feature space.

f(x, α, b) = ∑ᵢ₌₁ⁿ yᵢ αᵢ (xᵢ · x) + b

The function f scores input vector x. The capital N used by the paper for the number of training examples is represented here by the upper limit ₙ, and the summation sign adds a term for every example indexed by i, beginning at 1. Each xᵢ is a training vector, yᵢ its class label, and αᵢ the corresponding component of α, the vector of example weights. Juxtaposition multiplies the label and the weight by the dot product between xᵢ and x. The bias b is added after summation. Examples with non-zero weights are the support vectors. With a zero weight, an example contributes nothing to the score.

w∗ = ∑ᵢ₌₁ⁿ yᵢ αᵢ∗ xᵢ

The star denotes an optimized quantity. w∗ is the optimal linear weight vector, and αᵢ∗ is the optimized component for example i. The sum ranges from 1 to the number of training examples, indicated by ₙ. The class label yᵢ and weight αᵢ∗ multiply the example vector xᵢ. The result expresses the linear separator's weight vector as a combination of labeled training vectors.

The kernel substitutes a similarity calculation for the dot products in the training-example formulation. The polynomial kernel considered in the paper lets the classifier use combinations of features without first writing out a vector with an entry for every combination.

K(xᵢ, xⱼ) = (xᵢ · xⱼ + 1)ᵈ

K is the kernel function. xᵢ and xⱼ are vectors indexed by i and j, and the dot gives their ordinary dot product. The expression adds the constant 1 and raises the result to degree d, shown by the superscript ᵈ. The Bengali experiments select a polynomial of degree two. For this setting, the classifier can use the interaction between features, such as a word ending and a neighboring tag, as part of its decision.

The authors train with YamCha, which handles tagging as sequential labeling and uses TinySVM-0.07 for classification. They reduce the 26-tag problem to classifiers that distinguish pairs of tags.

K(K − 1) / 2

In this expression K is the number of possible tags, 26 in the experiment. The juxtaposition indicates multiplication, K − 1 counts the other tags available to pair with any given tag, and division by 2 counts each unordered pair once. Here K denotes a class count, whereas in the preceding equation K with vector arguments denotes the kernel. The classifiers' votes are weighted to determine the predicted tag.

What goes into a tagging decision

The support vector features describe the current token, the words nearby, and earlier grammatical decisions. On the left and right of the word being tagged, the neighboring spellings give direct evidence about its context. Previously assigned tags supply a different kind of context. The paper calls these tags dynamic features because they depend on decisions made as the sequence is tagged. The neighboring word spellings are already present in the input sentence. The distinction allows the authors to change the number of words read on either side and the amount of previous tag information in separate development comparisons.

Fixed-length prefixes and suffixes give the tagger pieces of a spelling. The paper uses an undefined value, ND, for a requested affix when the word is too short, is punctuation, or contains a special symbol or digit. It also uses evidence from lists of meaningful variable-length endings instead of relying entirely on character length. An inflection feature distinguishes a match to noun, verb, or adjective endings and has a separate value for the absence of such a match. These signals can overlap. A character suffix records the actual ending, while membership in an inflection list tells the classifier how the authors categorized a matching ending during their analysis of the news text.

Other features concern the token as a whole. An all-digit flag offers evidence for the numerical quantifier tag. A symbol flag can help identify expressions containing characters such as a percent sign, as well as tokens tagged as symbols. A Bengali length flag distinguishes words longer than three characters, based on the authors' observation that very short words are seldom proper names. A frequency flag marks forms occurring more than 10 times in the training corpus. The authors also prepare a list of 743 function words, using a flag to indicate whether the current form belongs to it. These feature values describe cues whose importance the classifier learns from labeled examples.

The lexicon contributes a category indicator with distinct codes for nouns, verbs, adjectives, pronouns, and indeclinables. The codes tell the classifier which broad category the lexicon supplies. A second source of information comes from a Bengali recognizer trained on a portion of the news corpus using conditional random fields, an approach to labeling related positions in a sequence. Its entity classes include people, places, organizations, and a miscellaneous category. The last includes such expressions as dates, numbers, and monetary amounts. For its own task, the recognizer reports an f-score of 90.7% in 10-fold cross-validation with a training corpus of 150K wordforms. That score measures entity recognition, while the later tagging experiments count correct parts of speech.

What happens when a word is absent from training

In the Bengali experiments, a word is unknown when its spelling is absent from the labeled training set. It can still occur in the news collection and be present in the lexicon. The authors describe a fallback that first checks the lexicon. If it supplies the entry, the procedure maps the broad category to a grammatical tag for the experiment. The paper gives NN for a noun, VFM for a verb, and JJ for an adjective. These examples show how an unfamiliar spelling can have a recorded lexical class even though the tagger has no labeled sentence containing it.

If the word is absent from the lexicon, the next source is the output of the named entity recognizer on the test text. A recognizer label can be mapped to NNP or NNPC, and the feature description also mentions the numerical tag QFNUM among possible mappings. This use can give the recognizer's decision priority on an unfamiliar word. As an input feature in the support vector tagger, by comparison, entity information is evidence the classifier can weigh along with context and spelling. The same resource therefore has different effects depending on whether it enters the feature vector or supplies a fallback tag.

For forms left over, the authors estimate tag preferences from words in the training data that share an ending with the unfamiliar form. The list used for this step has 435 suffixes, chiefly drawn from noun, verb, and adjective inflections. A match transfers evidence from labeled words with the same suffix to the new spelling. This permits a decision based on the grammatical behavior of similar endings even when the exact spelling has no training count and the auxiliary resources have supplied no tag.

For comparison, the word-based baseline bases its grammatical choice for known words on the current spelling alone. The formula below retains the joint-probability terms printed in the paper.

P(t₁, …, tₙ ∣ w₁, …, wₙ) = ∏ᵢ₌₁ⁿ P(tᵢ, wᵢ)

P denotes probability. The t symbols form the candidate tag sequence, the w symbols form the observed word sequence, and the subscripts denote positions from 1 to n, the sentence length. The bar conditions the tags on the words, commas separate entries, and the ellipses stand for intervening positions. The product sign multiplies the right-hand factors over positions indexed by i. The factors on the right are printed as joint probabilities of a tag and a word. Operationally the baseline chooses the tag that occurred most often with the observed spelling in the training data. For a fixed spelling, those joint counts rank the tags in the same way as the relative frequencies within that spelling. The baseline description supplies the Bengali auxiliary resources for unknown words and mentions default tags for unknown Hindi and Telugu words.

Experiments and results

The labeled data and what accuracy counts

The archive and the grammatical experiments have different scales. For Bengali, the authors start with 46,923 tokens from the NLPAI ML 2006 contest data, which used 27 tags, and map those tags into the 26-tag scheme. They combine that material with 25,418 tokens from the SPSAL-2007 contest data, already labeled with the target inventory. The paper reports the combined Bengali pool as 72,341 tokens. Its prose says a development portion of around 15K tokens was drawn from that pool, with the rest used for training. The statistics give 15,000 for development and list 72,341 under training, so the tabular heading and the prose describe that count differently.

The development data let the authors compare settings before choosing the final feature combination. The Bengali gold-standard test set, the data with reference labels used for the final check, contains 35,000 tokens. Of those, 8,890 are marked unknown, or 25.4% of the test set. This is a property of the labeled vocabulary and the test data together. It gives a sense of how often the unknown-word procedure might be called, independent of how many of those decisions it makes correctly.

The Hindi and Telugu datasets come from the SPSAL-2007 contest. For Hindi, the split statistics give 21,470 training tokens, 5,125 development tokens, and 5,681 test tokens. The paper lists 1,132 Hindi test tokens as unknown, accounting for 19.93% of that test set. For Telugu, the corresponding counts are 27,513 training tokens, 6,129 development tokens, and 5,193 test tokens, with 2,375 unknown test tokens, or 45.74%. The proportion of unfamiliar test tokens is considerably greater in Telugu, which becomes relevant to the authors' explanation of its results.

The main metric is word-level tagging accuracy, the share of test tokens for which the predicted category agrees with the gold label. Each token contributes to that score, including later occurrences of a word already tagged earlier. The metric therefore measures the answers obtained on the collection of words in the split. The experimental tables normally report it across the whole split, including words that were present in training and those that were absent. The manual lexicon check, the entity recognizer's f-score, and the part-of-speech accuracy each evaluate a different output.

Bengali on the gold-standard test set

The hidden Markov tagger scores 79.06% on the Bengali test set before the additional provision for unknown words. With the lexicon, name recognizer, and suffix features used in that provision, it scores 85.56%. The paper's hidden Markov results report the comparison baseline at 55.9%. These scores compare the most frequent tag for a word, a sentence-level approach, and the sentence-level approach backed by additional evidence where its labeled vocabulary has a gap.

The support vector tagger reaches 85.46% on the Bengali test set with the selected contextual and word-level features. Its test table reports a baseline accuracy of 54.7%. Adding the full set of procedures for unfamiliar words brings the support vector tagger to 91.23%. The 85.46% setting already uses an enriched feature representation. The later improvement is associated with the additional use of the lexicon and recognizer at test time and with the treatment of residual unfamiliar forms. The experiments therefore document a contribution from explicit fallback even when related evidence is available to the classifier through its input features.

Word-level tagging accuracy on the Bengali gold-standard test set

Both taggers improve with unknown-word handling, and the support vector tagger obtains the highest score.

Word-level tagging accuracy on the Bengali gold-standard test setWord baseline reported with hidden Markov results: 55.9Word baseline reported with hiddenMarkov results55.9Hidden Markov tagger: 79.06Hidden Markov tagger79.06Hidden Markov tagger with full unknown-word handling: 85.56Hidden Markov tagger with fullunknown-word handling85.56Word baseline reported with support vector results: 54.7Word baseline reported with supportvector results54.7Support vector tagger: 85.46Support vector tagger85.46Support vector tagger with full unknown-word handling (this paper): 91.23Support vector tagger with fullunknown-word handling (this paper)91.23
The numbers
System or settingaccuracy %
Word baseline reported with hidden Markov results55.9
Hidden Markov tagger79.06
Hidden Markov tagger with full unknown-word handling85.56
Word baseline reported with support vector results54.7
Support vector tagger85.46
Support vector tagger with full unknown-word handling (this paper)91.23

The chart shows the two baseline values where the paper reports them. The text describes a word-based baseline in common terms but gives no account of why the Bengali test tables list different accuracies. Each comparison can still be read against the baseline in its own table. The direct comparison of the final taggers uses their respective scores on the same stated Bengali test data.

Hindi and Telugu without the Bengali fallback

For its additional language experiments, the support vector tagger is retrained with features that the authors regard as applicable to Hindi and Telugu. These include nearby spellings, current-word prefixes and suffixes up to three characters, tag information, digit and symbol flags, the frequent-word indicator, and a length test. The paper describes the length test here as checking whether a word is shorter than three characters. The list describes dynamic tag information as involving the current and previous word. In the Bengali development comparisons, the dynamic features are described in terms of previously assigned tags. The account of the Hindi and Telugu setting gives no further detail about the current-word tag.

The specialized Bengali procedure for unknown words is absent in these experiments. On Hindi, the hidden Markov tagger gives 73.75% test accuracy with a reported baseline of 51.2%, and the support vector tagger gives 77.08% with a reported baseline of 53.89%. On Telugu, the hidden Markov tagger gives 64.09% with a baseline of 40.87%, and the support vector tagger gives 68.15% with a baseline of 42.12%. The support vector development accuracies are 78.16% in Hindi and 68.81% in Telugu. The result table identifies 68.81% as the Telugu development score. The paper's conclusion repeats that value when describing the Telugu results, so the distinction between the development and test rows matters.

Hindi and Telugu gold-standard test accuracy by tagging approach

The support vector tagger scores higher than the hidden Markov tagger within both languages.

Hindi and Telugu gold-standard test accuracy by tagging approachHindi word baseline reported with hidden Markov results: 51.2Hindi word baseline reported with hiddenMarkov results51.2Hindi hidden Markov tagger: 73.75Hindi hidden Markov tagger73.75Hindi word baseline reported with support vector results: 53.89Hindi word baseline reported withsupport vector results53.89Hindi support vector tagger (this paper): 77.08Hindi support vector tagger (this paper)77.08Telugu word baseline reported with hidden Markov results: 40.87Telugu word baseline reported withhidden Markov results40.87Telugu hidden Markov tagger: 64.09Telugu hidden Markov tagger64.09Telugu word baseline reported with support vector results: 42.12Telugu word baseline reported withsupport vector results42.12Telugu support vector tagger: 68.15Telugu support vector tagger68.15
The numbers
System or settingaccuracy %
Hindi word baseline reported with hidden Markov results51.2
Hindi hidden Markov tagger73.75
Hindi word baseline reported with support vector results53.89
Hindi support vector tagger (this paper)77.08
Telugu word baseline reported with hidden Markov results40.87
Telugu hidden Markov tagger64.09
Telugu word baseline reported with support vector results42.12
Telugu support vector tagger68.15

These comparisons support the same ordering of taggers within each of the three languages studied. The comparison across languages has a different meaning. Hindi and Telugu have their own training and test splits, with different amounts of labeled data and different rates of unfamiliar words. Bengali has additional resources and a test-time decision procedure built for the language. The Bengali score describes what the authors reach with that broader setup. The Hindi and Telugu scores describe what the taggers reach when the specialized procedure is left out.

What the ablations show

Nearby words and previously assigned tags

The Bengali development experiments systematically change the support vector tagger's inputs. With the preceding word, the current word, and the following word as features, the tagger achieves 63.27% accuracy. Reading the two nearest words on each side of the current word raises accuracy to 64.32%. A window extending three words to both sides gives 63.53%, while using three words on the left and two on the right gives 64.16%. These runs compare lexical contexts before the addition of earlier predicted tags. They show that the most effective window among the ones tested is wide enough to capture more than the immediate neighbors, with dips when the authors extend it farther.

Keeping the preferred word window, the authors add the previous assigned tag and obtain 66.08%. Including the tags of both preceding words brings accuracy to 66.93%. The word identities are the same in these comparisons, so the improvement comes with supplying a grammatical analysis of part of the observed context. This provides evidence that the earlier tags contribute something the spelling of those neighboring words alone leaves out. The experiment evaluates the effect on aggregate development accuracy. It leaves open which categories benefit most from that additional context and how much earlier tagging mistakes affect the result.

The next comparisons keep the word window and previous tags and vary the spelling features. Current-word prefixes and suffixes of up to four characters give 70.97%. Limiting them to three characters gives 71.34%. Adding prefix and suffix information from the previous word to the latter configuration brings the score to 70.23%. The comparisons support affix information from the token being classified and favor the shorter of the tested limits in this setting. The decline with affixes from the previous word is compatible with the word identity and predicted tag already providing useful evidence for that position. The experiments record the decline without identifying its cause.

Where entity information helps

With the stronger current-word affix setting, the authors test which positions should contribute an entity label. Using labels for the previous, current, and next word gives 73.31% development accuracy. Using the current and next word gives 73.86%, and using only the current word gives 73.08%. The preferred combination uses the previous and current labels and reaches 74.03%. All the combinations improve on the corresponding 71.34% setting without entity information. The strongest result comes from passing a local part of the recognizer's output to the grammatical classifier, with the useful range for entity information narrower than the range selected for word identities.

When the authors add the digit, symbol, length, frequency, and function-word features as a group to the preferred entity configuration, the score rises to 77.43%. Adding the lexicon feature brings it to 82.82%, and adding the inflection feature then gives 86.08%. The latter two comparisons measure gains on top of the existing collection of clues. In particular, the classifier already has character suffix features when the curated inflection information is added. The higher score with both shows that the lists' association between endings and grammatical classes provides evidence beyond the fixed-length spelling features in this feature sequence.

The paper also reports trying different polynomial degrees and choosing degree two. It finds the pairwise classification strategy more effective than one-versus-rest, which asks whether an example belongs to a particular class or to the collection of all other classes. The paper gives the preferred settings without scores for the alternatives. The ordering explains why the authors used the chosen design in the later runs. The size of the advantage and its sensitivity to feature changes cannot be read from those comparisons.

Successive help for unfamiliar forms

The Bengali hidden Markov test results show the effect of adding the auxiliary resources in a fixed order. Using the lexicon for unfamiliar words raises the score from 79.06% to 81.87%. Adding the name recognizer brings it to 83.09%, and adding the remaining unknown-word features gives 85.56%. The sequence assigns the lexicon the first opportunity to label an unfamiliar form. Each later comparison tests a resource where the earlier stages leave an opening. The 83.09% setting, for example, measures the tagger with both lookup and entity recognition available.

The Bengali support vector tagger shows a similar progression on its development set. The 86.08% feature configuration rises to 88.27% with lexicon-based handling of unfamiliar words, to 89.13% with entity recognition also applied, and to 91.52% when the unknown-word features are included. The reported development baseline is 55.9%. On the Bengali gold-standard test set, the same progression goes through 85.46%, 88.15%, 90.04%, and 91.23%. In both splits, there is an increase at each step. This is evidence that the resources complement one another under the paper's ordering and that the fallback remains useful on held-out data after the features have been chosen.

Successive unknown-word aids on the Bengali support vector development set

Each added source of evidence improves accuracy in the tested order.

Successive unknown-word aids on the Bengali support vector development setSupport vector tagger with selected input features: 86.08Support vector tagger with selectedinput features86.08With lexicon fallback: 88.27With lexicon fallback88.27With lexicon and named entity fallback: 89.13With lexicon and named entity fallback89.13With lexicon, named entities, and unknown-word features (this paper): 91.52With lexicon, named entities, andunknown-word features (this paper)91.52
The numbers
System or settingaccuracy %
Support vector tagger with selected input features86.08
With lexicon fallback88.27
With lexicon and named entity fallback89.13
With lexicon, named entities, and unknown-word features (this paper)91.52

The lexicon analysis reports its size as the number of input documents grows. The run with 9737 documents produces 0.03 million root words. With 19,929 documents the figure is 0.04 million, and with 39,924 it is 0.065 million. The last two runs report 0.09 million root words with 69,951 documents and 0.128 million with 99,651 documents. The figures show that the procedure keeps identifying additional entries as it receives more text. The manual check gives an overall accuracy figure for the lexicon. The article counts give no corresponding check of how the newly added entries fare at each stage.

The authors also examine a confusion matrix for each Bengali tagger on the gold-standard test set. A confusion matrix groups decisions by reference tag and predicted tag, so it can reveal particular categories that are hard to tell apart even when the overall accuracy is high. The errors singled out include NNC and NN, compound and common nouns, as well as JJ and NN, adjectives and nouns. They identify confusion between JJ and JVB, the dedicated tag for an adjective in kriyamula. The listed verb-related categories include VFM and VAUX, finite main and auxiliary verbs, and VRB and NN, adverbial non-finite verbs and nouns.

For the compound-noun confusion, the authors suggest a Bengali multiword extraction component that could identify when adjoining words form a unit. They propose linguistic rules for the other ambiguities. The error account gives a reason to investigate both routes. A relevant unit can extend across several tokens, while some remaining decisions concern fine grammatical roles. The paper reports the confusions qualitatively. It provides no counts from the matrix or evaluation of either proposed remedy.

Limitations

Constraints the authors identify

The authors frame the work around a shortage of labeled examples. The hidden Markov approach is particularly affected by sparse counts, and the paper addresses that with interpolation for both transitions and emissions. One practical compromise is to estimate a common pair of emission interpolation weights for the training corpus. The authors consider weights that differ across words desirable and point to the time cost of calculating them. The resulting scores characterize the shared-weight design. The effects of estimating separate weights remain open.

The paper also highlights that the Hindi and Telugu experiments lack the unknown-word procedure available to Bengali. The authors point to Telugu's larger proportion of unknown test tokens as one possible explanation for the lower Telugu scores. They also suggest that the agglutinative character of Telugu, in which a word can contain several attached elements, may make tagging harder in this setup. These are explanations offered by the authors. The language comparisons do not hold the test vocabulary or the size and composition of the labeled data constant, and there is no controlled trial that varies only the presence of agglutinative forms.

The authors acknowledge remaining confusions in Bengali and propose remedies for them. The analysis is consistent with a tagger that can identify the broad class of many tokens and still struggle to distinguish roles such as a main verb and an auxiliary or the members of a compound noun. The published results concern the reported taggers before any experimental addition of the proposed multiword component or a rule-based correction stage. They therefore place a clear boundary around the error analysis: it identifies targets for further work, and the effect of the suggested changes is unmeasured.

What the setup leaves unresolved

The news material comes from a single newspaper archive. Its topic and geographic categories widen the collection within that source. Editorial style, conventions for names and numerals, and the period covered can still affect which forms are frequent enough to enter the lexicon or establish a preferred analysis. The evaluation gives no direct measure of lexicon coverage or tagger performance on Bengali from a different publication, genre, or period. The contest-derived labeled data establish performance on the reported splits. The study does not use a design that gauges how performance changes as the test text moves away from news.

The check of lexicon accuracy reports 79.6% without enough detail to establish the size or selection of the checked material, the treatment of ambiguous entries, or agreement among evaluators. The method chooses the best-supported candidate for a wordform, so the reported accuracy also leaves questions about how it represents a spelling that genuinely has more than one analysis. Corpuswide frequency is evidence about the prevalence of a candidate. The less frequent grammatical use can still be appropriate in a sentence. The distinction is particularly relevant when the procedure maps a lexical category to a single fine-grained tag during fallback.

Some resource counts are difficult to reconcile from the account. The final lexicon run lists 0.526 million distinct wordforms from 99,651 documents, whereas the corpus statistics list 467,858 distinct forms for the collection of 108,305 documents. The paper gives no explanation that would allow those figures to be treated as counts made under identical preprocessing and counting conventions. In the Bengali splits, the document describes drawing development data from the combined pool, even though the table lists the pool size as the training count. These ambiguities matter for anyone trying to reconstruct the vocabulary, the split, or the rate at which additional news yields new entries.

There is also limited detail about how all the resources relate at the document level. The lexicon is induced from news, and the recognizer learns from a labeled portion of the news collection. The grammatical training material is described through its contest sources. The paper does not give a document-level overlap audit between these resources and the final grammatical evaluation. The scores establish performance with the resources as used in the study. They leave unresolved how the Bengali test results would change if the auxiliary resources were drawn from text subject to a particular separation by date, document, or vocabulary.

The feature comparisons are strongest when a single feature or feature position changes and the rest of the setup is kept fixed. Some additions come in groups, notably the digit, symbol, length, frequency, and function-word features. Their gain belongs to the group in that configuration. The successive unknown-word experiments show what happens when the authors add the components in their chosen order, with lookup before name recognition and suffix features last. They do not supply the reverse order, an evaluation of every component on its own, or a breakdown of accuracy obtained specifically on unknown tokens. The overall scores thus leave room for uncertainty about how frequently the resources agree, how frequently they compete, and which words account for the gains.

Finally, the direct comparisons establish higher support vector accuracy for the feature sets and test data studied. The Bengali support vector experiment uses a rich set of indicators, while the hidden Markov tagger encodes context through its probabilities and uses the auxiliary resources for unknown words. The study evaluates the resulting taggers as systems. It does not run a comparison that holds every piece of information constant and varies only the learning approach. The observed ordering applies to the reported configurations, while the independent contributions of the classifier design, the extra features, and their interactions remain only partly measured.

What came after

The later Bengali work that cites the paper includes a study of emotion tagging in blogs. Word to Sentence Level Emotion Tagging for Bengali Blogs shifts the classification target from grammatical categories to sentiment and emotion. Its title locates the task at both word and sentence level and identifies blogs as the source of text. This puts the later study in a different setting from the newspaper project. The news paper attaches a grammatical category to each token. The blog study's stated task concerns emotional information, with the sentence itself among the units being labeled. The citation establishes a connection to the earlier Bengali resource research. It does not specify whether the blog study used the news text, the lexicon, or either tagger.

Developing the Bangla RST Discourse Treebank concerns the creation of a treebank for discourse analysis. A discourse treebank records structure among stretches of text. That is a different annotation target from a grammatical class for each word and from metadata identifying a headline or a paragraph. The connection is the work of turning Bengali text into a collection with explicit, analyzable structure. For the newspaper project, document markup makes the news collection usable and grammatical labels enable supervised tagging. The later work's title identifies discourse structure as the object of its collection. The citation gives no specific account of which, if any, corpus material or grammatical tools it inherited.

Together, the citing works point to two ways the scope of Bengali annotation broadened around the earlier resource work. One puts word- and sentence-level decisions in the same emotion task. The other builds a collection whose labels concern relations among stretches of text. The newspaper study's measured results belong to its own targets, lexical entries and word-level grammatical accuracy. Its connection to these later projects lies in the shared problem of acquiring usable Bengali text and deciding what structure must be represented for the task at hand.

Cite

Cite as Asif Ekbal and Sivaji Bandyopadhyay. 2008. Web-Based Bengali News Corpus for Lexicon Development and POS Tagging. Polibits.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.17562/pb-37-3

@inproceedings{ekbal2008web,
  title = {{Web-Based Bengali News Corpus for Lexicon Development and POS Tagging}},
  author = {Asif Ekbal and Sivaji Bandyopadhyay},
  booktitle = {Polibits},
  year = {2008},
  doi = {10.17562/pb-37-3},
  url = {https://doi.org/10.17562/pb-37-3}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/ekbal-2008-web-based-bengali-news-corpus/