So, after the reply, I have a look at the format itself. "Unhammer
builds Gaupol extension," I think, "now out-of-date. Rob spends two
hours building outmoded software. Are we trying too hard?"

https://github.com/rcrowther/apertiumSrt 

It's a small SRT-format parser embedded in a Python3 script. The script
reads a file, then writes a new file with Apertium superblanks inserted.
Then you can run the new superblanked file through Apertium. If you have
an installed Apertium, the script can invoke the install and write a
complete translated SRT file.

That's it. Now I got 'Stagecoach', Jane Austen's 'Emma', and 'Die Hard',
translated.

New Wiki page!

http://wiki.apertium.org/wiki/Translating_subtitles_intro

One day maybe I'll have the computer and the justification to do this to
Apertium's input/output formatting [sigh]...

Rob




On Sat, 2017-01-07 at 21:17 +0100, Kevin Brubeck Unhammer wrote:
> robert <[email protected]> čálii:
> 
> > Hello,
> >
> > I wanted to do a subtitle translation. I'm writing this while I have the
> > information right here. Here was my experience, from the Wiki,
> >
> > == 1 Gaupol
> >
> > I tried Gaupol, out of repository. The program works, and looks good (my
> > kind of software), but will not work through Apertium.
> >
> > I try installing the Apertium extension. This fails in the given 'local'
> > location. So I hack the Gaupol installation directly, inserting the
> > extension code and modifying the Gaupol version. This fails, telling me
> > that the module needs updating to Python3, GTK updates, etc.
> >
> > Perhaps to be expected, but that's my first attempt failed.
> 
> I think I contributed that one, and failed to maintain it … OTOH, this
> is the first I've heard of anyone trying to use it in quite some time .)
> 
> GCI Students: this is now a task:
> https://codein.withgoogle.com/tasks/6306147784982528/
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Apertium-stuff mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to