| { |
| "paper_id": "P79-1006", |
| "header": { |
| "generated_with": "S2ORC 1.0.0", |
| "date_generated": "2023-01-19T08:11:41.016630Z" |
| }, |
| "title": "UNGRAMHATICALITY AND EXTRA-GRAMMATICALITY IN NATURAL LANGUAGE UNDERSTANDING SYSTEMS", |
| "authors": [ |
| { |
| "first": "Stan", |
| "middle": [ |
| "C" |
| ], |
| "last": "Kwasny", |
| "suffix": "", |
| "affiliation": {}, |
| "email": "" |
| }, |
| { |
| "first": "R", |
| "middle": [ |
| "M" |
| ], |
| "last": "Weischedel", |
| "suffix": "", |
| "affiliation": {}, |
| "email": "" |
| }, |
| { |
| "first": "J", |
| "middle": [], |
| "last": "Black", |
| "suffix": "", |
| "affiliation": {}, |
| "email": "" |
| }, |
| { |
| "first": "\"", |
| "middle": [], |
| "last": "Responding", |
| "suffix": "", |
| "affiliation": {}, |
| "email": "" |
| } |
| ], |
| "year": "", |
| "venue": null, |
| "identifiers": {}, |
| "abstract": "", |
| "pdf_parse": { |
| "paper_id": "P79-1006", |
| "_pdf_hash": "", |
| "abstract": [], |
| "body_text": [ |
| { |
| "text": "Among the components included in Natural Language Understanding (NLU) systems is a grammar which specifies much of the linguistic structure of the utterances that can be expected.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "However, it is certain that inputs that are ill-formed with respect to the grammar will be received, both because people regularly form ungra=cmatical utterances and because there are a variety of forms that cannot be readily included in current grammatical models and are hence \"extra-grammatical\". These might be rejected, but as Wilks stresses, \"...understanding requires, at the very least, ... some attempt to interpret, rather than merely reject, what seem to be ill-formed utterances.\" [WIL76] This paper investigates several language phenomena commonly considered ungrammatical or extra-grammatical and proposes techniques directed at integrating them as much as possible into the conventional grammatical processing performed by NLU systems through Augmented Transition Network (ATN) grammars. For each NLU system, a \"normative\" grammar is assumed which specifies the structure of well-formed inputs. Rules that are both manually added to the original grammar or automatically constructed during parsing analyze the ill-formed input. The ill-formedness is shown at the completion of a parse by deviance from fully grammatical structures. We have been able to do this processing while preserving the structural characteristics of the original grammar and its inherent efficiency.", |
| "cite_spans": [ |
| { |
| "start": 493, |
| "end": 500, |
| "text": "[WIL76]", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "Some of the phenomena discussed have been considered previously in particular NLU systems, see for example the ellipsis handling in LIFER [HEN??] . Some techniques similar to ours have been used for parsing, see for example the conjunction mechanism in LUNAR [WOO?3).", |
| "cite_spans": [ |
| { |
| "start": 138, |
| "end": 145, |
| "text": "[HEN??]", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "On the linguistic side, Chomsky [CHO6q] and Katz [KAT6q] , among others have considered the treatment of ungrammatlcality in Transformational Grammar theories.", |
| "cite_spans": [ |
| { |
| "start": 24, |
| "end": 39, |
| "text": "Chomsky [CHO6q]", |
| "ref_id": null |
| }, |
| { |
| "start": 44, |
| "end": 56, |
| "text": "Katz [KAT6q]", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "The study closest to ours is that of Weischedel and Black [WEI?9] .", |
| "cite_spans": [ |
| { |
| "start": 58, |
| "end": 65, |
| "text": "[WEI?9]", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "The present study is distinguished by the range of phenomena considered, its structural and efficiency goals, and the inclusion of the techniques proposed within one implementation.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "This paper looks at these problems, proposes mechanisms aimed at solving the problems, and describes how these mechanisms are used.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "At the end, some extensions are suggested. Unless otherwise noted, all ideas have been tested through implementation.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "A more detailed and extended discussion of all points may be found in Kwasny [KWA?9] .", |
| "cite_spans": [ |
| { |
| "start": 77, |
| "end": 84, |
| "text": "[KWA?9]", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1." |
| }, |
| { |
| "text": "in handling ungrammatical and extra-grammatical input depends on two factors. The first is the identification of types of ill-formednese and the patterns they follow.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Success", |
| "sec_num": null |
| }, |
| { |
| "text": "The second is the relating of ill-formed input to the parsing path of a grammatical input the user intends. This section introduces the types of ill-formedness we have studied, ee Current Address:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Success", |
| "sec_num": null |
| }, |
| { |
| "text": "Computer Science Department Indiana University Bloomington, Indiana to grammatical", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Success", |
| "sec_num": null |
| }, |
| { |
| "text": "Our first class of errors can be connected to co-occurrence restrictions within a sentence. There are many occassions in a sentence where two parts or more must agree (= indicates an ill-formed or ungrammatical sentence): =Draw a circles. \"I will stay from now under midnight.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "II.I Co-Occurrence Violations", |
| "sec_num": null |
| }, |
| { |
| "text": "The errors in the above involve coordination between the underlined words. The first example illustrates simple agreement problems. The second involves a complicated relation between at least the three underlined terms.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "II.I Co-Occurrence Violations", |
| "sec_num": null |
| }, |
| { |
| "text": "Such phenomena do occur naturally.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "II.I Co-Occurrence Violations", |
| "sec_num": null |
| }, |
| { |
| "text": "For example, Shore ($H077] analyzes fifty-six freshman English papers written by Black college students and reveals patterns of nonstandard usage ranging from uninflected plurals, possessives, and third person singulars to overinflection (use of inappropriate endings.)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "II.I Co-Occurrence Violations", |
| "sec_num": null |
| }, |
| { |
| "text": "For co-occurrence violations, the blocks that keep inputs from being parsed as the user intended arise from a failure of a test on an arc or the failure to satisfy an arc type restriction, e.g., failure of a word to be in the correct category. The essential block in the first example would likely occur on an agreement test on an arc accepting a noun, The essential blockage in the second example is likely to come from failure of the arc testing the final preposition.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "II.I Co-Occurrence Violations", |
| "sec_num": null |
| }, |
| { |
| "text": "In handling ellipsis, the most relevant distinction to make is between contextual and telegraphic ellipsis.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Ellipsis and Extraneous Terms", |
| "sec_num": "11.2" |
| }, |
| { |
| "text": "Contextual ellipsis occurs when a form only makes proper sense in the context of other sentences. For example, the form ePresident Carter has.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Ellipsis and Extraneous Terms", |
| "sec_num": "11.2" |
| }, |
| { |
| "text": "seems ungrammatical without the preceding question form Who has a daughter named Amy? President Carter has.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Ellipsis and Extraneous Terms", |
| "sec_num": "11.2" |
| }, |
| { |
| "text": "Telegraphic ellipsis, on the other hand, occurs when a form only makes proper sense in a particular situation.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Ellipsis and Extraneous Terms", |
| "sec_num": "11.2" |
| }, |
| { |
| "text": "For example, the tome 3 chairs no waiting (sign in barber shop)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Ellipsis and Extraneous Terms", |
| "sec_num": "11.2" |
| }, |
| { |
| "text": "Yanks split (headline in sports section)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Ellipsis and Extraneous Terms", |
| "sec_num": "11.2" |
| }, |
| { |
| "text": "Profit margins for each product (query submitted to a NLU system) are cases of telegraphic ellipsis with the situation noted In parentheses.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Ellipsis and Extraneous Terms", |
| "sec_num": "11.2" |
| }, |
| { |
| "text": "The final example Is from an experimental study of NLU for management information which indicated that such forms must be considered", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Ellipsis and Extraneous Terms", |
| "sec_num": "11.2" |
| }, |
| { |
| "text": "[MAL75].", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Ellipsis and Extraneous Terms", |
| "sec_num": "11.2" |
| }, |
| { |
| "text": "Another type of unarammaticality related to ellipsis occurs when the user puts unnecessary words or phrases In an utterance.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Ellipsis and Extraneous Terms", |
| "sec_num": "11.2" |
| }, |
| { |
| "text": "The reason for an extra word may be a change of intention In the middle of an utterance, an oversight, or simply for emphasis. For example,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Ellipsis and Extraneous Terms", |
| "sec_num": "11.2" |
| }, |
| { |
| "text": "\u2022 Draw a llne with from here to there. The best way to see the errors In terms of the ATN is to think of the user as trylng to complete a path through the grammar, but having produced an input that has too many or too few forms necessary to traverse all arcs,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Ellipsis and Extraneous Terms", |
| "sec_num": "11.2" |
| }, |
| { |
| "text": "Conjunction is an extremely common phenomenon, but it is seldom directly treated in 8 grammar. We have considered several typos of conjunction.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "II.3 Conjunction", |
| "sec_num": null |
| }, |
| { |
| "text": "John loves Mary and hates Sue.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Simple forms of conjunction occur most frequently, as in", |
| "sec_num": null |
| }, |
| { |
| "text": "Gapping occurs when internal segments of the second conjunct are missina, as in John loves Mary and Wary John.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Simple forms of conjunction occur most frequently, as in", |
| "sec_num": null |
| }, |
| { |
| "text": "The list form of conjunction occurs when more than two elements are joined in a single phrase, as in John loves Wary. Sue, Nancy. end Bill.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Simple forms of conjunction occur most frequently, as in", |
| "sec_num": null |
| }, |
| { |
| "text": "conjunction occurs in sentences to coordinate the Joining of constituents, as in John both loves and hates Sue.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Correlative", |
| "sec_num": null |
| }, |
| { |
| "text": "The reason conJuncts are generally left out of grammars is that they can appear in so many places that inclusion would dramatically increase the size of the grammar. The same argument applies to the ungrammatical phenomena. Since they allow so much variation compared to grammatical forms, including them with existing techniques would dramatically increase the size oF a gram~aar.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Correlative", |
| "sec_num": null |
| }, |
| { |
| "text": "Further there is a real distinction in terms of completeness and clarity of intent between grammatical and ungrammatical forms. Hence we feel justified In suggesting speciai techniques for their treatment.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Correlative", |
| "sec_num": null |
| }, |
| { |
| "text": "The following presentation of our techniques assumes an understanding of the ATN model. The techniques are applied to the langumae phenomena discussed ~n the previous section.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III. Proposed Mechanisms and How They Apply", |
| "sec_num": null |
| }, |
| { |
| "text": "The first two methods described are relaxation methods which allow the successful traversal of ATN arcs that miaht not otherwise be traversed.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.l Relaxation Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "Durin8 parsina, whenever an arc cannot be taken, a check is made to see if some form of relaxation can apply.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.l Relaxation Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "If it can. then a backtrack point is created which includes the relaxed version of the arc.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.l Relaxation Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "These ChomsMy discusses the notion of organizing word categories hierarchically in developing his ideas on degrees of grammaticalness.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.l Relaxation Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "We have applied and extended these ideas In our second method of relaxation called catesory relaxation.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.l Relaxation Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "In this method, the 8rammar writer produces, along with the grammar, a hierarchy describing the relationship amen8 words, categories, and phrase types which is utilized by the relaxation mechanism to construct relaxed versions of arcs that hive failed.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.l Relaxation Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "When an arc fails because of an arc type failure (i.e., because a particular word, category, or phrase was not found) a new arc (or arcs) may be created according to the description of the word, category, or phrase in the hierarchy.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.l Relaxation Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "Typically. PUSH arcs will relax to PUSH arcs, CAT arcs to CAT or PUSH arcs, and WRD or HEM arcs to CAT arcs.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.l Relaxation Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "Consider. for example, the syntactic cateaory hierarchy for pronouns shown in Figure 1 . For this example, the cateaory relaxation mechanism would allow the relaxation of PERSONAL pronouns to include the category PRONOUN.", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 78, |
| "end": 86, |
| "text": "Figure 1", |
| "ref_id": null |
| } |
| ], |
| "eq_spans": [], |
| "section": "III.l Relaxation Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "The arc produced from category relaxation of PERSONAL pronouns also includes the subcategories REFLEXIVE and DEMONSTRATIVE in order to expand the scope of terms during relaxation. As with test relaxation, successive relaxations could occur.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.l Relaxation Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "For both methods of relaxation, \"deviance notes\" are generated which describe the nature of the relaxation in each case.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.l Relaxation Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "Where multiple types or multiple levels of relaxation occur, a note is generated for each of these. The entire list of deviance notes accompanies the final structure produced by the parser. In this way, the final structure is marked as deviant and the nature of the deviance is available for use by other components of the understanding system.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.l Relaxation Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "In our implementation, test relaxation has been fully implemented, while category relaxation has been implemented for all cases except those involving PUSH arcs.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.l Relaxation Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "Such an implementation is anticipated, but requires a modification to our backtracking algorithm.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.l Relaxation Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "The solution being proposed to handled forms that are deviant because of co-occurrence violations centers around the use of relaxation methods.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.2 Co-Occurrence and Relaxation", |
| "sec_num": null |
| }, |
| { |
| "text": "Where simple tests exist within a grammar to filter out unacceptable forms of the type noted above, these tests may be relaxed to allow the acceptance of these forms. This doesn't eliminate the need for such tests since these tests help in disambiguation and provide a means by which sentences are marked as having violated certain rules.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.2 Co-Occurrence and Relaxation", |
| "sec_num": null |
| }, |
| { |
| "text": "For co-occurrence violations, the point in the grammar where parsing becomes blocked is often exactly where the test or category violation occurs. An arc at that point is being attempted and fails due to a failure of the co-occurrence test or categorization requirements.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.2 Co-Occurrence and Relaxation", |
| "sec_num": null |
| }, |
| { |
| "text": "Relaxation is then applied and an alternative generated which may be explored at a later point via backtracking. For example, the sentence:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.2 Co-Occurrence and Relaxation", |
| "sec_num": null |
| }, |
| { |
| "text": "WJohn love Mary shows a disagreement between the subject (John) and the verb (love).", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.2 Co-Occurrence and Relaxation", |
| "sec_num": null |
| }, |
| { |
| "text": "Most probably this would show up during parsing when an arc is attempted which is expecting the verb of the sentence.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.2 Co-Occurrence and Relaxation", |
| "sec_num": null |
| }, |
| { |
| "text": "The test would fall and the traversal would not be allowed.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.2 Co-Occurrence and Relaxation", |
| "sec_num": null |
| }, |
| { |
| "text": "At that point, an ungrammatical alternative is created for later backtracking to consider.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.2 Co-Occurrence and Relaxation", |
| "sec_num": null |
| }, |
| { |
| "text": "In this section, relaxation techniques, as applied to the grammar itself, are introduced through the use of patterns and pattern-matching algorithms. Other systems have used patterns for parsing.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.) Patterns and the Pattern Arc", |
| "sec_num": null |
| }, |
| { |
| "text": "We have devised a powerful method of integrating, within the ATN formalism, patterns which are flexible and useful.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.) Patterns and the Pattern Arc", |
| "sec_num": null |
| }, |
| { |
| "text": "In our current formulation, which we have implemented and are now testing, a pattern is a linear sequence of ATN arcs which is matched against the input string.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.) Patterns and the Pattern Arc", |
| "sec_num": null |
| }, |
| { |
| "text": "A pattern arc (PAT) has been added to the ATN formalism whose form is similar to that of other arcs:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.) Patterns and the Pattern Arc", |
| "sec_num": null |
| }, |
| { |
| "text": "(PAT <pat apec> <test> <act> a <term>)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.) Patterns and the Pattern Arc", |
| "sec_num": null |
| }, |
| { |
| "text": "The pattern specification (<pat spec>) is defined as: The pattern (<part>) is either the name of a pattern, a \">\", or a list of ATN arcs, each of which may be preceded by the symbol \">\", while the pattern mode (<mode>) can be any of the keywords, UNANCHOR, OPTIONAL, or SKIP. These are discussed below. To refer to patterns by name, a dictionary of patterns is supported. A dictionary of arcs is also supported, allowing the referencing of arcs by name as well. Further, named arcs are defined as macros, allowing the dictionary and the grammar to be substantially reduced in size.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.) Patterns and the Pattern Arc", |
| "sec_num": null |
| }, |
| { |
| "text": "Pattern matching proceeds by matching each arc in the pattern against the input string, but is affected by the chosen \"mode\" of matching.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "THE PATTERN MATCHER", |
| "sec_num": null |
| }, |
| { |
| "text": "Since the individual component arcs are, in a sense, complex patterns, the ATN interpreter can be considered part of the matching algorithm as well.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "THE PATTERN MATCHER", |
| "sec_num": null |
| }, |
| { |
| "text": "In ares within patterns, explicit transfer to a new state is ignored and the next arc attempted on success is the one following in the pattern.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "THE PATTERN MATCHER", |
| "sec_num": null |
| }, |
| { |
| "text": "An are in a pattern prefaced by \">\" can be considered optional, if the OPTIONAL mode has been selected to activate this feature.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "THE PATTERN MATCHER", |
| "sec_num": null |
| }, |
| { |
| "text": "When this is done, the matching algorithm still attempts to match optional area, but may ignore them.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "THE PATTERN MATCHER", |
| "sec_num": null |
| }, |
| { |
| "text": "A pattern unanchoring capability is activated by specifying the mode UNANCHOR. In this mode, patterns are permitted to skip words prior to matching.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "THE PATTERN MATCHER", |
| "sec_num": null |
| }, |
| { |
| "text": "Finally, selection of the SKIP mode results in words being ignored between matches of the arcs within a pattern. This is a generalization of the UNANCHOR mode.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "THE PATTERN MATCHER", |
| "sec_num": null |
| }, |
| { |
| "text": "Pattern matching again results in deviance notes. For patterns, they contain information necessary to determine how matching succeeded.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "THE PATTERN MATCHER", |
| "sec_num": null |
| }, |
| { |
| "text": "An automatic pattern generation mechanism has been implemented using the trace of the current execution path to produce a pattern. This is invoked by using a \">\" as the pattern name. Patterns produced in this fashion contain only those arcs traversed at the current level of recursion in the network, although we are planning to implement a generalization o\u00a3 this in which PUSH arcs can be automatically replaced by their subnet~ork paths.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "SOURCE OF PATTERNS", |
| "sec_num": null |
| }, |
| { |
| "text": "Each are in an automatic pattern is marked as optional.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "SOURCE OF PATTERNS", |
| "sec_num": null |
| }, |
| { |
| "text": "Patterns can also be constructed dynamically in precisely the same way grammatical structures are built using BUILDQ. The vehicle by which this is accomplished is discussed next.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "SOURCE OF PATTERNS", |
| "sec_num": null |
| }, |
| { |
| "text": "Pattern arcs enter the grammar in two ways. They are manually written into the grammar in those cases where the ungrammaticalities are common and they are added to the grammar automatically in those cases where the ungrammaticality is dependent on context. Pattern arcs produced dynamically enter the grammar through one of two devices.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "AUTOMATIC PRODUCTION OF ARCS", |
| "sec_num": null |
| }, |
| { |
| "text": "They may be constructed as needed by special macro arcs or they may be constructed for future use through an expectation mechanism.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "AUTOMATIC PRODUCTION OF ARCS", |
| "sec_num": null |
| }, |
| { |
| "text": "As the expectatlon-based parsing efforts clearly show, syntactic elements especially words contain important clues on processing.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "AUTOMATIC PRODUCTION OF ARCS", |
| "sec_num": null |
| }, |
| { |
| "text": "Indeed. we also have found It useful to make the ATN mechanism more \"active\" by allowing it to produce new arcs based on such clues. TO achieve this, the CAT, MEM, TBT, and WRD arcs have been generalized and four new \"macro\" arcs, known as CAT e. HEM e, TST a, and WRD e. have been added to the ATN formalism.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "AUTOMATIC PRODUCTION OF ARCS", |
| "sec_num": null |
| }, |
| { |
| "text": "These are similar In every way to their counterparts, except that as a final action, instead of indicating the state to which the traversal leads, a new arc is oonstructed dynamically and immediately executed. The difference in the form that the new arc takes is seen in the following pair where <crest act> Is used to define the dynamic arc:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "AUTOMATIC PRODUCTION OF ARCS", |
| "sec_num": null |
| }, |
| { |
| "text": "(CAT <cat> <test> <act> a <term >) (CAT e <cat> <test> <act> a <creat act>)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "AUTOMATIC PRODUCTION OF ARCS", |
| "sec_num": null |
| }, |
| { |
| "text": "Arcs computed by macro arcs can be of any type permitted by the ATN, but one of the most useful arcs to compute in this manner is the PAT arc discussed above.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "AUTOMATIC PRODUCTION OF ARCS", |
| "sec_num": null |
| }, |
| { |
| "text": "The macro arc forces immediate execution of an arc. Arcs may also be computed and temporarily added to the grammar for later execution through an \"expectation\" mechanism. Expectations are performed as actions within arcs (analogous to the HOLD action for parsing structures)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "EXPECTATIONS", |
| "sec_num": null |
| }, |
| { |
| "text": "or as actions elsewhere In the MLU system (e.g., during generation when particular types of responses can be foreseen).", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "EXPECTATIONS", |
| "sec_num": null |
| }, |
| { |
| "text": "Two forms are allowed:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "EXPECTATIONS", |
| "sec_num": null |
| }, |
| { |
| "text": "(EXPECT <crest act> <state>) (EXPECT <crest act> )", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "EXPECTATIONS", |
| "sec_num": null |
| }, |
| { |
| "text": "In the first case, the arc created is bound to a state as specified. When later processing leads to that state, the expected arc will be attempted as one alternative at that state.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "EXPECTATIONS", |
| "sec_num": null |
| }, |
| { |
| "text": "In the second case, where no state is specified, the effect is to attempt the arc at every state visited during the parse.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "EXPECTATIONS", |
| "sec_num": null |
| }, |
| { |
| "text": "The range of an expectation produced during parsing is ordinarily limited to a single sentence, with the arc disappearing after it has been used; however, the start state, S e, is reserved for expectations intended to be active at the beginning of the next sentence. These will disappear in turn at the end--~prooessing for that sentence.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "EXPECTATIONS", |
| "sec_num": null |
| }, |
| { |
| "text": "The Pattern arc is proposed as the primary mechanism for handling ellipsis and extraneous forms. A Pattern arc can be seen as capturing a single path through a netWOrk.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "The matcher gives some freedom In how that path relates to a string.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "We propose that the appropriate parsing path through a network relates to an elliptical sentence or one with extra words in the same way. With contextual ellipsis, the relationship will be in having some of the arcs on the correct path not satisfied.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "In Pattern arcs, these will be represented by arcs marked as optional.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "With contextual ellipsis, dialogue context will provide the defaults for the missing components. With Pattern arcs, the deviance notes will show what was left out and the other components in the ~U system will be responsible for supplying the values.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "The source of patterns for contextual ellipsis is important.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "In Lifer [HEN77], the previous user input can be seen as a pattern for elliptical processing of the current input.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "The automatic pattern generator developed here, along with the expectation mechanism, will capture this level of processing. But with the ability to construct arbitrary patterns and to add them to the grammar from other components of the MLU system, our approach can acccomplish much more. For example, a question generation routine could add an expectation of a yes/no answer in front of a transformed rephrasing of a question, as in Did Amy klas anyone?", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "Yes, Jismy was kissed.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "Patterns for telegraphic ellipsis will have to be added to the grammar manually.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "Generally, patterns of usage must be identified, say in a study like that of Malhotra, so that appropriate patterns can be constructed.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "Patterns for extraneous forms will also be added In advance.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "These will either use the unachor option In order to skip false starts, or dynamically produced patterns to catch repetitions for emphasis.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "In general, only a limited number of these patterns should be required.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "The value of the pattern mechanism here, especially In the case of telegraphic ellipsis, will be in connecting the ungrammatical to grammatical forms.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IIZ.q Patterns t Elllpsls~ and Extraneous Forms", |
| "sec_num": null |
| }, |
| { |
| "text": "Pattern arcs are also proposed as the primary mechanism for handling conjunction. Whenever a conjunction is seen, a pattern is developed from the already identified elements and matched against the remaining segments of input.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.5 Conjunction and Macro Arcs", |
| "sec_num": null |
| }, |
| { |
| "text": "The heuristics for deciding from which level to produce the pattern force the most general interpretation in order to encourage an elliptical reading.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.5 Conjunction and Macro Arcs", |
| "sec_num": null |
| }, |
| { |
| "text": "All of the forms of conjunction described above are treated through a globally defined set of \"conjunction arcs\" (Some restricted cases, such as \"and\" following \"between\", have the conjunction built into the grammar). In general, this set will be made up of macro arcs which compute Pattern arcs.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.5 Conjunction and Macro Arcs", |
| "sec_num": null |
| }, |
| { |
| "text": "The automatic pattern mechanism is heavily used. which at best we will accept with a misleading deviance note. However, it can not handle the obvious elliptical cases, such gapping, or the tightly constrained cases, such as correlatives. We expect to continue investigating the pattern approach.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.5 Conjunction and Macro Arcs", |
| "sec_num": null |
| }, |
| { |
| "text": "As grammatical processing proceeds, ungrammatical possibilities are continually being suggested from the various mechanisms we have implemented.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.6 Interaction of Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "To coordinate all of these activities, the backtracking mechanism has been improved to keep track of the:le alternatives. All paths in the original grammar are attempted first. Only when these all fail are the conjunction alternatives and the manually added and dynamically produced ungrammatical alternatives tried. All of the alternatives of these sorts connected with a single state can be thought of as a single possibility.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.6 Interaction of Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "A selection mechanism is used to determine which backtrack point among the many potential alternatives is worth exploring next. Currently, we use a method also used by", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "III.6 Interaction of Techniques", |
| "sec_num": null |
| }, |
| { |
| "text": "[WEI79] of selecting the alternative with the longest path length.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Welschedel and Black", |
| "sec_num": null |
| }, |
| { |
| "text": "These results are significant, we believe, because they extend the state of the art in several ways. Most obvious are the following:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IV. Conclusion and Open Questions", |
| "sec_num": null |
| }, |
| { |
| "text": "The use of the category hierarchy to handle arc type failures;", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IV. Conclusion and Open Questions", |
| "sec_num": null |
| }, |
| { |
| "text": "The use of the pattern mechanism to allow for contextual ellipsis and gapping;", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IV. Conclusion and Open Questions", |
| "sec_num": null |
| }, |
| { |
| "text": "More generally, the use of patterns to allow for many sorts of ellipsis and conjunctions; and Finally, the orchestration of all of the techniques in one coherent system, where because all grammatical alternatives are tried first and no modifications are made to the original grammar, its inherent efficiency and structure are preserved.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IV. Conclusion and Open Questions", |
| "sec_num": null |
| }, |
| { |
| "text": "Various questions for further research have arisen during the course of this work. The most important of these are discussed here.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IV.1 Open Problems", |
| "sec_num": null |
| }, |
| { |
| "text": "Better control must be exercised over the selection of viable alternatives when ungrammatical possibilities are being attempted.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IV.1 Open Problems", |
| "sec_num": null |
| }, |
| { |
| "text": "The longest-path heuristic is somewhat weak. The process that decides this would need to take into consideration, among other things, whether to allow relaxation of a criteria applied to the subject or to the verb in a case where the subject and verb do not agree.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IV.1 Open Problems", |
| "sec_num": null |
| }, |
| { |
| "text": "The current path length heuristic would always relax the verb which is clearly not always correct.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IV.1 Open Problems", |
| "sec_num": null |
| }, |
| { |
| "text": "No consideration has been given to the possible connection of one error wlth another. In some cases, one error can lead to or affect another.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IV.1 Open Problems", |
| "sec_num": null |
| }, |
| { |
| "text": "Several other types of ill-formedness have not been considered in this study, for example, idioms, metaphors, incorrect word order, run together sentences, incorrect punctuation, misspelling, and presuppositional failure.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IV.1 Open Problems", |
| "sec_num": null |
| }, |
| { |
| "text": "Either little is known about these processes or they have been studied elsewhere independently.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IV.1 Open Problems", |
| "sec_num": null |
| }, |
| { |
| "text": "In either case, work remains to be done.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "IV.1 Open Problems", |
| "sec_num": null |
| }, |
| { |
| "text": "We wish to acknowledge the comments of Ralph Weischedel and Marc Fogel on previous drafts of this paper. Although we would like to blame them, any shortcomings are clearly our own fault.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "V. Acknowledgments", |
| "sec_num": null |
| }, |
| { |
| "text": "[FOD64]", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "VI. Bibliography [CHO6q]", |
| "sec_num": null |
| }, |
| { |
| "text": "[HAL76]", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "VI. Bibliography [CHO6q]", |
| "sec_num": null |
| }, |
| { |
| "text": "(HEN77]", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "VI. Bibliography [CHO6q]", |
| "sec_num": null |
| } |
| ], |
| "back_matter": [ |
| { |
| "text": "Readings in the Philosophy of Language, Prentice-Hall, Englewood Cliffs, New Jersey, 196q. Halliday, M.A.K. and R. Hasan, Cohesion in English, Longman, London, 1976 . Hendrlx, G. G., \"The LIFER Manual,\" Technical ", |
| "cite_spans": [ |
| { |
| "start": 40, |
| "end": 164, |
| "text": "Prentice-Hall, Englewood Cliffs, New Jersey, 196q. Halliday, M.A.K. and R. Hasan, Cohesion in English, Longman, London, 1976", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Language:", |
| "sec_num": null |
| } |
| ], |
| "bib_entries": { |
| "BIBREF0": { |
| "ref_id": "b0", |
| "title": "Degrees of Grammaticalness", |
| "authors": [ |
| { |
| "first": "N", |
| "middle": [], |
| "last": "Chomsky", |
| "suffix": "" |
| } |
| ], |
| "year": null, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "38--389", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Chomsky, N., \"Degrees of Grammaticalness,\" in [FOD6~], 38q-389.", |
| "links": null |
| }, |
| "BIBREF1": { |
| "ref_id": "b1", |
| "title": "The Structure of", |
| "authors": [ |
| { |
| "first": "J", |
| "middle": [ |
| "A" |
| ], |
| "last": "Fodor", |
| "suffix": "" |
| }, |
| { |
| "first": "J", |
| "middle": [ |
| "J" |
| ], |
| "last": "Katz", |
| "suffix": "" |
| } |
| ], |
| "year": null, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Fodor, J. A. and J. J. Katz, The Structure of", |
| "links": null |
| } |
| }, |
| "ref_entries": { |
| "FIGREF0": { |
| "type_str": "figure", |
| "text": "List prices of single unit prices for 72 and 73. The second example comes from Malhotra [MALT5].", |
| "num": null, |
| "uris": null |
| }, |
| "TABREF3": { |
| "html": null, |
| "text": "There are a number of details in our proposal which will not be presented.There are also visible limits. it is instructive to compare the proposal to the SYSCONj facility of Woods [W0073]. It treats conjunction as showing alternative ways of continuing a sentence. This allows for sentences such as He drove his car through and broke a plate glass window.", |
| "content": "<table><tr><td/><td/><td>With</td><td>simple</td><td colspan=\"2\">conjunctions,</td><td>the</td></tr><tr><td>rightmost</td><td>elements</td><td>in</td><td colspan=\"2\">the patterns</td><td>are matched.</td></tr><tr><td colspan=\"6\">Internal elements In patterns are skipped with gapping.</td></tr><tr><td colspan=\"6\">The llst form of conjunction can also be handled through</td></tr><tr><td colspan=\"6\">the careful construction of dynamic patterns</td><td>which are</td></tr><tr><td colspan=\"3\">then expected at a later</td><td>point.</td><td colspan=\"2\">Correlatives</td><td>are</td></tr><tr><td colspan=\"2\">treated similarly,</td><td colspan=\"3\">with expectations</td><td>based on</td><td>the</td></tr><tr><td colspan=\"4\">dynamic building of patterns.</td><td/></tr></table>", |
| "num": null, |
| "type_str": "table" |
| } |
| } |
| } |
| } |