Basic Symbols: Difference between revisions

From UNLwiki
Jump to navigationJump to search
imported>Martins
No edit summary
 
imported>Martins
No edit summary
Line 24: Line 24:
|[[regular expression]]
|[[regular expression]]
|/a{2,3}/ = aa,aaa
|/a{2,3}/ = aa,aaa
|-
|align=center|rel(x;y)
|relation
|agt(kill;Peter)
|-
|-
|align=center|<nowiki>^</nowiki>
|align=center|<nowiki>^</nowiki>

Revision as of 18:40, 16 August 2013

Basic symbols used in the UNL framework
Symbol Definition Example
( ) node (%a)
" " string "went"
[ ] natural language entry (headword) [go]
[[ ]] UW [[to go(icl>to move)]]
// regular expression /a{2,3}/ = aa,aaa
rel(x;y) relation agt(kill;Peter)
^ not ^a = not a
{ | } or {a|b} = a or b
% index for nodes, attributes and values %x
# index for sub-NLWs #01
= attribute-value assignment POS=NOU
! rule trigger !PLR
& merge operator %x&%y
? dictionary lookup operator ?[a]