[jsword-devel] Searching in German

DM Smith dmsmith555 at yahoo.com
Wed Feb 6 07:34:56 MST 2008


Manfred Bergmann wrote:
> Hi DM.
>
> AFAIK, Lucene from version 2.1 can deal with leading wildcards.
>   
Lucene 2.3 still throws an error: "Cannot parse '*ning': '*' or '?' not 
allowed as first character in WildcardQuery"

Perhaps, there's something that needs to be done to enable it?

> It would find "*schiff".
> Wouldn't this be enough?
>   
If a German speaker searches for "schiff" would they expect to find in 
words like donaudampfschiff?

Prefix wildcard search may be sufficient, but I don't know if it is 
friendly.

In Him,
    DM
>
> Regards,
> Manfred
>
>
> Am 06.02.2008 um 13:57 schrieb DM Smith:
>
>   
>> FYI,
>>
>> A new capability is being added to Lucene to analyze German words into
>> constituent parts. The next release, which might contain it, of Lucene
>> will probably be in about 4 months.
>>
>> Donaudampfschiff would be decomposed to Donau, dampf, schiff so that
>> you can find the word even when you only enter "Schiff".
>>
>> Is this something that we should add?
>>
>> It has been over 30 years since I studied German so I am not qualified
>> to answer my own question.
>>
>> Together we achieve more for Christ,
>> 	DM Smith
>>
>> _______________________________________________
>> jsword-devel mailing list
>> jsword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/jsword-devel
>>     
>
>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>   




More information about the jsword-devel mailing list