[developers] Question about RMRS cfrom/cto in PET

Yi Zhang yzhang at coli.uni-sb.de
Sun Dec 10 23:45:53 CET 2006


Hi all,

I would like to ask about the current state of RMRS in PET.

The  cfrom/cto of EPs are defined  to be character spans. And I do get the
correct cfrom/cto when using LKB alone. However, with the SVN PET compiled
with recent LKB (from the logon cvs, with the patch for file name
confliction of `rmrs/convert.lisp'), the cfrom/cto for eps seems to be
token-based span, rather than the character span (see the attached outputs
from PET). I get the same `token-based' span when I use the
`tsdb::export-trees()' of the fine system to export RMRS in xml format from
the treebank.

It will be appreciated if anyone can explain to me the current state of RMRS
development, especially for the use in PET and itsdb. Is it possible at all
to get the character span cfrom/cto in PET and/or tsdb `export'
functionality?

Best,
Yi


-----begin-----
...
(1) `the dog barks' [0] --- 2 (0.00|0.01s) <7:58> (673.1K) [0.0s]
derivation[1] (0.4371):the dog barks

<rmrs cfrom='-1' cto='-1'>
<label vid='1'/>
<ep cfrom='0' cto='3'><gpred>prop-or-ques_m_rel</gpred><label vid='1'/><var
sort='e' vid='2'/></ep>
<ep cfrom='0' cto='2'><realpred lemma='the' pos='q'/><label vid='6'/><var
sort='x' vid='7'/></ep>
<ep cfrom='1' cto='2'><realpred lemma='dog' pos='n' sense='1'/><label
vid='10'/><var sort='x' vid='7'/></ep>
<ep cfrom='2' cto='3'><realpred lemma='bark' pos='v' sense='1'/><label
vid='11'/><var sort='e' vid='2'/></ep>
<rarg><rargname>MARG</rargname><label vid='1'/><var sort='h'
vid='3'/></rarg>
<rarg><rargname>RSTR</rargname><label vid='6'/><var sort='h'
vid='8'/></rarg>
<rarg><rargname>BODY</rargname><label vid='6'/><var sort='h'
vid='9'/></rarg>
<rarg><rargname>ARG1</rargname><label vid='11'/><var sort='x'
vid='7'/></rarg>
<hcons hreln='qeq'><hi><var sort='h' vid='3'/></hi><lo><label
vid='11'/></lo></hcons>
<hcons hreln='qeq'><hi><var sort='h' vid='8'/></hi><lo><label
vid='10'/></lo></hcons>
</rmrs>
...
-----end-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/developers/attachments/20061210/efa0a2c4/attachment.html>


More information about the developers mailing list