Back to search

The University of Texas at Austin

Typesafe NLP pipelines on Spark

Abstract

dc:description.abstract

Natural language pipelines consist of various natural language algorithms that use the annotations of a previous algorithm to compute more annotations. These algorithms tend to be expensive in terms of computational power. Therefore it is advantageous to parallelize them in order to reduce the time necessary to analyze a large document collection. The goal of this project was to develop a new framework to encapsulate algorithms such that they may be used as part of a pipeline without any additional work. The framework consists of a custom-built data structure called Slab which implements type safety and functional transparency to integrate itself into the Scala programming language. Because of this integration, it is possible to use Spark, a MapReduce framework, to parallelize the pipeline on a cluster. To assess the performance of the new framework, a pipeline based on the OpenNLP library was created. An existing pipeline implemented in UIMA, an industry standard for natural language pipeline frameworks, served as a baseline in terms of performance. The pipeline created from the new framework processed the corpus in about half the time.

Degree

thesis:*
Name thesis:degree_name
Master of Arts
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Lingustics
Department thesis:degree_department
Linguistics
Grantor
The University of Texas at Austin
Year dc:date.issued
2014

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Hafner, Simon
Advisors dc:contributor.advisor
  • Baldridge, Jason
  • Erk, Katrin

Subjects

dc:subject × 5

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/2152/28654

Chain of custody

source
Harvested from
University of Texas
Base URL
repositories.lib.utexas.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Hafner, Simon. Typesafe NLP pipelines on Spark. Masters thesis, The University of Texas at Austin, 2014. https://hdl.handle.net/2152/28654