Bruno Rezende
2007-Oct-29 12:58 UTC
[Xapian-discuss] Runtime Error when using spell correct
Hi, I'm getting a runtime error when trying to use spell correct in sentences separated with a '-', like "wrongword-wrongword". It is related to fields where the position of terms are important. Attached there is a testcase that reproduces the problem (using xappy). It was tested with xapian revision 9420. -- regards, Bruno -------------- next part -------------- A non-text attachment was scrubbed... Name: test_spellcorrect.py Type: text/x-python Size: 1052 bytes Desc: not available Url : http://lists.tartarus.org/pipermail/xapian-discuss/attachments/20071029/7f62a747/test_spellcorrect.py
Richard Boulton
2007-Oct-29 15:02 UTC
[Xapian-discuss] Runtime Error when using spell correct
Bruno Rezende wrote:> I'm getting a runtime error when trying to use spell correct in sentences > separated with a '-', like "wrongword-wrongword". It is related to fields > where the position of terms are important. > > Attached there is a testcase that reproduces the problem (using xappy). It > was tested with xapian revision 9420.I've added this testcase to the xappy repository, and am taking a look now. -- Richard