17 lines
454 B
Plaintext
17 lines
454 B
Plaintext
for $x in //node[(@neclass="PER" and not(@rel="mwp")) or (@cat="mwu" and node[@pt="spec" and @neclass="PER"])]
|
|
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>
|
|
|
|
:)
|