Basic Symbols

From UNL Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "{| border="1" cellpadding="2" align=center |+Basic symbols used in the UNL framework !Symbol !Definition !Example |- |align=center|( ) |node |(%a) |- |align=center|" " |string...")
 
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 19: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]
Software