another little fix to stop initialization
authorKevin Brubeck Unhammer <pixiemotion@gmail.com>
Thu, 18 Sep 2008 10:16:36 +0000 (18 12:16 +0200)
committerKevin Brubeck Unhammer <pixiemotion@gmail.com>
Thu, 18 Sep 2008 10:16:36 +0000 (18 12:16 +0200)
src/loc_h_harmonic.py

index 8932cc9..352a5c6 100644 (file)
@@ -149,7 +149,7 @@ def init_normalize(f, tags, numtag, tagnum):
                 else: 
                     p_STOP[h, dir, adj] = \
                         (FSTOP_MIN + f[head, 'STOP', dir, adj] * STOP_C) / \
-                        (FSTOP_MIN + f['ROOT',head] * NSTOP_C)
+                        (FSTOP_MIN + f['ROOT',head] * (STOP_C + NSTOP_C))
                     
         p_ORDER[GOR, h] = RIGHT_FIRST
         p_ORDER[GOL, h] = 1 - RIGHT_FIRST