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

Problems when using translation #2

Open
anatolytimonin opened this issue Jan 12, 2025 · 3 comments
Open

Problems when using translation #2

anatolytimonin opened this issue Jan 12, 2025 · 3 comments

Comments

@anatolytimonin
Copy link

While using the Russian language on the Scribe platform, the following issues have been identified:

  1. Untranslated 'Summary':

    • The term 'Summary' remains untranslated and appears in English.
  2. Missing Text Segments:

    • Certain parts of the text are not displayed in the transcription. For example, in the video linked here, the following phrases are missing:

6:31
Один из моих фаворитов, который на самом деле не входит в эти 17 лучших в Википедии, это система контроля багажа аэропорта Денвера. Когда они ввели аэропорт Денвера, они собирались построить это. Они построили систему туннелей и переключателей, и у них было 14 PCS. И они собирались контролировать багаж.

Анализ причин провалов и роль менеджмента

Способность понимать создаваемые системы

Локальное рассуждение и функции

10:23
И вы клали свой багаж на конвейер


  • The timestamp is lost, at 10:23 it is actually a continuation of the previous text ~6:35
@anatolytimonin
Copy link
Author

service - https://www.appblit.com/scribe

@ldenoue
Copy link
Owner

ldenoue commented Jan 12, 2025

Thanks for reporting. I confirm the issue and will look into a fix.

@ldenoue
Copy link
Owner

ldenoue commented Jan 13, 2025

Should be fixed now https://www.appblit.com/scribe?v=bhizxAXQlWc&language=ru#0

The issue was the function that removed punctuations. I had to convert it to support multiple languages.

Changed .replace(/\W+/g,'') to .replace(/\p{P}/gu, '') because it wouldn't work on some strings (e.g. here some Russian strings)

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