Abstract
Chris Quirk, Pallavi Choudhury, Jianfeng Gao, Hisami Suzuki, Kristina Toutanova, Michael Gamon, Wen-tau Yih, Colin Cherry, Lucy Vanderwende. Proceedings of the Demonstration Session at the Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.
2012.
Introduction
In the field of Natural Language Processing (NLP), researchers frequently require standard linguistic components—such as parsers, taggers, and lemmatizers—to construct more complex systems. However, the community faces two significant hurdles: the "re-implementation tax" and the "consistency gap." Setting up and maintaining local versions of various tools is time-consuming, and subtle differences in basic components (like tokenizers) can lead to variations in output that obscure the true impact of new research features.
MSR SPLAT (Speech and Language Analysis Toolkit) addresses these challenges by providing a centralized, standardized web service. It offers high-quality linguistic analysis via a simple API, eliminating the need for local deployment and ensuring consistent, replicable results across different research projects.
Methodology and Architecture
SPLAT is designed as a suite of optimized components exposed via a REST-like API. The system accepts raw text and returns analysis in a structured, easy-to-parse JSON format.
Core Components
- Constituency Parsing: Employs a "split-merge" approach to learn fine-grained grammar categories. To maintain high throughput, it uses coarse-to-fine pruning and a classifier that "closes" unlikely chart cells (e.g., recognizing that a phrase is unlikely to end on the word "the").
- Dependency Parsing: These are derived from constituency trees using established head-finding rules rather than training a separate model.
- Semantic Role Labeling (SRL): Identifies "who did what to whom" using log-linear models for argument identification and classification, adhering to the PropBank specification.
- POS Tagging & Chunking: Utilizes Maximum Entropy Markov Models (MEMM) and Cascaded Markov Models, optimized for extreme speed and throughput.
Training Data
The models are trained on industry-standard benchmarks to ensure comparability with state-of-the-art systems. This includes the Penn TreeBank (PTB) for parsing and tagging, PropBank for SRL, and the Wall Street Journal (WSJ) corpus for grammar estimation. Additionally, a large internal Microsoft corpus (NLPwin) is used to derive linguistically valid lemmas and base forms.
Key Features and User Interface
A primary innovation of SPLAT is its "API-First" approach. By hosting the tools as a web service, the development team can push updates and new features—such as sentiment analysis or transliteration—instantly to all users.
As shown in the figure above, the toolkit provides an interactive UI that allows researchers to quickly test linguistic analyses. The interface clearly displays multiple layers of annotation, from basic part-of-speech tags to complex semantic roles, all generated from a single input sentence.
Performance and Results
SPLAT emphasizes speed as a core feature. By implementing techniques like chart cell closing, the traditionally slow constituency parser can handle tens of sentences per second. The POS tagger is even more efficient, processing tens of thousands of words per second with over 96% accuracy.
Beyond speed, SPLAT provides deeper linguistic utility than many standard libraries. It distinguishes between stems (algorithmic truncation), lemmas (dictionary forms), and bases (derivational morphology), offering a more nuanced foundation for downstream tasks. While primarily English-focused, the inclusion of an English-Katakana transliteration service signals a move toward broader multilingual support.
Limitations and Future Directions
While SPLAT offers significant advantages, users must account for network latency inherent in web services. Batching requests (e.g., sending paragraphs instead of single sentences) is recommended to maximize efficiency. Currently, the Semantic Role Labeling component does not handle complex phenomena like co-reference or quantification. Future work aims to expand the scope of semantic analysis and increase the number of supported languages.
Summary updated