Prashnottar: A Hindi Question Answering System
Paper · 2012 · Shriya Sahu
Summary
A search for the birthplace of Mahatma Gandhi can turn up a passage about his birth without identifying which words give the place. Prashnottar addresses this gap for readers who ask questions in Hindi and want answers in Hindi. It is a question answering system for questions beginning with the equivalents of when, where, how many, and at what time. The authors’ method uses the wording of the question to establish the kind of answer needed, then checks how relevant words and possible answers are arranged in stored Hindi sentences.
The system first uses the Hindi Shallow Parser to identify the question word and grammatical features that help it pick out search terms. It expresses the request as a logical predicate with a variable for the missing information. For a question about Gandhi’s date of birth, the known material identifies Gandhi and the birth, while the question word tells the system that the missing information should be a time or date. The most detailed extraction procedure in the paper checks the positions of the person, the birth expression, and a numeric token in candidate sentences. Several word orders are accepted, so the date can occur before the person’s name or after the birth expression, among other arrangements.
The authors evaluated Prashnottar on stored Hindi text collected from the web. Their test contained 60 questions, with 15 in each category. The system achieved an overall answer-extraction accuracy of approximately 68.00%. Accuracy was 80.00% for at what time, 73.33% for how many, 66.66% for when, and 53.00% for where. The authors attribute the lowest result to the difficulty of identifying which proper noun supplies the requested location. They also note that the system stops processing a question when its search yields no answer.
The experiment documents how the complete system performed on the authors’ question set. The paper illustrates why relations between words can matter with examples that keyword matching can mishandle, including a question about the first president that could retrieve a sentence about a different president. The reported evaluation groups results by question category, so it shows where the system fared better on this test while leaving the contribution of individual rules and processing stages unresolved.
Deep dive: Prashnottar: A Hindi Question Answering System
Prashnottar uses Hindi sentence analysis and word-order rules to extract dates, locations, counts, and times from stored Hindi text. · about 33 minutes to read
The problem and its context
From finding a passage to identifying a fact
The paper starts from a distinction about what a reader receives. In information retrieval, a search can succeed by bringing a relevant document to the reader’s attention. Reading that document and locating the needed fact are then separate tasks. In Prashnottar, the input specifies a missing detail and the system is responsible for finding text that supplies it. This changes the consequences of a near match. A passage may be worth opening because it concerns the right person or event, yet still be unsuitable as a response to the particular question.
Questions about Gandhi’s birth illustrate the difference between finding material on a subject and responding to an information need. A request for the date and a request for the place share the person and the event. The relevant documents might overlap considerably. The answers have different roles in those documents, however, and the system needs some way to identify which role the question selects. The authors use the question word to establish that role early. Knowing that the reader wants a place makes the occurrence of Gandhi’s name and a birth expression useful evidence without making those words sufficient to answer.
The authors also motivate the project through the demand for access to documents in Hindi. They describe a multilingual web and argue that Hindi speakers should be able to phrase their requests in Hindi and receive the extracted result in the same language. Their account characterizes work on Hindi question answering as limited compared with work on other languages. The technical response is to start with resources already available for analyzing Hindi sentences, then design a question and extraction procedure around the information that analysis supplies. The paper’s claims about the research landscape describe the setting in which the authors undertook the project.
The selected question categories make the problem manageable. A where question points toward a place, a how many question towards a count, and the temporal questions toward dates or times. All of them can be illustrated with requests whose answers occupy a relatively small part of a sentence. A system that first determines which kind of detail it needs can apply different evidence to each category. A number, for example, is relevant to a counting question only if it counts the requested things. Its appearance in a time expression would give the same surface cue a different interpretation.
Why word overlap can mislead
The paper gives a question about India’s first president as an example of how a plausible-looking match can go wrong. The sentence offered as a misleading result identifies A. P. J. Abdul Kalam with a different position in the presidential sequence. A search can find several obvious points of overlap, including the country and the office, while missing the very feature that distinguishes the requested person. The adjective specifying precedence belongs with the term for the office. The authors argue that treating those words together during matching can help avoid this particular mismatch.
This example has a narrower purpose than demonstrating the range of questions handled by the implementation. It asks who, a category outside the reported evaluation. Its role is to make a failure of matching easy to recognize. The same underlying issue can arise in the supported categories because an answer must be connected to the right person or event. An apparent date in a sentence gives little assurance when the sentence contains several events, just as a place name in a sentence about a person may refer to something other than the event the reader asked about. The paper’s positional rules are an attempt to use some of that surrounding structure.
A separate example concerns Kshir Sagar. The authors show that replacing one component of this expression with a Hindi synonym meaning milk can alter what the question refers to. The lesson concerns the context in which a substitution is made. A word can have a valid standalone synonym while belonging to an expression whose reference depends on retaining its form. The paper uses the example to illustrate a hazard of automatic query expansion. It gives no experiment with a synonym procedure, and the example again lies outside the categories used to score Prashnottar.
Taken together, the examples explain why the authors pay attention to information lost when a sentence is reduced to independent search terms. Order may help establish a connection, as when a number appears in a conventional position relative to an event expression. A modifier may narrow the answer to a particular person or thing. A sequence of words may refer to a single entity whose name should survive preprocessing. These observations motivate using selected grammatical and positional cues. The implementation the paper presents is most explicit about the last of the stages in this argument, namely checking positions after relevant terms have been chosen.
Earlier approaches as the authors describe them
The paper places Prashnottar among systems that make different choices about how to reach an answer. It describes SAM, Malaprop, PAM, and POLITICS as early examples associated with semantic matching. In the paper’s historical account, such approaches sought to relate a question to the meaning of stored material. The survey then turns to FAQ Finder, AnswerBus, and MULDER as examples of systems extending the search for answers to the web. This part of the account concerns the source of candidate material. The size and accessibility of that source are separate design questions from how a candidate sentence is judged.
The authors also discuss the question-answering task at the Text REtrieval Conference, or TREC. They describe LASSO as combining syntactic analysis with question classification. The parallel with Prashnottar is the use of classification to prepare for a more focused search. The paper describes INSIGHT in terms of surface patterns, which use recognizable forms in the text as evidence for an answer. Such patterns offer a comparison at the level of design: a useful answer frequently appears in a recurring arrangement, and an extraction procedure can check for that arrangement. The earlier systems are presented as context for those choices.
AQUA is the example in the survey that brings together language analysis, an ontology, reasoning, and extraction. An ontology supplies a structured description of the entities and relationships relevant to a domain. The paper cites AQUA when introducing Query Logic Language, the notation Prashnottar uses to represent a request. That connection accounts for the use of a logical query form. Prashnottar’s own extraction explanation concentrates on parsed question words and sentence patterns in Hindi. The survey’s description of ontology-based reasoning applies to AQUA, and the stages of Prashnottar have to be understood from its own implementation.
Another group of earlier systems helps explain the division between retrieving text and extracting an answer. The paper describes Multitext, IBM, and SiteQ as first locating promising passages with density-based methods and then looking inside those passages for the exact answer. The purpose of that division, in the authors’ account, is to speed up extraction by narrowing the text that needs close examination. Prashnottar likewise distinguishes search from presentation in its architecture. Its worked algorithm describes scanning a stored file, and its experiments provide answer accuracy as the measure of performance.
The survey broadens further to interactive systems. It describes BuyAns as encouraging contributions from users and discusses work on grouping answers so that they are easier to browse and on evaluating answer credibility. START and Baidu Zhidao appear as examples of systems that people can consult for answers. These designs show that collecting, organizing, and assessing responses can each form a substantial part of a question-answering system. Prashnottar’s paper concentrates on a different situation within that broader field: producing a response from already stored Hindi sentences when the grammatical form of the question offers a clear indication of what to seek.
The method, step by step
Following a question through the system
The reader enters a Hindi question through the query interface. Preprocessing analyzes the wording and identifies the expected answer category. Query generation turns the question into a logical form. The search stage uses selected terms and rules to locate relevant material in the stored text. A document holds the result, and the display stage converts its internal text representation to Hindi for the reader. The architecture therefore connects two different uses of language processing. It interprets a question at the input and applies what it has learned about that question when looking through possible answers.
How Prashnottar processes a Hindi question
The steps in order.
The distinction between search and display matters when following the running example. The search procedure for when describes selecting a sentence that passes a rule. The stage that follows holds the result, and the display stage changes how that result is written. A rule can therefore accept a sentence containing a useful date and surrounding information. The architecture leaves some detail open about how much of that sentence ultimately appears as the answer. It clearly identifies the transition from stored material to a result the reader can inspect.
The architecture’s stages describe responsibilities, while the implementation discussion mixes operations from adjacent stages. The section on preprocessing introduces the predicates used for logical queries, and a separate section explains classification using the parser. Read together, those descriptions supply two complementary views of the question. One gives the cues discovered in its wording. The other gives a compact representation of the event or relation and the missing detail. The paper also specifies that search uses the selected keywords and rules. The worked algorithm makes that last connection more concrete by giving the search positions to look up in each sentence.
What the parser tells the system
The authors use the Hindi Shallow Parser developed at IIIT Hyderabad. Its outputs include morphological analysis, which supplies information about word forms, and part-of-speech tagging, which assigns labels for grammatical categories such as noun, verb, or adjective. The parser also performs chunking, which groups words into local units. The authors note that the output of individual modules is available alongside the final analysis and that the outputs use Shakti Standard Format, abbreviated SSF. The extraction description relies chiefly on the identification of the question word and of terms needed for matching.
In the Taj Mahal example, the parser identifies the location question word and assigns it the tag WQ. The paper gives the word as kahAz in the parser representation. A tag identifies its grammatical function, while the word carrying the tag indicates the particular type of request. The equivalent of where places the question in the location category. The rest of the analysis helps the system pick out Taj Mahal as the subject of that request. These details work together: the question word specifies the kind of thing sought, and the name specifies what that thing must be related to.
The categories are defined through example questions and their expected answers. Asking when Gandhi was born calls for a time or date. Asking where the Taj Mahal is calls for a location. Asking about the number of continents calls for a numeric answer whose interpretation is a count. Asking at what time Steve Jobs died calls for a time. The last case receives its own class even though the broader when category can also accept temporal information. The resulting distinction is between how the request is phrased and the kind of detail the authors expect it to target.
Question classification thus amounts to more than recognizing that the input is interrogative. A noun associated with the question may be an entity that must be found in a relevant sentence. A verb or event expression may help establish what happened to that entity. The question word tells the system what kind of information remains to be found. In the Gandhi date example, the person and the birth supply much of the subject matter. The interrogative identifies the need for temporal information attached to that subject matter.
The paper uses grammatical analysis as a source of terms for the search. Its notation sometimes calls the selected items parts of speech, but the worked example names the concrete expressions for Gandhi and birth. This difference is important operationally. Searching a sentence for any noun or any verb would admit many unrelated sentences. Checking for the selected terms ties the pattern to the specific question. The paper does not give an exhaustive procedure for choosing those terms when several words carry the same grammatical label. Its examples establish what the chosen terms are for the questions it walks through.
How the logical query represents a missing detail
Query Logic Language, or QLL, is the notation that translates the Hindi question into a logical expression. The authors describe it as a subset of Prolog and say that they developed rules for the translation. In the examples, a predicate names a relation or event. The values in parentheses give the participants or other known details, together with a variable for what the user wants to find. The expressions below use English labels so that the roles in the paper’s Hindi predicates are easy to follow.
birth(Gandhi, X)
birth is the predicate for the birth event, Gandhi identifies the person, and X marks the information requested about the event. Parentheses enclose the arguments, and the comma separates the known person from the unknown value. For the paper’s date question, X is interpreted as a time or date because the question is classified as when.
The authors use the same displayed predicate for a question about where Gandhi was born. In that case X stands for a place. Comparing the examples reveals a division of labor within the representation. The predicate records which event and person are at issue, and the classification supplies the expected type of the value. The expression displayed in the paper has no additional position that distinguishes a date variable from a place variable. The rest of the procedure therefore needs the classification, or information equivalent to it, to tell those readings apart. This is consistent with the authors’ statement that the question word and selected terms are used during extraction.
The authors give a different predicate for the question about the Taj Mahal. The sentence asks for the location of a named entity without mentioning a birth or another event.
location(Taj_Mahal, X)
location names the relation being queried, Taj_Mahal is the argument identifying the monument, and X represents the missing place. The underscore joins the words of the name in this rendering. The parentheses enclose the arguments, and the comma separates the entity argument from the answer variable. Both this query and the Gandhi birthplace query require a location, even though they use different predicates to express what the location is related to.
A visit example shows how a query can preserve more known information. The question supplies the East India Company and India and asks when the visit took place.
visit(East_India_Company, India, X)
visit identifies the event, East_India_Company identifies the visitor, India identifies the place visited, and X represents the time sought. The underscores join the words of the company name within a single argument. Parentheses enclose the arguments, and the commas separate their positions. The query retains India as a known part of the event. Finding a place in a candidate sentence would therefore address information already present in the question, while finding the visit’s time would fill the requested position.
These examples explain what the authors mean by expressing the user’s request in logical form. The predicate groups the known information around an event or relationship and marks the place for an answer. The paper’s detailed search procedure is written in terms of words, positions, and a numeric check. It does not trace a formal proof or show a collection of logical facts consulted by an inference engine. For understanding the implementation, the documented predicate examples and the positional matcher are the two concrete pieces: one states the request and the other shows how the authors look for a sentence that can satisfy it.
How the when rules select sentences
The worked extraction procedure takes a stored data file and terms selected from the question. For the question about Gandhi’s birth date, the relevant terms identify Gandhi and the birth event. The procedure reads the file sentence by sentence. For each sentence, it looks up the positions corresponding to the selected terms. It also splits the sentence into words. This is the procedure’s form of tokenization, the operation of turning a text sequence into units that can be examined individually.
n ← Split(S)
S is the current sentence, and Split is the operation that divides it into words and returns the word count. n holds that count, and ← denotes assignment. The parentheses mark S as the input to Split. The count tells the subsequent loop how far to scan through the resulting words.
The procedure checks each word with a test the authors call is_a_digit. Its job, in the paper’s description, is to determine whether the word is numeric. When the test succeeds, the pseudocode assigns the current word position to the variable for the numeric position.
k ← p
p is the position being examined in the loop, k is the stored position of a numeric word, and ← assigns the current value of p to k. The test is applied as the loop proceeds through the sentence. As written, the assignment can replace an earlier numeric position with a later one. The paper leaves the handling of multiple numeric candidates and cases with no numeric candidate unspecified beyond what this loop shows.
The procedure then compares the position of the numeric word with the positions of the selected question terms. These comparisons use word order as evidence that the sentence expresses the event and supplies a relevant time. The first condition appears in the pseudocode as an ordering with the entity first, the event expression next, and the numeric word later.
i < j ∧ j < k
i is the position of the first selected search term, which identifies Gandhi in the worked example. j is the position of the other term, which identifies the birth. k is the numeric position from the scan. Each < means that the position to its left comes earlier in the sentence than the position to its right. The symbol ∧ means that both comparisons must hold. The authors illustrate this arrangement with a declarative sentence that introduces Gandhi and his birth before giving the date. The conditions require an order, and intervening words can occur between the matched positions.
The next condition allows the numeric expression to appear earlier. The subject and event can still occur in their previous relative order.
k < i ∧ i < j
k again represents the numeric position, i the position associated with Gandhi, and j the position associated with birth. Each < requires the position on its left to precede the position on its right, and ∧ requires both comparisons to hold. The example for this arrangement opens with the date and then mentions Gandhi and the birth. A reader encounters the same essential information in a different sequence, and the separate condition lets the procedure recognize that organization.
The paper describes further patterns by example. In one, the sentence begins with the date, introduces the birth of a person, and identifies that person as Gandhi later in the sentence. This gives the reference to Gandhi a different position relative to the birth expression. In another, Gandhi is mentioned first, the date comes next, and the expression for being born closes the relevant sequence. These examples show the range of arrangements that motivates the rule set. They establish how the sample sentences are organized without specifying other details, such as how to resolve multiple occurrences of a search term in a sentence.
The rules are alternative ways to qualify a candidate. The authors say that the sentence can produce a result when one of the rules is satisfied. In the pseudocode, selecting a sentence follows a successful comparison, and a flag records that a match was found. This is a matching procedure with a set of acceptable orders. The examples show why the added orders matter to coverage. A rule designed around a subject followed by an event and then a date would miss a sentence that opens with the date before presenting the same information. The additional patterns allow the numeric expression to occur on either side of material identifying the event.
A numeric match is a practical cue because the examples contain a day, or a day and year, as part of the date. A date in readable Hindi can contain other words as well, such as the month. In the documented loop, the numeric word supplies a position for the rule. The unit selected by a successful comparison is the sentence, so other words needed to understand the date can be available in the result. The paper leaves open whether subsequent processing ever isolates a complete date expression from that sentence. It also leaves open how the selected numeric position behaves when several numerals belong to different details.
The code description uses indexes for the search terms and the numeric word as though those positions have been obtained. That is enough to explain the examples, where each relevant ingredient appears. It leaves several boundary cases open. A sentence can omit a search term, contain a term more than once, or refer to a person through a form that differs from the one in the question. The authors’ examples include variations in how Gandhi is named, but the method does not specify the normalization or matching needed to relate all those forms. The patterns demonstrate permissible arrangements once the positions have been identified.
Applying the architecture to other answers
The authors say that the rule-based procedure can be adapted to where, how many, and at what time. The shared process is to classify the request, select terms that identify its subject or event, and search for sentences with a plausible answer in context. The answer category governs what qualifies as a candidate. A numeric position is appropriate to the worked date example. A location question requires a place associated with the right entity or event, and a count must refer to the things named in the question. The paper gives these expected categories and reports their evaluation results, while reserving its detailed matching example for when.
The distinction between a number and what the number counts is especially clear in the continents example. The question fixes the entities being counted. The numeric answer fills the remaining request only in relation to those entities. For at what time, the event whose time matters is fixed instead, as in the question about Steve Jobs’s death. The broad plan of using selected terms and an expected answer category applies to both. The paper does not supply an equivalent set of predicate and position rules for every category, so these examples establish the task faced by each extractor without spelling out its full implementation.
The stored text serves as the material from which answers can be drawn. The authors collected Hindi text from the web and used it as static data. The worked algorithm describes reading sentences from a file, and the architecture calls this stage a database search. In this account, the search operates on a prepared collection. The paper describes the construction of translation and extraction rules, with the Hindi Shallow Parser already available as a component. It does not give a training stage for Prashnottar or a separate dataset on which its extraction rules were fitted.
After search, the architecture stores results in a document. These results are represented in wx format, which the system converts to Hindi text for display. That conversion concerns how the result is presented. The earlier steps establish what text the system considers relevant. The screen shown in the paper illustrates the implemented interface, while the description of the matcher explains the relation between the question and the sentences it can select.
Experiments and results
A test on stored web text
The authors evaluated Prashnottar on Hindi text collected from the web and saved for the experiment. They report that a benchmark test set was unavailable for their analysis and describe Hindi answer extraction as an area whose tools were still developing. Their evaluation used 60 questions divided evenly across the supported categories, with 15 questions each for when, where, how many, and at what time. Equal numbers make it possible to examine each category on the same number of questions. The distribution is a property of the evaluation and gives no estimate of how often users ask each kind of question.
The paper does not specify question sources, document sources in sufficient detail to reconstruct the collection, or a development and test split. Its description establishes the language, the origin of the stored material, and the sizes of the question groups. It is unclear whether the collection was assembled around the questions, whether the questions were created after inspecting the collection, or how much overlap there was between examples used in designing the rules and examples used in evaluation. Those choices affect what sort of generalization an accuracy result can demonstrate.
The outcome is reported as answer-extraction accuracy. It summarizes success at answering the questions in the experiment, with results for each category and for the full set. Although the results table names questions and errors as quantities of interest, the paper does not describe the judgment procedure in enough detail to recover how every output was scored. For instance, the written algorithm can select a sentence, and the architecture prepares results for display. The evaluation does not say whether a sentence containing the answer was accepted in all cases or how a response with several candidate sentences was judged.
The experiment has no measured baseline. The case of a keyword search retrieving the wrong president motivates the use of additional criteria. It is an example of a possible failure and comes from outside the tested categories. The survey’s systems likewise provide design context without scores on the authors’ Hindi question set. The quantitative comparisons available from the experiment are comparisons among the categories of Prashnottar’s own evaluation.
Accuracy by question category
Prashnottar answer-extraction accuracy by question type on stored Hindi web text
Questions asking for a specific time scored highest, while location questions scored lowest.
The numbers
| System or setting | accuracy % |
|---|---|
| When | 66.66 |
| Where | 53.00 |
| How many | 73.33 |
| What time (this paper) | 80.00 |
The paper gives the overall accuracy as roughly 68.00% across the 60 questions. In the group of 15 at what time questions, the reported accuracy is 80.00%, the highest of the categories. The group of 15 how many questions scores 73.33%, and the group of 15 when questions scores 66.66%. The where group, also consisting of 15 questions, scores 53.00%. These are the percentages the authors report. The chart compares category results, and the overall figure refers to the evaluation as a whole.
Keeping the two temporal categories separate matters for reading those results. The authors use when for requests whose answer can be a time or a date. They also define a category specifically asking at what time something happened. The questions belong to different groups and each group receives an accuracy figure. The observed ordering is consistent with the possibility that the more specific form makes some targets easier to identify. The experiment does not match the same events and source sentences across both groups, so that explanation remains distinct from what the scores establish.
The authors view dates and times as relatively easy to identify and connect that observation to the stronger categories. The when rule illustrates the kind of visible cue available to an extractor: a word that passes a numeric test can serve as a candidate anchor. The classification table similarly describes the target of how many as a number. Those cues are useful for describing the problem faced by each category. A percentage for a category measures the outcome of the complete procedure, however, including question classification, term selection, finding relevant text, and choosing whether it qualifies. It gives no separate measure of how often a visible numeric expression led to a valid answer.
For location questions the authors emphasize a different problem. A location can be a proper noun, and a sentence can contain several proper nouns that are plausible candidates. The category determines what type of answer is expected, while the relation in the question determines which candidate counts. The birthplace example makes the distinction concrete. A person’s name and a place name can both be prominent, and the place still needs to be linked to the birth event. The authors’ analysis attributes the lower location accuracy to difficulty selecting the relevant proper noun.
The screenshot and the reported scores serve different purposes. The screenshot shows the Hindi question-answering system as an application. The scores describe outcomes over the test questions. The examples of successful sentence patterns likewise show that the authors designed the rules to accept different orders. They carry no per-rule frequencies, and none of the individual examples demonstrates how frequently similar inputs occurred in the evaluation. The numerical results remain aggregate outcomes for the categories the authors defined.
What the ablations show
The paper reports no ablation or controlled component comparison, and its analysis consists of accuracy by question category, examples of sentence orders accepted by the temporal rules, qualitative cases of misleading matches, and an observation about questions for which the search produces no answer.
What the category comparison can establish
The category breakdown locates a weakness that the overall result alone would hide. Location questions were the least successful group even though they received the same number of evaluation questions as each other category. The authors explain the result through the difficulty of deciding which proper noun answers a question. This diagnosis is plausible given the setup. Identifying a word as a proper noun supplies a grammatical clue, while identifying it as the location of the event requires information about its role in the sentence. The experiment reports the combined outcome of those decisions. It does not give counts of questions that failed specifically because the wrong proper noun was chosen.
The stronger results on the other categories support a narrower description of the test outcome. On these questions, the system answered the requests for counts and specific times more successfully than the requests for places. The authors’ observation about readily identifiable dates and times offers an explanation. Yet the categories vary together with the events asked about, the wording of the questions, the sentences in the collection, and the cues available to the rules. A comparison across categories therefore reveals where trouble occurred in this evaluation while leaving the individual causes open.
The difference between when and at what time illustrates this constraint especially well. Both concern time, but the authors reserve separate answer categories for them. The same experiment that makes their scores easy to locate supplies little detail about whether their source sentences contain comparable expressions or whether the rules used to process them are comparable. The result can be read as an empirical description of the two groups. It cannot by itself identify a feature of the interrogative or a particular temporal pattern responsible for the ordering.
What the examples explain
The examples accompanying the temporal rules provide a more direct view of the rules’ intended behavior. Under the first condition, the person and birth expression precede the numeric token. A date-first sentence can fail that condition even when it supplies a correct answer. The second condition recognizes one arrangement for such a sentence. The other examples extend the same reasoning to sentences that name the person later or put the date between the entity and event expression. These are demonstrations of coverage by construction. The paper gives no frequency data from which to determine how many evaluated answers depended on each order.
The example involving India’s first president explains a different issue. Matching common words can admit a passage about the right office in the right country while ignoring the qualifier that determines the intended officeholder. Keeping the modifier connected to the office is the authors’ proposed remedy for that example. Its value in the analysis is to identify the kind of error that a keyword baseline might make. The paper gives no baseline run that would show how frequently the positional procedure avoids this or related errors on the tested questions.
The Kshir Sagar example qualifies the idea that widening a lexical search is always beneficial. The substitution may preserve the dictionary relationship between individual words and still disrupt the larger expression used to identify the subject of the question. This is a qualitative analysis of an error that could arise from synonym use. The paper reports neither a synonym-expansion experiment nor a test of how the system handles names containing words that admit ordinary synonyms. Its example concerns why an apparently reasonable preprocessing choice needs care.
Finally, the authors report that a question receives no further processing if the procedure fails to find an answer. This describes a specific stopping behavior that can contribute to low accuracy. A missing source sentence, difficulty identifying the search terms, or failure to satisfy a positional rule can all lead to the same visible result in a pipeline of this form. The paper does not provide a breakdown of unanswered questions by such causes. Its analysis identifies the point at which the current implementation stops and leaves the preceding source of each failure undetermined.
Limitations
Limits the authors identify
The authors restrict the evaluated system to the listed temporal, location, and counting questions. The conclusion names What where the abstract and experiment use When. The implementation gives a rule procedure for when, and the results report a when category, so the experimental scope is best read from those parts of the paper. There is no separate evaluation of general what questions. The questions about the first president and Kshir Sagar are illustrative examples of matching problems, and the reported question groups set the scope of the measured results.
The authors also acknowledge that evaluation took place on stored Hindi web text because a benchmark test set was unavailable to them for this purpose. They propose extending the algorithm from static data to material available dynamically on the internet. That proposal distinguishes the origin of the documents from the operation of the system. The current experiment uses content originally obtained from the web, with answering performed against the stored collection. Answering from a changing source is an extension the authors discuss for future work.
Within the current scope, the authors identify location extraction as particularly difficult. Even when the question makes the requested category clear, an appropriate place has to be selected from the material found. The authors also identify the lack of further processing for unanswered questions as a source of lower accuracy. They mention a broader request about preparing to travel to Shimla to illustrate a difficult question. Such a request calls for practical information with a context that can affect what counts as a helpful answer. It also differs in scope from the supported fact requests, so the example serves to describe a challenge beyond the main evaluation.
The conclusion suggests using a more semantic approach and introducing a probability distribution to improve how results are obtained. These are directions the authors propose. The implemented rules already use a representation of the request and check relations among positions, while the search example relies on explicit conditions. The paper provides no experimental outcome for the proposed extensions. It also does not specify what objects the probability distribution would be over or how that distribution would interact with the rule checks.
Limits visible in the evaluation
The overall accuracy applies to the tested collection and the authors’ mix of question types. The paper does not describe how representative the documents are of Hindi writing or how representative the questions are of real requests. A category with a fixed allotment of questions may have less or more influence on an actual deployment, depending on how frequently people use that form. The balanced design makes each category visible in the experiment. It leaves accuracy for a different mixture of questions unmeasured.
The absence of a reported split also limits what can be said about unfamiliar wording. Developing rules for patterns and then testing them against those same kinds of patterns can demonstrate that the implementation behaves as designed. Establishing performance on independently chosen formulations requires knowing how the test questions and their supporting sentences were selected. The paper does not supply that information. Its worked examples show the behavior intended for several sentence orders, while the reported accuracy leaves the relationship between those illustrations and the evaluation questions unclear.
Questions that the collection cannot answer present another uncertainty. If a date or place is absent from the stored text, a correct classification and a suitable rule cannot recover it through sentence matching. If the answer is present but appears in an unexpected order, the rule itself may be the reason the search fails. The test results do not distinguish those cases. Evaluating the architecture on a fixed collection is a sensible way to show how it behaves under stated conditions, but the reported failure rate cannot be assigned to text coverage or extraction with precision.
The accuracy measure also offers limited visibility into the usefulness of the displayed result. A matching sentence can contain the requested fact alongside other dates, names, or numbers. A short answer can convey the fact directly, while a sentence gives the reader context to interpret it. Both are plausible outputs for this architecture. The paper describes selecting sentences and displaying results, without reporting enough about scoring to show how output length, additional candidates, or partly correct material affected judgments. Thus the term answer-extraction accuracy is best retained at the level at which the authors report it.
The lack of a numerical baseline prevents a measured claim about the value added by word order. The paper’s reasoning about the first-president example shows how a local constraint might prevent a particular kind of error. In the actual evaluation, classification, keyword selection, rules, and corpus coverage all contribute to the final result. The observed accuracy gives the performance of that combination. Claims about an advantage over keyword search, an improvement supplied by logical query generation, or the benefit from a particular rule would require measurements that the paper does not report.
Limits visible in the method
The algorithm for when is much easier to inspect than the extraction procedures for the other categories. The reader can follow the terms selected for Gandhi’s birth, the numeric check, and the order tests. For location and the other answer types, the paper gives examples of the requests and the expected results, then explains that the same approach can be adapted. It leaves the category-specific rules and their interactions largely unspecified. This makes it difficult to explain the location result in implementation terms beyond the authors’ observation about proper nouns.
The temporal procedure also illustrates how a structural cue can be weaker than the relation it stands for. A sentence may put a person, an event, and a number in an allowed order while associating the number with a different detail. Conversely, a valid answer can be expressed with words or in an arrangement that the documented condition does not recognize. These are possibilities implied by the use of term positions and a numeric test. The paper’s examples show the patterns that the rules aim to recognize, without establishing how often coincidental matches or unsupported forms occur.
The implementation detail about recording a numeric position raises a concrete ambiguity. If a sentence contains both a day and a year, storing the last numeric position may still help the sentence satisfy an order condition. The displayed sentence can retain the entire date. In a more complicated sentence, a later numeric word could belong to another event. The explanation does not specify whether dates are grouped before matching, whether all numeric positions can be tested, or how the final output handles competing temporal expressions. The rule can be understood from the examples even though those decisions remain open.
A related ambiguity concerns how the matching terms are found. Grammatical tags can help identify which parts of a question refer to a person and an event. Matching those parts in stored sentences requires a treatment of differences in wording, inflection, and reference. The authors’ discussion of synonyms shows why broad substitution can be hazardous. Their discussion of modifiers shows why retaining structure can matter. The extraction description does not supply a complete treatment of these cases. Its strongest technical evidence is for a small set of patterns once the relevant positions are available.
Finally, the logical representation documents what the query means at a useful level of abstraction, but the route from that representation to the answer is only partly specified. The same predicate can appear for a date question and for a place question, with the difference carried by classification. The algorithm accepts search terms associated with the question and applies a rule for its category. The paper does not give a full account of how every predicate produces those terms and selects its rule set. A reader can reconstruct the intent of the worked examples and the main flow of the system while still lacking details needed to reproduce all of its behavior.
What came after
No subsequent work is documented as extending or evaluating Prashnottar. The paper ends with prospective directions from the authors. They concern how a question and a sentence are matched, how to choose an answer when several results are possible, and where the system looks for its evidence. Each direction addresses a different part of the design described in the paper.
The proposed semantic approach concerns the relationship between the request and the candidate sentence. In the worked extraction example, a question identifies a person and an event, and the matcher looks for the associated terms and a numeric expression in an allowed order. The authors suggest going further in using meaning to guide extraction. Their earlier examples explain why this is a substantive problem. A qualifier can determine which fact is requested, while a synonym can change the reference of an expression if it is substituted in the wrong context. The conclusion leaves the design of the proposed semantic procedure open.
The suggestion of a probability distribution concerns the choice of results. In the implemented example, a sentence qualifies by satisfying a rule. A probability-based extension is mentioned as a way to pursue better results, but the authors do not describe a scoring procedure or report an experiment with one. The existing accuracy figures therefore belong to the rule-based system evaluated on stored text.
The proposed move to dynamic internet data concerns the collection searched for answers. The evaluated system starts from Hindi text gathered and saved in advance. A changing collection would extend the source against which the query is run. The paper closes with that extension still prospective, leaving the stored-text experiment as its account of Prashnottar’s measured performance.
Cite
Cite as Shriya Sahu. 2012. Prashnottar: A Hindi Question Answering System. International Journal of Computer Science and Information Technology.
@article{sahu2012prashnottar,
title = {{Prashnottar: A Hindi Question Answering System}},
author = {Shriya Sahu},
journal = {International Journal of Computer Science and Information Technology},
year = {2012},
doi = {10.5121/ijcsit.2012.4213},
url = {https://doi.org/10.5121/ijcsit.2012.4213}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/sahu-2012-prashnottar-hindi-question-answering-system/