Leaving aside the module you are working on, how many other modules have the same problem? If it is a few only, we might as well reissue them and worry about engine enhancement later.

Peter

Peter

Sent from my mobile. Please forgive shortness, typos and weird autocorrects.


-------- Original Message --------
Subject: Re: [sword-devel] Soft hyphens
From: David Haslam
To: sword-devel@crosswire.org
CC:


Update: Research results of SWORD search for soft hyphens:

In Xiphos there is a problem with the exact search.

If the same word occurs in the text both with and without a soft hyphen,

- A search for the word with a soft hyphen will find only those instances
- A search for the word without a soft hyphen will find only those instances

To find all occurrences of the word, with or without the soft hyphen, the
user would need to enter the search key with the soft hyphen replaced by a ?
and use the regular _expression_ search.

If the user is unaware that there's a superfluity of soft hyphens in the
module, they wouldn't have a clue that this would even be necessary.

If they somehow managed to discern that soft hyphens did exist, they'd need
to research where in the word it was located before they could use the
regular _expression_ technique.

Example:

- regexp search `mpa?mba` gives 505 hits, and they all display as mpamba.
- exact search for `mpamba` (without the hyphen) gives 411 hits
- exact search for `mpa­mba` (with a soft hyphen) gives 50 hits
- exact search for `mpa­­mba` (with 2 soft hyphens) gave 3 hits


NB. These results were based on the module Fr Cyrille made before the
multiple and useless soft hyphens were removed from the source text.

Further research ideas: PocketSword has a fuzzy search option. Would this
help?

Aside: Why is there no fuzzy search option in Xiphos?

Best regards,

David



--
Sent from: http://sword-dev.350566.n4.nabble.com/

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to