MarkLogic 12 EA 1 Product Documentation
cts.entitycts.entity(
id as String,
normalizedText as String,
text as String,
type as String
) as cts.entity
Summary
Returns a cts:entity
object. This is an opaque object that can be used to build an entity dictionary.
Parameters |
id |
A unique ID for the entity. A unique entity may have multiple entries in the dictionary with different matching words: the unique ID ties them all together. For entities created from a SKOS ontology this could be the URI of the Concept .
|
normalizedText |
The normalized form of the entity. For entities created from a SKOS ontology this could be the preferred label of the Concept .
|
text |
The word (or phrase) to match during entity extraction. This will be an exact match, unless the dictionary was created with the "case-insensitive" option, in which case the string is matched with case folding. For entities created from a SKOS ontology this could be a label or alternative label for the Concept .
|
type |
The type of the entity. For entities created from a SKOS ontology this could be the id of the top concept for the matching Concept , or its preferred label.
|
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.