The tokenized text in CoNLL format to be labeled is stored in a MySQL
database.
Procedure
-
Double-click the tMysqlInput component to open its
Basic settings view and define its properties.
- From the Property Type list, select Repository if you have already stored the connection to database in the Metadata node of the Repository tree view. The property fields that follow are automatically filled in.
-
Set the Schema as Built-in and click Edit
schema to define the desired schema.
In this example, three columns are added to the schema: text, tokens and labels.
- Set the Query Type as Built-In. In the Query box, enter the query required to retrieve the desired columns from the table.