aeneas icon indicating copy to clipboard operation
aeneas copied to clipboard

How to use hindi language in aeneas?

Open YashMakan opened this issue 2 years ago • 1 comments

Hi, I want to align a Hindi audio file and a plain text file in Hindi Devanagari using aeneas. How can I do that? I am using the following command after some research: "python -m aeneas.tools.execute_task hindi_audio.mp3 hindi_text.txt "task_language=hin|os_task_file_format=json|is_text_type=plain" map.json" but it is throwing me this error:

[WARN] Unable to load Python C Extensions
[WARN] Running the slower pure Python code
[WARN] See the documentation for directions to compile the Python C Extensions
[INFO] Validating config string (specify --skip-validator to bypass)...
[INFO] Validating config string... done
[INFO] Creating task...
[INFO] Creating task... done
[INFO] Executing task...
[ERRO] An unexpected error occurred while executing the task:
[ERRO] Unexpected error while executing task : Both the C extension and the pure Python code failed. (Wrong arguments? Input too big?)

kindly help... Thanks

YashMakan avatar Aug 11 '21 06:08 YashMakan

If your text file contains "-" characters like that, the aligner can give some errors like that.

yasntrk avatar Nov 25 '21 23:11 yasntrk