Abstract
We present a web-based system that facilitates the exploration of complex morphological patterns found in morphologically very rich languages. The need for better understanding of such patterns is urgent for linguistics and important for cross-linguistically applicable natural language processing. In this paper we give an overview of the system architecture and describe a sample case study on Abui [abz], a Trans-New Guinea language spoken in Indonesia.
Introduction
In many morphologically rich languages, a single word can consist of a root surrounded by a complex array of prefixes and suffixes. For linguists documenting these languages or engineers building Natural Language Processing (NLP) tools, understanding the exact order and compatibility of these morphemes—the morphotactics—is a significant challenge. Building morphological analyzers by hand is a tedious process, and while automated systems like the Morphological Inference System (MOM) can suggest rules from small datasets, the results are often noisy. There is a critical need for tools that bridge the gap between raw automated inference and human linguistic expertise.
System Architecture
The authors present a visualization component that facilitates a "human-in-the-loop" approach to grammar development. The system operates through a three-stage pipeline.
Automated Inference (MOM)
The back-end utilizes the MOM system to process morpheme-segmented, glossed text. MOM infers a Directed Acyclic Graph (DAG) where nodes represent position classes (groups of stems or affixes) and edges represent the allowed ordering between them.
Interactive Visualization
The front-end is a web-based interface built using the vis.js Network library. It renders the inferred DAG, using color coding to distinguish between roots (dark purple), prefixes (medium purple), and suffixes (light purple).
The tool is highly interactive, allowing users to drag nodes to explore dense clusters and zoom in on specific relationships. A sidebar provides a list of position classes and their constituent morphemes, allowing for precise filtering and selection.
Manual Refinement and Export
Beyond visualization, the tool enables linguists to manually refine the grammar. Users can add or remove edges (ordering rules) and merge nodes that the automated system failed to group together. Once the linguist is satisfied, the refined graph can be exported as a DOT file and integrated into the Grammar Matrix to generate a functional computational grammar.
Case Study: Abui [abz]
The system was evaluated using a dataset of 8,609 glossed verb tokens from Abui, a Trans-New Guinea language spoken in Indonesia. The automated inference produced a graph with 65 nodes (20 for stems and 45 for affixes).
The visualization revealed several key insights:
- Identifying Inconsistencies: The graph highlighted a specific morpheme appearing as both a root and a prefix. This visual anomaly helped researchers identify a glossing inconsistency in the original fieldwork data.
- Generalization Power: Because the system infers a rule-based system rather than just recording observed strings, the resulting grammar can predict and parse word combinations never seen in the original small dataset.
- Qualitative Improvement: Manual refinement allowed linguists to identify "orphan" nodes and merge them based on expertise, leading to a more cohesive and accurate model of the language.
Conclusion and Future Work
The MOM visualization tool provides an accessible, open-source platform for field linguists to refine machine-generated grammars. Future work will focus on expanding the tool's capabilities, including the ability to split incorrectly grouped nodes and creating a feedback loop where manual edits are used to re-train the underlying inference engine. Currently, while most manipulation happens on the visual graph, the authors also plan to enable direct editing through the sidebar interface.
Summary updated