diff options
author | Martin Gruner <mg.pub@gmx.net> | 2004-06-24 14:14:25 +0000 |
---|---|---|
committer | Martin Gruner <mg.pub@gmx.net> | 2004-06-24 14:14:25 +0000 |
commit | 4a1f830f3fac9296d25c8f40d38c94df77b61bd1 (patch) | |
tree | 5826661b4c3f4d9883b1f083eb9b8063bb3c3904 /modules/hebrew-wlc | |
parent | 92c81685c6f104bf6e3cddbf24c562a37a01f963 (diff) | |
download | sword-tools-4a1f830f3fac9296d25c8f40d38c94df77b61bd1.tar.gz |
mgruner: added fix from Christopher Kimball.
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@28 07627401-56e2-0310-80f4-f8cd0041bdcd
Diffstat (limited to 'modules/hebrew-wlc')
-rw-r--r-- | modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/Translate/Translate.java | 11 |
1 files changed, 9 insertions, 2 deletions
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 ) ;
|