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

PT: wrong/no sentence segmentation #825

Open
matyaskopp opened this issue Nov 10, 2023 · 0 comments
Open

PT: wrong/no sentence segmentation #825

matyaskopp opened this issue Nov 10, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@matyaskopp
Copy link
Collaborator

The source of transcriptions of PT debates does not seem to contain paragraphs, but in the corpus, it is somehow segmented into paragraphs (my guess is if the punctuation ./?/ is at the end of the line then paragraph<seg> ends)

https://debates.parlamento.pt/catalogo/r3/dar/01/13/04/035/2019-01-04?sft=true#p5
"paragraphs" are framed:
image

The TEI:

<seg xml:id="ParlaMint-PT_2019-01-04.seg21">Em primeiro <!-- 
--> privada. A segurança <!--
--> complementar.</seg>

The TEI.ana:

<seg xml:id="ParlaMint-PT_2019-01-04.seg21">
  <s xml:id="ParlaMint-PT_2019-01-04.seg21.s">
    <w xml:id="ParlaMint-PT_2019-01-04.seg21.s.1" msd="UPosTag=ADP" lemma="em">Em</w>
    <w xml:id="ParlaMint-PT_2019-01-04.seg21.s.2" msd="UPosTag=ADJ|Gender=Masc|Number=Sing" lemma="primeiro">primeiro</w>
    <!-- -->
    <w xml:id="ParlaMint-PT_2019-01-04.seg21.s.14" msd="UPosTag=ADJ|Gender=Fem|Number=Sing" lemma="privar,privado" join="right">privada</w>
    <pc xml:id="ParlaMint-PT_2019-01-04.seg21.s.15" msd="UPosTag=PUNCT">.</pc>
    <w xml:id="ParlaMint-PT_2019-01-04.seg21.s.16" msd="UPosTag=DET|Gender=Fem|Number=Sing" lemma="a">A</w>
    <w xml:id="ParlaMint-PT_2019-01-04.seg21.s.17" msd="UPosTag=NOUN|Gender=Fem|Number=Sing" lemma="segurança">segurança</w>
    <!-- -->
    <w xml:id="ParlaMint-PT_2019-01-04.seg21.s.47" msd="UPosTag=ADJ|Gender=Fem|Number=Sing" lemma="complementar" join="right">complementar</w>
    <pc xml:id="ParlaMint-PT_2019-01-04.seg21.s.48" msd="UPosTag=PUNCT">.</pc>
    <linkGrp targFunc="head argument" type="UD-SYN"><!-- --> </linkGrp>
  </s>
</seg>

@matyaskopp matyaskopp added the bug Something isn't working label Nov 10, 2023
@matyaskopp matyaskopp added this to the Future milestone Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants