grammar: Spell Correcting Function

Description Usage Arguments Value Author(s) Examples

Description

This function will stem and correct all spelling in the corpus using the TreeTag tool, the koRpus package and the stringr package. The function will return a data.table.

Usage

1
grammar(corpus)

Arguments

corpus

Corpus object.

Value

data.table Data table containing the original and grammar cleaned corpus text

Author(s)

Sophie C Haynes, thesophienator96@gmail.com

Examples

1
grammar(text.corpus)

sophie-haynes/text.pack documentation built on May 9, 2019, 2:12 p.m.