lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karl wettin <ka...@snigel.dnsalias.net>
Subject Re: N-gram layer
Date Tue, 03 Feb 2004 08:54:19 GMT
On Tue, 03 Feb 2004 09:27:25 +0100
Andrzej Bialecki <ab@getopt.org> wrote:

> 
> However, for the text "vad heter du" (what's your name) the detection 
> fails... :-)

I'm sorry for my multiple replys.. 

1->5 grams and penalty:

vad heter du

test has a weight of 1731 in Swedish
test has a weight of 1726 in Danish
test has a weight of 1789 in Norwegian
test has a weight of 2037 in Afrikaans
test has a weight of 2274 in Dutch


I  recomment you to add penalties. I add (max distance * 4).
There is no science what so ever behind that number.



karl

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message