jmccrae / srl-editor

Automatically exported from code.google.com/p/srl-editor
0 stars 0 forks source link

Enhancement? Template rules with multiple value fields? #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
How complicated is it to modify template rules to create tags with multiple 
xml-attributes e.g. where the variable name becomes the tag attribute name. 

I want to create something like:
OfPrepPhrase(head, mod) :- name(entity, head) "of" name(entity, mod)

resulting in:
<OfPrepPhrase head="state" mod="USA"/> representing "state of the USA"

Or maybe one can do that already and I just don't get it yet?

Original issue reported on code.google.com by NeuroCol...@gmail.com on 15 May 2010 at 2:21