parseSentence: A function to make GDD NLP output human-readable

Description Usage Arguments Details Value Author(s) Examples

View source: R/parseSentence.R

Description

This function will convert a sentence from the raw GeoDeepDive nlp output tables into a more human-readable format.

Usage

1
2
parseSentence(Sentence, Parameters = c("words", "dep_paths",
  "dep_parents"))

Arguments

Sentence

a record (row) in the GDD NLP output

Parameters

a vector of sentence properties

Details

This function will convert a sentence from the raw GeoDeepDive nlp output tables into a more human-readable format. It returns a matrix of where each column represents an individual word in the sentence, and each row represents a specific property of the word - e.g., poses, dep_parents, dep_paths.

Value

A matrix

Author(s)

Andrew A. Zaffos & Erika T. Ito

Examples

1
# TBDDDDD

aazaff/geocarrot documentation built on May 5, 2019, 9:44 p.m.