View source: R/extract_features.R
InputExample_EF | R Documentation |
InputExample_EF
An InputExample_EF is a single test example for feature extraction. Note that this class is similiar to the InputExample class used for simple sequence classification, but doesn't have a label property. The name of the id property is also annoyingly different; should eventually standardize better than the Python folks did. (RBERT issue #28.)
InputExample_EF(unique_id, text_a, text_b = NULL)
unique_id |
Integer or character; a unique id for this example. |
text_a |
Character; the untokenized text of the first sequence. |
text_b |
(Optional) Character; the untokenized text of the second sequence. |
An object of class InputExample_EF
.
input_ex <- InputExample_EF( unique_id = 1, text_a = "I work at the bank." )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.