Grokbase
Topics Posts Groups | in
x
[ help ]

Martin Hearn (martin...@mac.com)

Profile | Posts (4)

User Information

Display Name:Martin Hearn
Partial Email Address:martin...@mac.com
Posts:
4 total
4 in Xapian

5 Most Recent

1) Martin Hearn Re: [Xapian-discuss] Spell Checking
| +1 vote
Hi Continuing my investigation with spelling, I have a record with this data: "Harry Potter and the...
Xapian
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hi

Continuing my investigation with spelling, I have a record with this  
data: "Harry Potter and the Goblet of Fire"

delve -r 1237832 full
Term List for record #1237832: Zand Zfire Zgoblet Zharri Zjk Zof  
Zpotter Zrowl Zthe and fire goblet harry id1237832 jk of potter  
rowling the

Should I expect the spell checker to suggest this record if I search  
"Harry Porter Goblet" rather than "Harry Potter Goblet" (replacing a t  
in potter with r)

At the moment it comes back with nothing at distances up to 10.

If I search "hairy potter goblet" Xapian recommends fairyspotters.

(Term List for record #676097: Zclibbon Zfairyspott Zguid Zmeg clibbon  
fairyspotters guide id676097 meg)

Am I expecting the wrong things from this?

Setting the stemming strategy and default op doesn't make any  
difference to the results.

Many thanks

Martin


_______________________________________________
Xapian-discuss mailing list
[email protected: Xapian-di...@lists.xapian.org]
http://lists.xapian.org/mailman/listinfo/xapian-discuss
2) Martin Hearn Re: [Xapian-discuss] Spell Checking
| +1 vote
Thanks Richard - just to confirm, increasing the distance won't change the results once a...
Xapian
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Thanks Richard - just to confirm, increasing the distance won't change  
the results once a suggestion has been found?


On 11 Mar 2008, at 14:08, Richard Boulton wrote:

> Martin Hearn wrote:
>> 1) Is there any way you can get more than one spelling suggestion
>> from  get_spelling_suggestion();
>
> Not currently, no.
>
>> 2) Can anyone confirm that any suggestion given won't necessarily
>> return any results.
>
> It is possible for a returned suggestion not to return any results.
> This is particularly likely if the default operator is AND - the
> corrected words will usually appear in the database, but they may
> not occur in the same document. If you have deleted documents from
> the database, it is even possible for the words suggested as
> spelling corrections not to exist in the database, since the
> spelling corrections are not automatically removed when a document
> is removed (though this is unlikely unless you've done many
> deletions, since the most frequent words are chosen as spelling
> corrections).
>
> --
> Richard


_______________________________________________
Xapian-discuss mailing list
[email protected: Xapian-di...@lists.xapian.org]
http://lists.xapian.org/mailman/listinfo/xapian-discuss
3) Martin Hearn [Xapian-discuss] Spell Checking
| +1 vote
Hi I wonder if someone could answer these two questions about spelling correction: 1) Is there any...
Xapian
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hi

I wonder if someone could answer these two questions about spelling  
correction:

1) Is there any way you can get more than one spelling suggestion from  
get_spelling_suggestion();
2) Can anyone confirm that any suggestion given won't necessarily  
return any results.

Many thanks for a great product!

Martin


_______________________________________________
Xapian-discuss mailing list
[email protected: Xapian-di...@lists.xapian.org]
http://lists.xapian.org/mailman/listinfo/xapian-discuss
4) Martin Hearn Re: [Xapian-discuss] Xapian 1.0.0 released!
| +1 vote
WOW - I'm impressed. I don't know how but I've just reindexed my database of 2,400,000 documents...
PostgreSQL - GeneralXapian
[ Profile | Reply to groups ] [ Flat  Thread  Threaded ]
WOW - I'm impressed.

I don't know how but I've just reindexed my database of 2,400,000  
documents and instead of taking 9 hours it's taken 1 and a quarter!

Congratulations and thanks!!

Martin


_______________________________________________
Xapian-discuss mailing list
[email protected: Xapian-di...@lists.xapian.org]
http://lists.xapian.org/mailman/listinfo/xapian-discuss
5) Martin Hearn Re: [Xapian-discuss] set_sort_by_value change
| +1 vote
Hi Olly Thanks for the info. Just to confirm replacing Enquire_ASCENDING and Enquire_DESCENDING...
Xapian
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hi Olly

Thanks for the info. Just to confirm replacing Enquire_ASCENDING and  
Enquire_DESCENDING with 0 and 1 works fine.

Cheers

Martin

On 16 Mar 2006, at 08:46, Olly Betts wrote:

> On Thu, Mar 16, 2006 at 08:19:23AM +0000, Olly Betts wrote:
>> Anyway, I've just checked in code to fix the incorrect overload at
>> least. I'll look at the lack of error handling.
>
> I've sent a patch to the SWIG maintainers to fix the generated code to
> die with a PHP error is an overloaded function can't be resolved.
>
> Cheers,
>     Olly


_______________________________________________
Xapian-discuss mailing list
[email protected: Xapian-di...@lists.xapian.org]
http://lists.xapian.org/mailman/listinfo/xapian-discuss

spacer
Profile | Posts (4)
Home > People > Martin Hearn