Skip to content
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

Conversion to unified causes duplication of trailing parts of MWEs #23

Open
frankier opened this issue Aug 19, 2019 · 0 comments
Open

Comments

@frankier
Copy link
Owner

Example of viimeistä luokkaa in bp4 in eurosense and unified format (luokkaa is doubled!):

<sentence id="284">
<text id="fi-tok" lang="fi">Sinun ei tarvitsisi kerrata viimeistä luokkaa .</text>
<gram type="finnpos" for="fi-tok">[["sin\u00e4", {"pos": "PRONOUN", "subcat": "PERSONAL", "pers": "SG2", "num": "SG", "case": "GEN"}], ["ei", {"pos": "VERB", "subcat": "NEG", "voice": "ACT", "pers": "SG3"}], ["tarvita", {"pos": "VERB", "voice": "ACT", "mood": "COND", "neg": "CON"}], ["kerrata", {"pos": "VERB", "voice": "ACT", "inf": "A", "case": "LAT"}], ["viimeinen", {"pos": "ADJECTIVE", "num": "SG", "case": "PAR"}], ["luokka", {"pos": "NOUN", "num": "SG", "case": "PAR"}], [".", {"pos": "PUNCTUATION"}]]</gram>
<annotations>
<annotation id="13" type="stiff" support="transfer-type=unaligned&amp;transform-chain=%5B%5D&amp;transfer-from-wordnets=qwc&amp;transfer-from-source=zh-untok&amp;transfer-from-lemma-path=whole&amp;transfer-from-anchor-positions=from-id%3Dzh-untok%26char%3D0&amp;transfer-from-anchor-char-length=1" rank="1" freq="50921640" lang="fi" anchor="ei" anchor-positions="from-id=fi-tok&amp;char=6&amp;token=1&amp;token-length=1" lemma="ei" wnlemma="l=ei&amp;wn=fin,qwf,qf2" wordnets="fin qwf qf2" lemma-path="whole,omor,recurs,finnpos">not.r.01 ei.r.02</annotation>
<annotation id="51" type="stiff" rank="1" freq="27720" lang="fi" anchor="viimeistä luokkaa" anchor-positions="from-id=fi-tok&amp;char=28&amp;token=4&amp;token-length=2" lemma="viimeinen luokka" wnlemma="l=viimeinen_luokka&amp;wn=fin,qf2" wordnets="fin qf2" lemma-path="omor,recurs,finnpos omor,recurs,finnpos">graduating_class.n.01 valmistuva_luokka.n.01</annotation>
<annotation id="64" type="stiff" support="transfer-type=unaligned&amp;transform-chain=%5B%5D&amp;transfer-from-wordnets=qcn&amp;transfer-from-source=zh-untok&amp;transfer-from-lemma-path=whole&amp;transfer-from-anchor-positions=from-id%3Dzh-untok%26char%3D4&amp;transfer-from-anchor-char-length=1" rank="6" freq="55440" lang="fi" anchor="luokkaa" anchor-positions="from-id=fi-tok&amp;char=38&amp;token=5&amp;token-length=1" lemma="luokka" wnlemma="l=luokka&amp;wn=fin,qf2" wordnets="fin qf2" lemma-path="omor,recurs,finnpos">class.n.05 luokka.n.04</annotation>
</annotations>
</sentence>

</sentence><sentence id="stiff.0000133751.000.00000284">
<wf>Sinun</wf>
<instance lemma="ei" pos="ADV" id="stiff.0000133751.000.00000284.00000000">ei</instance>
<wf>tarvitsisi</wf>
<wf>kerrata</wf>
<instance lemma="viimeinen_luokka" pos="NOUN" id="stiff.0000133751.000.00000284.00000001">viimeistä luokkaa</instance>
<wf>luokkaa</wf>
<wf>.</wf>
</sentence><sentence id="stiff.0000133751.000.00000285">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant