View source: R/annotation_tool_json_reader.R
nlp_generate_plain_assertion_train_set | R Documentation |
Generate a plain assertion training set from an AnnotationToolJsonReader
nlp_generate_plain_assertion_train_set( reader, df, task_col = "task_id", token_col = "token", ner_label = "ner_label", assertion_label = "assertion_label" )
reader |
an instance of AnnotationToolJsonReader |
df |
a Spark Dataframe |
task_col |
the name of the task column |
token_col |
the name of the token column |
ner_label |
the name of the ner label column |
assertion_col |
the name of the assertion column |
assertion training set data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.