diff --git a/source/org/thdl/tib/text/ttt/PackageTest.java b/source/org/thdl/tib/text/ttt/PackageTest.java index 0fa0e5a..0050647 100644 --- a/source/org/thdl/tib/text/ttt/PackageTest.java +++ b/source/org/thdl/tib/text/ttt/PackageTest.java @@ -410,6 +410,9 @@ tstHelper("KA'", "[(K . A), (' . )]", tstHelper("NE+YA", "{NE}{+-}{YA}", null, null, "!null!"); + tstHelper("GA-YOGS", "{GA}{-}{YO}{G}{S}", + new String[] { "{GA}{YO}{G+S}", "{GA}{YO}{G}{S}" }, null, "{GA}{YO}{G}{S}"); + tstHelper("GDAMS'O", "{G}{DA}{M}{S'O}", new String[] { "{G+DA}{M+S'O}", diff --git a/source/org/thdl/tib/text/ttt/TPairList.java b/source/org/thdl/tib/text/ttt/TPairList.java index a92e04b..8223a03 100644 --- a/source/org/thdl/tib/text/ttt/TPairList.java +++ b/source/org/thdl/tib/text/ttt/TPairList.java @@ -354,6 +354,9 @@ class TPairList { if (ddebug) System.out.println("i is " + i); TPair p = get(i); + // GA-YOGS should be treated like GAYOGS or G-YOGS: + if (p.isDisambiguator()) continue; + boolean nn; if ((nn = p.isNumeric()) && ("+".equals(get(i-1).getRight()) || "+".equals(p.getRight())))