File Information

File: 05-lr/acl_arc_1_sum/cleansed_text/xml_by_section/intro/90/c90-2053_intro.xml

Size: 2,587 bytes

Last Modified: 2025-10-06 14:04:55

<?xml version="1.0" standalone="yes"?>
<Paper uid="C90-2053">
  <Title>A New Parallel Algorithm for Generalized LR Parsing</Title>
  <Section position="2" start_page="0" end_page="0" type="intro">
    <SectionTitle>
1 Introduction
</SectionTitle>
    <Paragraph position="0"> To provide an efficient parser tbr natural language sentences, a parallel parsing algorithm is desirable. As Tomita's algorithm is compatible with parallel processing, we can easily develop a parallel generalized LR parser \[Tanaka 89\]. However, with respect to the performance of the parallel parsing, one of the defects of Tomita's algorithm is that it forces many parsing processes to synchronize on each shift action for the same input word. A parsing process that has completed a shift action must wait until all other processes have con&gt; pleted their shift actions as well; such a synchronization strategy reduces the performance of parallel parsing.</Paragraph>
    <Paragraph position="1"> In this paper, we will present a new parallel parsing algorithm which is a natural extension of Tomita's \[Tolnita 86\]. Our algorithm can achieve greater performance in parallel parsing for natural language sentences.</Paragraph>
    <Paragraph position="2"> There are two major differences between Tomita's algorithm and ours. Initially, the new algorithm does not make parsing processes wait for shift actions to merge many stacks with the same top state. The process that has finished a 'shift N' action first can proceed to the next actions until a reduce action needs to pop the element 'N' from the stack. If some other parsing processes carry out the same 'shift N' actions, their stacks will be merged into the position in which the first process has placed an element by the 'shift N' action.</Paragraph>
    <Paragraph position="3"> Secondly, to avoid duplications of parsing processes the new algorithm employs rl~ree Structured Stacks (TSS) instead of Graph Structured Stacks (GSS). The reason why we do not use GSS is because it is rather complicated to implement the GSS data structure in the framework of a parallel logic prograrnming language ,inch as GltC. The merge operation of the stacks is realized by a GttC stream communication mechanism.</Paragraph>
    <Paragraph position="4"> In section 2 we explain generalized LR parsing, in section 3 give a brief introduction to GtIC, and in section 4 decribe our new parallel generalized LR parsing algotihm. In section 5 we compare tile parallel parsing performance of our algorithm with Tornita's.</Paragraph>
    <Paragraph position="6"/>
  </Section>
class="xml-element"></Paper>
Download Original XML