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

Part of aligned text gets shifted to the next segment #33

Open
BoneGoat opened this issue Jun 26, 2020 · 1 comment
Open

Part of aligned text gets shifted to the next segment #33

BoneGoat opened this issue Jun 26, 2020 · 1 comment

Comments

@BoneGoat
Copy link
Contributor

I've seen this in DS 0.6.x and the current DS 0.7.x fork I'm working on but I cannot figure out why it's happening. The first aligned audio segment contains "av juli" but the aligned text does not.

   {
        "start": 77880.0,
        "end": 81480.0,
        "transcript": "en första preliminär rapport ska vara klar i mitten av juli", <= "av juli" is shifted to the next segment
        "text-start": 1630,
        "text-end": 1682,
        "meta": {},
        "aligned-raw": "En första preliminär rapport ska vara klar i mitten ", <= "av juli" is missing and there is a space here
        "aligned": "en första preliminär rapport ska vara klar i mitten "
    },
    {
        "start": 81570.0,
        "end": 86100.0,
        "transcript": "och den kan följas om en formell utredning om brott mot eus finansregler",
        "text-start": 1682,
        "text-end": 1761,
        "meta": {},
        "aligned-raw": "av juli. Den kan följas av en formell utredning om brott mot EU:s finansregler.", <= "av juli." should not be there
        "aligned": "av juli den kan följas av en formell utredning om brott mot eus finansregler"
    }
@taucontrib
Copy link

Same problem here! Did you found any solution in the meantime?

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

2 participants