From: jerome <rom...@ya...> - 2010-12-19 13:03:23
|
Note, about results on FindDupliacte tool, I suppose we should also try to add tests on alternate names ? I guess, this will not break current process, but will only add some rows. I will try to make a patch. Note, I would like to know if to support advanced phonetic algorithms (new classes on soundex or a new file)[2] might be added for advanced or localized searchs ? [1] http://en.wikipedia.org/wiki/Phonetic_algorithm [2] http://www.gramps-project.org/bugs/view.php?id=4468 Jérôme --- En date de : Dim 19.12.10, Peter Landgren <pet...@te...> a écrit : > De: Peter Landgren <pet...@te...> > Objet: Re: [Gramps-devel] Need an explanation > À: "Nick Hall" <nic...@ho...> > Cc: "Gramps developers" <gra...@li...> > Date: Dimanche 19 décembre 2010, 13h09 > Done, > > But what to do about these messages: > > FindDupes.py:133: RuntimeWarning: missing handler > 'on_delete_show_event' > "on_delete_event" : > self.close, > FindDupes.py:133: RuntimeWarning: missing handler > 'on_help_show_clicked' > "on_delete_event" : > self.close, > FindDupes.py:133: RuntimeWarning: missing handler > 'on_do_merge_clicked' > "on_delete_event" : > self.close, > FindDupes.py:551: RuntimeWarning: missing handler > 'on_delete_merge_event' "on_delete_show_event" : > self.close, > FindDupes.py:551: RuntimeWarning: missing handler > 'on_help_clicked' "on_delete_show_event" : > self.close, > FindDupes.py:551: RuntimeWarning: missing handler > 'on_merge_ok_clicked' "on_delete_show_event" : > self.close, > > That's GUI stuff I believe, so it's not for me ;) > > /Peter > > > Yes, this is almost certainly a typo. > > > > chance =+ value is equivalent to chance = value > > > > chance += value is equivalent to chance = chance + > value > > > > The code looks for matches and increments the chance. > If the chance > > exceeds a threshold then a possible duplicate is > reported. > > > > I would go ahead and change the 4 =+ to += > > > > > > Nick. > > > > Peter Landgren wrote: > > > Hi, > > > > > > Tried to work with: > > > http://www.gramps-project.org/bugs/view.php?id=4460 > > > > > > I found some code that looks strange to me. > > > > > > There are four lines like: > > > chance =+ > value > > > > > > and thirteen lines like: > > > chance += > value > > > > > > If I change the four =+ to += my test case finds > five of the six cases. > > > > > > Was it typo? > > > > > > /Peter > > > > > > > ------------------------------------------------------------------------- > > > ----- Lotusphere 2011 > > > Register now for Lotusphere 2011 and learn how > > > to connect the dots, take your collaborative > environment > > > to the next level, and enter the era of Social > Business. > > > http://p.sf.net/sfu/lotusphere-d2d > > > _______________________________________________ > > > Gramps-devel mailing list > > > Gra...@li... > > > https://lists.sourceforge.net/lists/listinfo/gramps-devel > > -- > Peter Landgren > Talken Hagen > 671 94 BRUNSKOG > 0570-530 21 > 070-345 0964 > pet...@te... > Skype: pgl4820.2 > > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > |