From 32c9c9512979072ec6f3bfa0d12b63dbfdc5c68a Mon Sep 17 00:00:00 2001 From: amontano Date: Mon, 14 Oct 2002 21:08:19 +0000 Subject: [PATCH] good solution for g suffix problem in the acip dictionary. Perhaps solves 90% of the ambiguous cases! --- .../thdl/tib/scanner/BinaryFileGenerator.java | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/source/org/thdl/tib/scanner/BinaryFileGenerator.java b/source/org/thdl/tib/scanner/BinaryFileGenerator.java index df4a74d..3bf04a5 100644 --- a/source/org/thdl/tib/scanner/BinaryFileGenerator.java +++ b/source/org/thdl/tib/scanner/BinaryFileGenerator.java @@ -104,7 +104,7 @@ public class BinaryFileGenerator extends LinkedList int marker, len, marker2, n=0, total=0, currentPage=0, currentLine=1; char ch; BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(archivo))); - String entrada="", s1="", s2="", currentLetter="", temp=""; + String entrada="", s1="", s2="", currentLetter="", temp="", lastWeirdDefiniendum=""; boolean markerNotFound; // used for acip dict @@ -234,8 +234,13 @@ public class BinaryFileGenerator extends LinkedList case 'g': // verify "g " if (marker+1