[sword-devel] Soft hyphens

Cyrille lafricain79 at gmail.com
Thu Nov 2 05:27:14 MST 2017



Le 02/11/2017 à 10:36, refdoc at gmx.net a écrit :
> Leaving aside the module you are working on, how many other modules
> have the same problem?
konnym is affected by this 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 at 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 at 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 at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20171102/ffdbaf50/attachment-0001.html>


More information about the sword-devel mailing list