1.1 - 8.10 - Creating the Table of Default Models - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.1
8.10
Release Date
October 2019
Content Type
Programming Reference
Publication ID
B700-4003-079K
Language
English (United States)

Before calling the NamedEntityFinder function, you must create the table of default models. To create the table, use this command:

DROP TABLE nameFind_configure;

CREATE MULTISET TABLE nameFind_configure (
  model_name VARCHAR(50),
  model_type VARCHAR(50),
  model_file VARCHAR(50)
);

Default English-language models are provided with the SQL functions. Before using these models, you must create a default configure_table, as follows:

INSERT INTO nameFind_configure VALUES ('person','max entropy','en-ner-person.bin');
INSERT INTO nameFind_configure VALUES ('location','max entropy','en-ner-location.bin');
INSERT INTO nameFind_configure VALUES ('organization','max entropy','en-ner-organization.bin');
INSERT INTO nameFind_configure VALUES ('date','rules','date.rules');
INSERT INTO nameFind_configure VALUES ('time','rules','time.rules');
INSERT INTO nameFind_configure VALUES ('phone','rules','phone.rules');
INSERT INTO nameFind_configure VALUES ('money','rules','money.rules');
INSERT INTO nameFind_configure VALUES ('email','rules','email.rules');
INSERT INTO nameFind_configure VALUES ('percentage','rules','percentage.rules');
Default English-Language Models in Table nameFind_configure
model_name model_type model_file
person max entropy en-ner-person.bin
location max entropy en-ner-location.bin
organization max entropy en-ner-organization.bin
date rules date.rules
time rules time.rules
phone rules phone.rules
money rules money.rules
email rules email.rules
percentage rules percentage.rules