Problem using arabic bible in search

Page 1 of 1 (4 items)
This post has 3 Replies | 2 Followers

Posts 4
Mina Hany | Forum Activity | Posted: Tue, Jan 21 2014 4:30 AM

Just a small problem with search in arabic..

In arabic the equivalent of 'and' is just one letter 'و'
now the problem is, in arabic the 'and' becomes one word with the word that it follows..

so for example 'and god' is actually 'andgod'  
there is no space between 'و' and the word that follows it although they are technically two words.

Now the problem is that the search works on full words only, so if I search for 'god' I don't get results where there is an 'and' before God and vice versa.

The simplest solution would be to have an alternation in all arabic queries. So when someone searches for god we search for 'god' OR 'andgod' (just append 'و' to the beginning of the query).

Is there any hopes to get that fixed? It is very confusing to users.. I tried to put a vertical bar in the query in hopes that the api allows some sort of alternation in the query but that doesn't work.

Specific Arabic bible ID is ar-vandyke

Thank you.

Posts 9944
George Somsel | Forum Activity | Replied: Tue, Jan 21 2014 5:20 AM

Mina Hany:

Just a small problem with search in arabic..

In arabic the equivalent of 'and' is just one letter 'و'
now the problem is, in arabic the 'and' becomes one word with the word that it follows..

so for example 'and god' is actually 'andgod'  
there is no space between 'و' and the word that follows it although they are technically two words.

Now the problem is that the search works on full words only, so if I search for 'god' I don't get results where there is an 'and' before God and vice versa.

The simplest solution would be to have an alternation in all arabic queries. So when someone searches for god we search for 'god' OR 'andgod' (just append 'و' to the beginning of the query).

Is there any hopes to get that fixed? It is very confusing to users.. I tried to put a vertical bar in the query in hopes that the api allows some sort of alternation in the query but that doesn't work.

Specific Arabic bible ID is ar-vandyke

Thank you.

In Hebrew the situation is the same—the conjunction is joined to the "following" word whether that is a name, pronoun or a verb.  While by using a morph search it is possible to specify a waw-consecutive, it is not possible to exclude the conjunction.  I imagine that this is something you simply will need to accept and solve by searching through the hits to find those which to not have a conjunction.

george
gfsomsel

יְמֵי־שְׁנוֹתֵינוּ בָהֶם שִׁבְעִים שָׁנָה וְאִם בִּגְבוּרֹת שְׁמוֹנִים שָׁנָה וְרָהְבָּם עָמָל וָאָוֶן

Posts 9944
George Somsel | Forum Activity | Replied: Tue, Jan 21 2014 5:32 AM

Mina Hany:

Just a small problem with search in arabic..

In arabic the equivalent of 'and' is just one letter 'و'
now the problem is, in arabic the 'and' becomes one word with the word that it follows..

so for example 'and god' is actually 'andgod'  
there is no space between 'و' and the word that follows it although they are technically two words.

Now the problem is that the search works on full words only, so if I search for 'god' I don't get results where there is an 'and' before God and vice versa.

The simplest solution would be to have an alternation in all arabic queries. So when someone searches for god we search for 'god' OR 'andgod' (just append 'و' to the beginning of the query).

Is there any hopes to get that fixed? It is very confusing to users.. I tried to put a vertical bar in the query in hopes that the api allows some sort of alternation in the query but that doesn't work.

Specific Arabic bible ID is ar-vandyke

Thank you.

Have you tried the ANDNOT operator?  You should be able to specify "God ANDNOT andGod."  Note that the operator must be in all caps.

george
gfsomsel

יְמֵי־שְׁנוֹתֵינוּ בָהֶם שִׁבְעִים שָׁנָה וְאִם בִּגְבוּרֹת שְׁמוֹנִים שָׁנָה וְרָהְבָּם עָמָל וָאָוֶן

Posts 4
Mina Hany | Forum Activity | Replied: Tue, Jan 21 2014 5:44 AM

I think you misunderstood me.

I don't have the results that contain 'and' at all if I search for one word. If I search for 'god' I never get any results that have 'god' after the 'and' but I want them to appear

It is not a matter of results appearing when they shouldn't appear it is a matter of results not appearing when they should.

But thanks to your ANDNOT tip, I tried "god OR andgod" and that worked.. Thanks very much for the quick reply.

Topic can now be closed :)


Page 1 of 1 (4 items) | RSS
Copyright 1992-2015 Faithlife / Logos Bible Software.