groepering en tags
This commit is contained in:
16
xquery/locaties.xq
Normal file
16
xquery/locaties.xq
Normal file
@@ -0,0 +1,16 @@
|
||||
for $x in //node[(@neclass="LOC" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="LOC"])]
|
||||
return ( <i>
|
||||
<m> {replace(data(/alpino_ds/sentence/@sentid), "\.[^.]*$", "")} </m>
|
||||
{
|
||||
for $i in data(/alpino_ds/metadata/meta[@name="tag"]/@value)
|
||||
return <t> {$i} </t>
|
||||
}
|
||||
<w> { data($x//@lemma) } </w>
|
||||
</i>, '
' )
|
||||
|
||||
(:
|
||||
|
||||
<m>{ data(/alpino_ds/sentence/@sentid) }</m>
|
||||
<m>{ replace(data(/alpino_ds/sentence/@sentid), "\.[^.]*$", "") }</m>
|
||||
|
||||
:)
|
||||
Reference in New Issue
Block a user