word2phrase: to convert words to phrases

Description Usage Arguments Value Examples

View source: R/word2vec.R

Description

to convert words to phrases

Usage

1
2
word2phrase(train_file, output_file, debug_mode = 0, min_count = 0,
  threshold = 0)

Arguments

train_file

train file name

output_file

output file name

debug_mode

debug mode

min_count

minimum count

threshold

threshold value

Value

text file with unigrams and bigrams

Examples

1
2
3
4
## Not run: 
model=word2phrase("text8","vec.txt")

## End(Not run)

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