Add a user-defined extraction rule to a policy object
ctx_entity.add_extract_rule(
policy_name IN VARCHAR2,
rule_id IN INTEGER,
extraction_rule IN VARCHAR2);
TBD
ADD_STOP_ENTITY
Adds an entity that is not to be classified - a "stop entity" - to the policy
ctx_entity.add_stop_entity(
policy_name IN VARCHAR2,
entity_name IN VARCHAR2 DEFAULT NULL,
entity_type IN VARCHAR2 DEFAULT NULL,
comments IN VARCHAR2 DEFAULT NULL);
TBD
COMPILE
Compiles added extraction rules and stop-entities into an extract policy
ctx_entity.compile(
policy_name IN VARCHAR2,
compile_choice IN NUMBER DEFAULT COMPILE_ALL,
locking IN NUMBER DEFAULT LOCK_NOWAIT_ERROR);
TBD
CREATE_EXTRACT_POLICY
Create an entity-extraction policy
ctx_entity.create_extract_policy(
policy_name IN VARCHAR2,
lexer IN VARCHAR2 DEFAULT NULL,
include_supplied_rules IN BOOLEAN DEFAULT TRUE,
include_supplied_dictionary IN BOOLEAN DEFAULT TRUE);
TBD
DROP_EXTRACT_POLICY
Drop an entity-extraction policy
ctx_entity.drop_extract_policy(policy_name IN VARCHAR2);
TBD
EXTRACT
Generates character offsets and character lengths of an extracted entity from base document
ctx_entity.extract(
policy_name IN VARCHAR2,
document IN CLOB,
language IN VARCHAR2,
result IN OUT NOCOPY CLOB,
entity_type_list IN CLOB DEFAULT NULL,
locking IN NUMBER DEFAULT LOCK_NOWAIT_ERROR);
TBD
IMPORT_DICTIONARY
Undocumented
ctx_entity.import_dictionary(
policy_name IN VARCHAR2,
data IN CLOB,
isdrop IN BOOLEAN DEFAULT FALSE);
TBD
REMOVE_EXTRACT_RULE
remove an extraction rule from an extract policy
ctx_entity.remove_extract_rule(
policy_name IN VARCHAR2,
rule_id IN INTEGER);
TBD
REMOVE_STOP_ENTITY
Removes a stop entity from an extract policy
ctx_entity.remove_stop_entity(
policy_name IN VARCHAR2,
entity_name IN VARCHAR2 DEFAULT NULL,
entity_type IN VARCHAR2 DEFAULT NULL);