verifyVocabulary: verifyVocabulary

Description Usage Arguments Details Value Author(s)

Description

verifyVocabulary Verifies vocabulary coverage for a corpus

Usage

1
verifyVocabulary(fullCorpus, sampleCorpus)

Arguments

fullCorpus

- the meta data for the full corpus

sampleCorpus

- the meta data for the sample corpus

Details

This function takes as its parameter, the meta data for a full corpus and for the sample corpus and checks the out of vocabulary (OOV) rates of a sample corpus vis-a-vis a "full corpus". Words in the full corpus not found in the sample corpus are "OOV"

Value

oovRates - the OOV Rate for each corpus

Author(s)

John James, j2sdatalab@gmail.com


j2scode/predictifyR documentation built on May 14, 2019, 10:34 a.m.