From 138b10e25dab12f94fc78f65589700f0f6e31a57 Mon Sep 17 00:00:00 2001 From: "Troy A. Griffitts" Date: Sat, 10 Nov 2007 04:26:45 +0000 Subject: fixed greek article processing git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@121 07627401-56e2-0310-80f4-f8cd0041bdcd --- flashtools/flash.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'flashtools') diff --git a/flashtools/flash.cpp b/flashtools/flash.cpp index def5e99..48d7b72 100644 --- a/flashtools/flash.cpp +++ b/flashtools/flash.cpp @@ -310,7 +310,7 @@ vector processWords(const char *range, bool addAll = true) { if (parts > 1) lemKey.appendFormatted(".%d", i); SWBuf strong = word->second[lemKey]; SWBuf text = word->second["Text"]; - if ((parts > 2) && (strong == "G3588")) { + if (strong == "G3588") { text = "[article]"; } else { @@ -321,10 +321,12 @@ vector processWords(const char *range, bool addAll = true) { } Phrase p; p.phrase = text; - if (parts > 1) { + if ((parts > 1) && (strong != "G3588")) { // lets build our 'with' list excluding ourselves list withoutMe = lemmas; withoutMe.remove(strong); + // special handling of article. We don't want [+ 3588] all over the place + withoutMe.remove("G3588"); p.with = vector(withoutMe.begin(), withoutMe.end()); } wordList[strong].kjvFreq[p]++; -- cgit