Description Usage Arguments Value Examples
Add tags in the 'fastText“ format. This format is require for the training step. As fastText doesn't support newlines inside documents (as newlines are delimiting documents) this function also ensures that there are absolutely no new lines. By default new lines are replaced by a single space.
1 | add_tags(documents, tags, prefix = "__label__", new_lines = " ")
|
documents |
texts to learn |
tags |
labels provided as a list or a vector. There can be 1 or more per document. |
prefix |
character to add in front of tag ( |
new_lines |
Character that replaces new lines ( |
character ready to be written in a file
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.