Abstract
This paper proposes a high-speed, parallel framework for parsing the Japanese language by tightly coordinating morphological (word-level) and syntactic (sentence-level) analysis. By utilizing a "two-level grammar" and a specialized parallel LR parsing algorithm, the system efficiently handles the unique complexities of Japanese—such as flexible word order and ambiguous word boundaries—across multiple processors.
1. Introduction
Parsing Japanese presents unique challenges compared to languages like English. First, Japanese is a "highly-agglutinative" language where words are formed by attaching various grammatical markers, making word boundaries inherently ambiguous. Second, it features relatively free word order (scrambling), which traditional context-free grammars (CFGs) struggle to handle without becoming exponentially complex.
Most contemporary systems perform morphological analysis first, followed by syntactic analysis. This "pipeline" approach is brittle; a mistake in the morphological stage due to local ambiguity can cause the entire syntactic parser to fail. This research addresses this by running both processes in parallel and asynchronously, allowing syntactic constraints to help resolve morphological ambiguities in real-time.
2. Methodology
2.1 Two-Level Grammar
The system integrates a morphological grammar (represented as a finite state automaton or "morphological network") with a syntactic grammar (a CFG). The bridge between these two levels is the bunsetsu—a basic Japanese phrase consisting of a content word and its associated particles.
2.2 Parallel LR Parsing with DAGs
Instead of a traditional stack, the parser utilizes a Directed Acyclic Graph (DAG) array model. This allows the system to explore multiple possible parses (paths) simultaneously without redundant work. When the syntactic parser requires a new building block, it issues a "construction-request" to the morphological analyzer. These processes run on a P-RAM (Parallel Random Access Machine) architecture, where processors are assigned to DAG nodes and work asynchronously.
2.3 Syntactic Constraints
To handle unrestricted word order, the authors utilize subcategorization (SC) features. Rather than hard-coding every possible word sequence, the parser checks if the grammatical roles (like subject or object) required by a verb have been filled, regardless of the order in which they appear in the sentence.
3. Implementation and Results
The system was implemented on a Sequent Symmetry S-2000, a multi-processor system with 20 CPUs. The parallel parsing algorithm recognizes an input string of length $n$ in $O(n)$ time using $O(n^2)$ processors, representing a significant theoretical speedup over sequential $O(n^3)$ parsers.
As shown in the trace examples, the system successfully coordinates shift-reduce actions and morphological requests to resolve complex Japanese sentences that would typically cause "backtracking" issues in sequential parsers. By treating the bunsetsu as the atomic unit, the interface between the two levels is simplified, and the morphological process can continue searching for alternative interpretations while the syntactic process builds the sentence structure.
4. Discussion and Limitations
While the framework is efficient at structural parsing, it currently lacks semantic processing. The authors acknowledge that meaning-based constraints are often necessary to resolve the deepest ambiguities in natural language. Furthermore, the reliance on the P-RAM model and specific multi-processor hardware of the era makes direct comparison to modern distributed systems difficult.
Future work involves extending the framework to include a "semantic processing component" based on situation semantics theory, which would run in coordination with the existing morphological and syntactic layers to further improve accuracy.
Summary updated