Description Usage Arguments Details Value Author(s) References Examples
Train a model by word2vec.
1 | word2vec(train_file, output_file)
|
train_file |
Path of the train file. |
output_file |
Path of the output file. |
The word2vec tool takes a text corpus as input and produces the word vectors as output. It first constructs a vocabulary from the training text data and then learns vector representation of words. The resulting word vector file can be used as features in many natural language processing and machine learning applications.
A word2vec object.
Jian Li <rweibo@sina.com>
https://code.google.com/p/word2vec/
1 2 3 4 | ## Not run:
word2vec(system.file("examples", "rfaq.txt", package = "tmcn.word2vec"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.