This event has ended. View the official site or create your own event → Check it out
This event has ended. Create your own
View analytic
Wednesday, July 5 • 2:06pm - 2:24pm
A Tidy Data Model for Natural Language Processing

Sign up or log in to save this to your schedule and see who's attending!

Feedback form is now closed.
This talk introduces the R package cleanNLP, which provides a set of fast tools for converting a textual corpus into a set of normalized tables. The underlying natural language processing pipeline utilizes Stanford’s CoreNLP library, exposing a number of annotation tasks for text written in English, French, German, and Spanish (Marneffe et al. 2016, De Marneffe et al. (2014)). Annotators include tokenization, part of speech tagging, named entity recognition, entity linking, sentiment analysis, dependency parsing, coreference resolution, and information extraction (Lee et al. 2011). The functionality provided by the package applies the tidy data philosophy (Wickham 2014) to the processing of raw textual data by offering three distinct contributions:

a data schema representing the output of an NLP annotation pipeline as a collection of normalized tables;
a set of native Java output functions converting a Stanford CoreNLP annotation object directly, without converting into an intermediate XML format, into this collection of normalized tables;
tools for converting from the tidy model into (sparse) data matrices appropriate for exploratory and predictive modeling.
Together, these contributions simplify the process of doing exploratory data analysis over a corpus of text. The output works seamlessly with both tidy data tools as well as other programming and graphing systems. The talk will illustrate the basic usage of the cleanNLP package, explain the rational behind the underlying data model, and show an example from a corpus of the text from every State of the Union address made by a United States President (Peters 2016).

avatar for Taylor Arnold

Taylor Arnold

Assistant Professor of Statistics, University of Richmond
Large scale text and image processing

Wednesday July 5, 2017 2:06pm - 2:24pm
4.02 Wild Gallery

Attendees (223)