vocab_count: Gets word count from the text data

Description Usage Arguments Value Examples

View source: R/glove.R

Description

Gets word count from the text data

Usage

1
2
vocab_count(file_name, vocab_file, verbose = 2, max_vocab = 0,
  min_count = 1)

Arguments

file_name

text data

vocab_file

output vocab count file name

max_vocab

maximum vocab

verbose

verbose (0,1 or 2)

min_count

minimum occurrence of word

Value

data frame giving word count

Examples

1
2
3
4
## Not run: 
data=vocab_count("text8","vocab.txt")

## End(Not run)

mukul13/rword2vec documentation built on May 23, 2019, 8:22 a.m.