Comments (4)
Problem group2tree
expects assert len(children['nucleus']) == 1
, but we have:
>>> children
defaultdict(<type 'list'>, {'satellite': ['99'], 'nucleus': ['95', '97']})
from rst-converter-service.
minimal input:
Szeryng subsequently focused on teaching before resuming his concert career in 1954.
The "Le Duc" was the instrument on which he performed and recorded mostly, while the latter ("King David" Strad) was donated to the State of Israel.
feng-hirst-2014 output:
ParseTree('Elaboration[N][S]', [ParseTree('Temporal[N][S]', ['Szeryng subsequently focused on teaching', 'before resuming his concert career in 1954 .']), ParseTree('Elaboration[N][S]', ['The " Le Duc " was the instrument', ParseTree('Temporal[N][N]', ['on which he performed and recorded mostly ,', ParseTree('same-unit[N][N]', [ParseTree('same-unit[N][N]', [ParseTree('Elaboration[N][S]', ['while the latter', '( " King David "']), 'Strad )']), 'was donated to the State of Israel .'])])])])
feng-hirst-2014-result-minimal.rs3.txt
from rst-converter-service.
If we convert the original feng-hirst-2014 parser output to a tree,
$ curl -X POST -F "[email protected]" http://localhost:5000/convert/hilda/tree.prettyprint
Elaboration
_______________________________________________|________________
| S
| |
| Elaboration
| __________________________________|____________________________
| | S
| | |
| | Temporal
| | _____________________________________________|_____________
| | | N
| | | |
| | | same-unit
| | | _____________|____________________
| | | N |
| | | | |
| | | same-unit |
| | | _____________|______________________ |
N | | N | |
| | | | | |
Temporal | | Elaboration | |
____________|____________ | | ______________|_____________ | |
N S N N N S N N
| | | | | | | |
Szeryng subseque before resuming The " Le Duc " on which he while the latter ( " King David " Strad ) was donated to
ntly focused on his concert was the instrume performed and the State of
teaching career in 1954 . nt recorded mostly , Israel .
we see that it has two Temporal
relations with different nuclearity:
The first one is (N: ... focused on teaching
, S: before resuming ...
).
The second one is (N: on which he performed ... mostly
, N: while the latter ... was donated
).
The while
should not be interpreted in a temporal sense, but that's probably not the issue here.
from rst-converter-service.
The rs3 files has some odd things, like relation names in different casing/spelling in the <relations>
section,
while in the section, we only find Temporal
(and not temporal
)
<relations>
<rel name="Manner-Means" type="rst"/>
<rel name="Mannermeans" type="rst"/>
...
<rel name="Same-Unit" type="multinuc"/>
<rel name="Same-unit" type="multinuc"/>
<rel name="Temporal" type="multinuc"/>
<rel name="same-unit" type="multinuc"/>
<rel name="same_unit" type="multinuc"/>
<rel name="temporal" type="rst"/>
</relations>
...
<body>
<segment id="5" parent="3" relname="Temporal">Szeryng subsequently focused on teaching</segment>
<segment id="7" parent="3" relname="Temporal">before resuming his concert career in 1954 .</segment>
<segment id="15" parent="13" relname="Temporal">on which he performed and recorded mostly ,</segment>
<group id="17" type="multinuc" parent="13" relname="Temporal"/>
</body>
from rst-converter-service.
Related Issues (8)
- xvfb-run: error: Xvfb failed to start HOT 1
- Flask broken keyword argument
- Error importing Werkzeug HOT 2
- MemoryError: Unable to parse large HILDA output files HOT 4
- Could not use the service - Error HOT 1
- Can't handle rs3 files generated by isanlp_rst HOT 1
- dplp->rs3 can't handle Desai and Moldovan (2021) example
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rst-converter-service.