Hi All,
Is there a way to limit the entity enrichment to places(|e:gpe)| and
names(|e:person)? I am trying to avoid wrong mappings like the one below|
<article-title xmlns:e="http://marklogic.com/entity">Robustness of mean E(X) and
<e:organization>R</e:organization> charts</article-title>
|Thanks
Vidhya
Sample Query
import module namespace entity="http://marklogic.com/entity"
at "/MarkLogic/entity.xqy";
let $title := <article-title>Robustness of mean E(X) and R
charts</article-title>
return
entity:enrich($title)
|
begin:vcard
fn:Vidhya Arvind
n:Arvind;Vidhya
org:University of Toronto Libraries;Ontario Council of University Libraries - Scholarsportal Project
title:Application Programmer Analyst
tel;work:(416) 946-0300
tel;fax:(416) 978-1668
version:2.1
end:vcard
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general