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

Release script #205

Open
matyaskopp opened this issue Jan 18, 2024 · 1 comment
Open

Release script #205

matyaskopp opened this issue Jan 18, 2024 · 1 comment

Comments

@matyaskopp
Copy link
Member

Implement release script in the same way as ParlaMint-UA finalize is implemented: https://github.com/ufal/ParlaMint-UA/blob/f0a64b45832f787295de70c54e01e3befaa9864f/Scripts/ParlaMint-UA-finalize.xsl

Use ParlaMint taxonomies with ParlaMint prefix:

  • ParlaMint-taxonomy-CHES.xml ??
  • ParlaMint-taxonomy-NER.ana.xml
  • ParlaMint-taxonomy-parla.legislature.xml
  • ParlaMint-taxonomy-politicalOrientation.xml ??
  • ParlaMint-taxonomy-speaker_types.xml
  • ParlaMint-taxonomy-subcorpus.xml ??
  • ParlaMint-taxonomy-UD-SYN.ana.xml

And ParCzech and ParlaMint-CZ with ParCzech prefix:

  • ParCzech-taxonomy-meeting.parts.xml
  • ParCzech-taxonomy-NER.cnec2.0.ana.xml
  • ParCzech-taxonomy-parla.links.xml
@matyaskopp
Copy link
Member Author

Script also changes audio paths from:
[0-9]{4}ps/audio/<YYYY>/<MM>/<dd>/<YYYYMMdd><HHmm><HHmm>.mp3
to
audio/psp/<YYYY>/<MM>/<dd>/<YYYYMMdd><HHmm><HHmm>.mp3

<xsl:template mode="comp" match="tei:recording[@type='audio']/tei:media/@url">
<xsl:attribute name="url" select="replace(.,'^[0-9]*ps/audio/','audio/psp/')"/>
</xsl:template>

it will be stored in this way in separate repository record

matyaskopp added a commit that referenced this issue Jan 23, 2024
matyaskopp added a commit that referenced this issue Jan 26, 2024
matyaskopp added a commit that referenced this issue Jan 26, 2024
matyaskopp added a commit that referenced this issue Jan 26, 2024
matyaskopp added a commit that referenced this issue Jan 29, 2024
matyaskopp added a commit that referenced this issue Jul 1, 2024
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