From 4a1f830f3fac9296d25c8f40d38c94df77b61bd1 Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Thu, 24 Jun 2004 14:14:25 +0000 Subject: mgruner: added fix from Christopher Kimball. git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@28 07627401-56e2-0310-80f4-f8cd0041bdcd --- modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/Translate/Translate.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'modules/hebrew-wlc') diff --git a/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/Translate/Translate.java b/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/Translate/Translate.java index 1c1e44a..8349629 100644 --- a/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/Translate/Translate.java +++ b/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/Translate/Translate.java @@ -112,11 +112,18 @@ public String translate(String W){ k++ ; c1 = W.charAt(k) ; M = (MCO) (MC.getMCO(c1)).clone() ; - if( M.Type == MCO.Consonant | M.Type == MCO.ConsonantMark ){ - // System.out.println("Swapping prepositive mark and consonant.") ; + if( M.Type == MCO.Consonant){ +// System.out.println("Swapping prepositive mark and consonant.") ; MCOs.add(M) ; MCOs.add(Found) ; } +// *** Special section for MCO.ConsonantMark added 17 June 2004 *** + else if( M.Type == MCO.ConsonantMark ){ +// System.out.println("Swapping prepositive mark and consonant-mark.") ; + MCOs.add(M) ; + MCOs.add(M.Object) ; + MCOs.add(Found) ; + } else{ System.out.println("MC: PrepositiveMark not followed by a Consonant." + "\nWord: " + W + "\nType: " + M.Type ) ; -- cgit