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...")
 
 
(One intermediate revision by one user not shown)
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>
Line 36: Line 40:
 
|[[index]] for nodes, attributes and values
 
|[[index]] for nodes, attributes and values
 
|%x
 
|%x
 +
|-
 +
|align=center|:
 +
|[[scope|scope ID]]
 +
|:01
 
|-
 
|-
 
|align=center|#
 
|align=center|#

Latest revision as of 14:12, 27 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
: scope ID :01
# index for sub-NLWs #01
= attribute-value assignment POS=NOU
! rule trigger !PLR
& merge operator %x&%y
? dictionary lookup operator ?[a]
Software