tagDocument: tagDocument

Description Usage Arguments Details Value Author(s) See Also

View source: R/U09.tagDocument.R

Description

tagDocument POS tags a document and returns tags and word/tag pairs

Usage

1
tagDocument(document)

Arguments

document

- the document object with meta data and content

Details

This function takes as its parameter, a corpus document including the meta data and the content in the form of vectors of sentences, and returns the tagged sentences as well as WORD/POS pairs.

Value

posData - a list containing the tagged text and the Word/Pos pairs

Author(s)

John James, j2sdatalab@gmail.com

See Also

Other POS Tagging Functions: tagChunk, tagSentence


DataScienceSalon/predictifyR.3.0 documentation built on May 23, 2019, 8:25 p.m.