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

Media paths in TEI-transcripts should be relative #205

Open
EleFri opened this issue Aug 30, 2024 · 1 comment
Open

Media paths in TEI-transcripts should be relative #205

EleFri opened this issue Aug 30, 2024 · 1 comment
Assignees

Comments

@EleFri
Copy link
Collaborator

EleFri commented Aug 30, 2024

To use the demo corpus on other computers and especially on linux, the absolute media paths should be relative and "EXMARaLDA-Demokorpus" should be changed to "EXMARaLDA-DemoKorpus" like the folder name under /src/main/java/data/corpora. Maybe the ComaBackend (getMedia-method) should then also be adapted.

EXMARaLDA-DemoKorpus:

<sourceDesc>
            <recordingStmt>
               <recording type="audio">
                  <media mimeType="audio/wav" url="file:/D:/ZUMULT_DEMO/EXMARaLDA-Demokorpus/AnneWill/AnneWill.wav" />
               </recording>
               <recording type="video">
                  <media mimeType="video/mp4" url="file:/D:/ZUMULT_DEMO/EXMARaLDA-Demokorpus/AnneWill/AnneWill_web.mp4" />
               </recording>
            </recordingStmt>
         </sourceDesc>

Example of FOLK:

<sourceDesc>
                <recordingStmt>
                    <recording type="audio">
                        <media mimeType="audio/wav"
                            url="../../media/audio/FOLK/FOLK_E_00001_SE_01_A_01_DF_01.WAV"/>
                    </recording>
                </recordingStmt>
            </sourceDesc>
@berndmoos
Copy link
Member

The paths in the transcript file are irrelevant for ZuMult. It would still be cleaner to make them relative, though...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants