From lojban+bncCLi-v_X3FRCLmb3lBBoEZkzfkg@googlegroups.com Fri Oct 08 09:53:47 2010 Received: from mail-gw0-f61.google.com ([74.125.83.61]) by chain.digitalkingdom.org with esmtp (Exim 4.72) (envelope-from ) id 1P4GCV-0005KI-Mg; Fri, 08 Oct 2010 09:53:47 -0700 Received: by gwb11 with SMTP id 11sf1125408gwb.16 for ; Fri, 08 Oct 2010 09:53:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:received:received :received:received:received-spf:received:received:date:from:to :subject:message-id:mail-followup-to:references:mime-version :in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type:content-disposition; bh=d3ntwswlfrsjVLeDI2OS7fsCYtTKMcV9cieTIVC6hyI=; b=oq2jehD6Xk/JuV/0xODBJQ89h0VUDPVcb2ViBBpNsOTZ6BzBeJS+OLqQYSVJ+LXlgw bXI+CqJxIBH1f1miRKPcfu9EUTqyYsD/k2/MB7FpRO0rIMQweU/iPKjvw1NByDZV8DDs NZ7E/eorW0eYUyZDQgLr61nW30oCc6eURijLI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:date:from:to:subject:message-id :mail-followup-to:references:mime-version:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type :content-disposition; b=OAZdsmHI+sEmufAq0MHULeN6nI2/TEqP8WQus6P++dfkc390iO3SnLhjkft2TPM3YQ z4XToHlfVbEzYMS8QUMQfxUSScmE0vER/gtBgHEfxFTWiexl7TaLMCjY+Bd6j92hyqS9 4keDqZPdr2B1Rn/eJlPXrlll7u1zSSEdNRIk4= Received: by 10.150.242.3 with SMTP id p3mr265535ybh.23.1286556811361; Fri, 08 Oct 2010 09:53:31 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.150.1.17 with SMTP id 17ls309830yba.0.p; Fri, 08 Oct 2010 09:53:30 -0700 (PDT) Received: by 10.151.12.8 with SMTP id p8mr596757ybi.51.1286556810937; Fri, 08 Oct 2010 09:53:30 -0700 (PDT) Received: by 10.142.44.21 with SMTP id r21mr940370wfr.56.1286551732222; Fri, 08 Oct 2010 08:28:52 -0700 (PDT) Received: by 10.142.44.21 with SMTP id r21mr940368wfr.56.1286551732195; Fri, 08 Oct 2010 08:28:52 -0700 (PDT) Received: from sdf.lonestar.org (mx.freeshell.org [192.94.73.19]) by gmr-mx.google.com with ESMTP id w30si3301803wfd.3.2010.10.08.08.28.52; Fri, 08 Oct 2010 08:28:52 -0700 (PDT) Received-SPF: neutral (google.com: 192.94.73.19 is neither permitted nor denied by best guess record for domain of jwodder@sdf.lonestar.org) client-ip=192.94.73.19; Received: from sdf.lonestar.org (IDENT:jwodder@sverige.freeshell.org [192.94.73.4]) by sdf.lonestar.org (8.14.4/8.14.3) with ESMTP id o98FSpTb015995 for ; Fri, 8 Oct 2010 15:28:51 GMT Received: (from jwodder@localhost) by sdf.lonestar.org (8.14.4/8.12.8/Submit) id o98FSpgG018009 for lojban@googlegroups.com; Fri, 8 Oct 2010 15:28:51 GMT Date: Fri, 8 Oct 2010 15:28:51 +0000 From: Minimiscience To: lojban@googlegroups.com Subject: Re: [lojban] ScoreGismu - the latest version ? Message-ID: <20101008152849.GA19103@sdf.lonestar.org> Mail-Followup-To: lojban@googlegroups.com References: MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Original-Sender: minimiscience@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.94.73.19 is neither permitted nor denied by best guess record for domain of jwodder@sdf.lonestar.org) smtp.mail=jwodder@sdf.lonestar.org Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: Sender: lojban@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline de'i li 08 pi'e 10 pi'e 2010 la'o fy. najrut .fy. cusku zoi skamyxatra. > http://jbotcan.org/en/res/1219.html talks about some bug fixes to > scoreGismu. But where is the latest version stored indeed ? > > Is it fixed now so that it gives the best score to pilno instead of > mlino ? .skamyxatra I don't know if there's any "official" fix, but the pilno/mlino problem can be solved by changing lines 114-118 from: > if($gismu =~ /$lcs[0].?$lcs[1]/) { > if($word =~ /$lcs[0].?$lcs[1]/) { > $score += $weight * 2 / @wordSequence; > } > } to: > $score += $weight * 2 / @wordSequence > if $gismu =~ /$lcs[0]$lcs[1]/ && $word =~ /$lcs[0]$lcs[1]/ > || $gismu =~ /$lcs[0].$lcs[1]/ && $word =~ /$lcs[0].$lcs[1]/ You'll also need to have an empty file in place of gismu.txt in order for extant {gismu} (and anything they conflict with) to be considered for scoring. mu'omi'e .kamymecraijun. -- ko na xalni -- You received this message because you are subscribed to the Google Groups "lojban" group. To post to this group, send email to lojban@googlegroups.com. To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/lojban?hl=en.