-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DMRS representation #21
Comments
|
Eventually, we would like to be as close as possible to the XML serialization. See delph-in/pydelphin#329. <dmrs cfrom="-1" cto="-1" top="10003" index="10003">
<node nodeid="10000" cfrom="0" cto="13">
<gpred>udef_q</gpred>
<sortinfo />
</node>
<node nodeid="10001" cfrom="0" cto="6">
<realpred lemma="mask" pos="v" sense="1" />
<sortinfo SF="prop" TENSE="untensed" MOOD="indicative" PROG="bool" PERF="-" cvarsort="e" />
</node>
<node nodeid="10002" cfrom="7" cto="13">
<realpred lemma="people" pos="n" sense="of" />
<sortinfo PERS="3" NUM="pl" IND="+" cvarsort="x" />
</node>
<node nodeid="10003" cfrom="18" cto="25">
<realpred lemma="look" pos="v" sense="1" />
<sortinfo SF="prop" TENSE="pres" MOOD="indicative" PROG="+" PERF="-" cvarsort="e" />
</node>
...
<node nodeid="10010" cfrom="51" cto="52">
<realpred lemma="a" pos="q" />
<sortinfo />
</node>
<node nodeid="10011" cfrom="53" cto="59">
<realpred lemma="forest" pos="n" sense="of" />
<sortinfo PERS="3" NUM="sg" IND="+" cvarsort="x" />
</node>
<link from="10000" to="10002">
<rargname>RSTR</rargname>
<post>H</post>
</link>
<link from="10001" to="10002"><rargname>ARG2</rargname><post>EQ</post></link>
<link from="10003" to="10002"><rargname>ARG1</rargname><post>NEQ</post></link>
<link from="10004" to="10003"><rargname>ARG1</rargname><post>EQ</post></link>
<link from="10004" to="10008"><rargname>ARG2</rargname><post>NEQ</post></link>
<link from="10005" to="10008"><rargname>RSTR</rargname><post>H</post></link>
<link from="10006" to="10008"><rargname>ARG1</rargname><post>EQ</post></link>
<link from="10007" to="10006"><rargname>ARG1</rargname><post>EQ</post></link>
<link from="10009" to="10003"><rargname>ARG1</rargname><post>EQ</post></link>
<link from="10009" to="10011"><rargname>ARG2</rargname><post>NEQ</post></link>
<link from="10010" to="10011"><rargname>RSTR</rargname><post>H</post></link>
</dmrs> |
After the hashtag, we should not use URIs, some initial thoughts: One idea is to make the namespace of a profile as flat as possible. Note that in the current situation, 2 and 3, is not compatible with 1 and 4.
We need a new node http://ibm.com/sick/b/item-33 (or sentence-XX) and make the property One alternative would be to think that we have a hierarchical structure of collections . The profile is
Another alternative would be to push the hierarchical structure as far as possible. We would need to mix the identifiers with names (like function names and arguments). The b profile has an item 33 that has a result 4 ...
|
If http://ibm.com/sick/a/1/0#dmrs is the |
In fact, this version of the code has this flaw in URI construction for not considering the which semantic representation the node is in the construction. As the names of those elements are different among the three different semantic representations that are being converted (EDS, MRS, DMRS), it doesn't create problems, but it is better having this indication. |
yes, it seems reasonable. |
@yfaria is this issue closed? I am not sure. To be concrete, I believe we may have applications that need the simpler possible RDF. That is the RDF closer to the graphical representation of DMRS. We could potentially provide that function in this library, right? Another question is how close we are to the XML representation DMRSs and if we should try to fix any detour that we may have made from it. |
Considering the graph
We want it to be as closer as possible of its graphical representation
The text was updated successfully, but these errors were encountered: