Creating the Table of Default Models - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.00
1.0
Published
May 2019
Language
English (United States)
Last Update
2019-11-22
dita:mapPath
blj1506016597986.ditamap
dita:ditavalPath
blj1506016597986.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢

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