Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env perl
use 5.013;
use strict;
use warnings;
use Data::Dumper;
use File::Basename;
use File::Spec::Functions;
use File::Path qw(make_path);
# found on and adapted from https://gist.github.com/johntyree/1730338
From 40023ad3fc835020196ba0489340cc6cd276d84a Mon Sep 17 00:00:00 2001
From: Timo Baumann <baumann@informatik.uni-hamburg.de>
Date: Mon, 30 Mar 2015 07:23:50 +0200
Subject: [PATCH 1/2] Update to ehmm 2.7 -- concurrent processing!
ehmm uses multiple processors by default, but also
a binary feature format. Updated tar.gz as well as
necessary updates to EHMMLabeler
---
lib/external/ehmm.tar.gz | Bin 44751 -> 231246 bytes
From f541b166e3e1e76b8b824e3e963c62aad8ed0f18 Mon Sep 17 00:00:00 2001
From: Timo Baumann <baumann@informatik.uni-hamburg.de>
Date: Mon, 30 Mar 2015 07:20:23 +0200
Subject: [PATCH] incorporate HTS-parallelization patch
patch from http://hts.sp.nitech.ac.jp/hts-users/spool/2014/msg00196.html,
adapted to work with HTS 2.2 (which is what Mary uses) instead of HTS 2.1.
---
lib/external/hts/configure | 12 ++
lib/external/hts/configure.ac | 11 +-
From 40023ad3fc835020196ba0489340cc6cd276d84a Mon Sep 17 00:00:00 2001
From: Timo Baumann <baumann@informatik.uni-hamburg.de>
Date: Mon, 30 Mar 2015 07:23:50 +0200
Subject: [PATCH] Update to ehmm 2.7 -- concurrent processing!
ehmm uses multiple processors by default, but also
a binary feature format. Updated tar.gz as well as
necessary updates to EHMMLabeler
---
lib/external/ehmm.tar.gz | Bin 44751 -> 231246 bytes
@timobaumann
timobaumann / gist:802b820d9273630bed6a
Created March 30, 2015 14:11
fix syllabification of open stressed syllables
From 327c899a63b782b05a4d2100c32c3bdfe6f71bb2 Mon Sep 17 00:00:00 2001
From: Timo Baumann <baumann@informatik.uni-hamburg.de>
Date: Mon, 30 Mar 2015 16:04:11 +0200
Subject: [PATCH] fix syllabification of open stressed syllables
(maybe just one-syllable words, at least "neigh" as in "Horses neigh every day."
---
.../marytts/modules/phonemiser/AllophoneSet.java | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)