Re: Lucene Hunpell Spell checker

2023-02-19 Thread Mikhail Khludnev
FIY, from what I saw there there was a `dictionary gap` - kind of incomplete dictionary files. Another question always makes me wonder: why there is no a hunspell based suggester, spellchecker in Lucene codebase? On Fri, Feb 17, 2023 at 11:23 AM Dawid Weiss wrote: > Can't open this repository,

Re: Lucene Hunpell Spell checker

2023-02-17 Thread Dawid Weiss
Can't open this repository, it's probably private. Dawid On Tue, Feb 14, 2023 at 2:42 PM Thanos Agelakpoulos wrote: > > Thanks for the response David ! > > I created a quick repo just to showcase, > https://github.com/aggelako/JavaSpellchecker > In there you can see how im using lucene, in the

RE: Lucene Hunpell Spell checker

2023-02-14 Thread Thanos Agelakpoulos
Thanks for the response David !  I created a quick repo just to showcase,  https://github.com/aggelako/JavaSpellchecker In there you can see how im using lucene, in the SpellChecker class/ the spellCheck function where im performing a spellcheck.I have also provided the dicts as resources. You

Lucene Hunspell Spell checker

2023-02-13 Thread Thanos Agelakpoulos
Hello, I'm trying to create a java-wrapper library to lang-detect and then spell check for the detected languages. I'm currently using Apache Tika as a lang detector and i'm trying to use lucene.analysis.hunspell package for spell-checking, as i've i seen it supports many languages.My issue is,

Re: Lucene Hunpell Spell checker

2023-02-13 Thread Dawid Weiss
It'd be good if you could share the problematic scenario as a piece of code (ideally a forked Lucene repository, with a test case?) so that we can take a look. There's been a ton of improvements to hunspell packages in Lucene 9 (and on the main branch) - you should take a look and perhaps take some

RE: Lucene Hunpell Spell checker

2023-02-13 Thread Thanos Agelakpoulos
*here

Lucene Hunpell Spell checker

2023-02-13 Thread Thanos Agelakpoulos
Hello, I'm trying to create a java-wrapper library to lang-detect and then spell check for the detected languages. I'm currently using Apache Tika as a lang detector and i'm trying to use lucene.analysis.hunspell package for spell-checking, as i've i seen it supports many languages.My issue is,

Re: Error configuring Spell Checker

2018-04-17 Thread Adrien Grand
This mailing-list is for questions about using Lucene as a Java library. You might want to try the solr-user mailing-list instead. Le lun. 16 avr. 2018 à 19:25, genel a écrit : > We've been using SOLR for quite awhile. I'm attempting to install spell > checking. > > I think I have the basic con

Error configuring Spell Checker

2018-04-16 Thread genel
We've been using SOLR for quite awhile. I'm attempting to install spell checking. I think I have the basic configuration correct, because the wordbreak component seems to work, but none of the others do. I consistently get an NPE error . java.lang.NullPointerException at org.apache.solr.han

Re: Spell check on a subset of an index ( 'namespace' aware spell checker)

2011-12-08 Thread E. van Chastelet
7;namespace' (as we call it). This can easily be achieved by using a filter or just an additional must-clause. For the spellchecker (and our autocompletion, which is a modified spellchecker), the story seems different. The spell checker index is created using a LuceneDictionary, which

Re: Spell check on a subset of an index ( 'namespace' aware spell checker)

2011-12-06 Thread Ian Lea
t; >> >> >> On 11/10/2011 01:16 PM, E. van Chastelet wrote: >>> >>> Hi all, >>> >>> In our project we like to have the ability to get search results scoped >>> to one 'namespace' (as we call it). This can easily be achieved b

Re: Spell check on a subset of an index ( 'namespace' aware spell checker)

2011-12-06 Thread E. van Chastelet
e 'namespace' (as we call it). This can easily be achieved by using a filter or just an additional must-clause. For the spellchecker (and our autocompletion, which is a modified spellchecker), the story seems different. The spell checker index is created using a LuceneDictionary, which h

Re: Spell check on a subset of an index ( 'namespace' aware spell checker)

2011-11-24 Thread E. van Chastelet
Thank you Mike, I have thought about that solution myself, but the problem with this approach is that the terms still need to be modified before building the dictionary that is feed to the spell checker. Also, the similarity scores which are used to determine the spell suggestions are

Re: Spell check on a subset of an index ( 'namespace' aware spell checker)

2011-11-23 Thread Michael Sokolov
ce' (as we call it). This can easily be achieved by using a filter or just an additional must-clause. For the spellchecker (and our autocompletion, which is a modified spellchecker), the story seems different. The spell checker index is created using a LuceneDictionary, which has a IndexR

Re: Spell check on a subset of an index ( 'namespace' aware spell checker)

2011-11-23 Thread E. van Chastelet
ed to one 'namespace' (as we call it). This can easily be achieved by using a filter or just an additional must-clause. For the spellchecker (and our autocompletion, which is a modified spellchecker), the story seems different. The spell checker index is created using a LuceneDictiona

Spell check on a subset of an index ( 'namespace' aware spell checker)

2011-11-10 Thread E. van Chastelet
tory seems different. The spell checker index is created using a LuceneDictionary, which has a IndexReader as source. We would like to get (spellcheck/autocomplete) suggestions that are scoped to one namespace (i.e. field 'namespace' should have a particular value). With a single sou

Re: spell checker across multiple fields

2011-03-09 Thread shrinath.m
Hi, can I know, if there is any improvement since 4 years ? Can we do that now in Lucene 3.0.3 ? -- View this message in context: http://lucene.472066.n3.nabble.com/spell-checker-across-multiple-fields-tp539392p2654706.html Sent from the Lucene - Java Users mailing list archive at Nabble.com

Spell Checker for Non English languages

2011-01-06 Thread Pulkit Singhal
Hello, I was wondering if anyone on this mailing list have ever compiled a list of algorithms for various non English languages that work well with the lucene-spellchecker contrib module? For example, with English using an spellchecker index built using ngrams and then searched using LevensteinDi

Re: Integrating Spell Checker contributed to Lucene

2008-03-26 Thread Ivan Vasilev
This is! Now I finally got it :) OK will use it only for test integration by now (if there will time for this :) ) and will expect the third patch. Have a nice time :) Ivan Mathieu Lecarme wrote: Ivan Vasilev a écrit : Thanks Mathieu, I tryed to checkout but without success. Anyway I can do

Re: Integrating Spell Checker contributed to Lucene

2008-03-26 Thread Mathieu Lecarme
Ivan Vasilev a écrit : Thanks Mathieu, I tryed to checkout but without success. Anyway I can do it manually, but as the contribution is still not approved from Lucene our chiefs will not whant it to be included to our project by now. It's a right decision. I hope the third patch will be good

Re: Integrating Spell Checker contributed to Lucene

2008-03-26 Thread Ivan Vasilev
Thanks Mathieu, I tryed to checkout but without success. Anyway I can do it manually, but as the contribution is still not approved from Lucene our chiefs will not whant it to be included to our project by now. OK Thanks once again :) Ivan PS: Here is the output from the SVN version win32-1.

Re: Integrating Spell Checker contributed to Lucene

2008-03-26 Thread Mathieu Lecarme
Ivan Vasilev a écrit : Thanks Mathieu for your help! The contribution that you have made to Lucene by this patch seems to be great, but the hunspell dictionary is under LGPL which the lawyer of our company does not like. It's the spell tool used by Openoffice and firefox. Data must be multi l

Re: Integrating Spell Checker contributed to Lucene

2008-03-26 Thread Ivan Vasilev
ackages out of it. If possible could you give a link from where to get these sources as they are? Best Regards, Ivan Mathieu Lecarme wrote: Ivan Vasilev a écrit : Hi Guys, Has anybody integrated the Spell Checker contributed to Lucene. http://blog.garambrogne.net/index.php?post/2008/03/07/A

Re: Integrating Spell Checker contributed to Lucene

2008-03-25 Thread Mathieu Lecarme
Ivan Vasilev a écrit : Hi Guys, Has anybody integrated the Spell Checker contributed to Lucene. http://blog.garambrogne.net/index.php?post/2008/03/07/A-lexicon-approach-for-Lucene-index https://issues.apache.org/jira/browse/LUCENE-1190 I need advise from where to get free dictionary file

Integrating Spell Checker contributed to Lucene

2008-03-25 Thread Ivan Vasilev
Hi Guys, Has anybody integrated the Spell Checker contributed to Lucene. I need advise from where to get free dictionary file (one that contains all words in English) that could be used to create instance of PlainTextDictionary class. I currently use for my tests responding files from Jazzy

Re: Re : Spell Checker Index

2007-01-20 Thread karl wettin
""" The problem with above code is every time I run the code it is indexing text in "content" field. { spellchecker.indexDictionary(newLuceneDictionary(reader,"content")); } Is there any way I could save the spell checker index

Re : Spell Checker Index

2007-01-20 Thread saikrishna venkata pendyala
de is every time I run the code it is indexing text in "content" field. { spellchecker.indexDictionary(newLuceneDictionary(reader,"content")); } Is there any way I could save the spell checker index and use it straight away.

Re: spell checker

2006-09-26 Thread Otis Gospodnetic
al Message From: Chris Salem <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Tuesday, September 26, 2006 4:56:57 PM Subject: spell checker Does anyone have sample code on how to build a dictionary? I found this article online and but it uses version 1.4.3 and it doesn't s

Re: spell checker

2006-09-26 Thread Chris Hostetter
t;[EMAIL PROTECTED]> : Reply-To: java-user@lucene.apache.org, Chris Salem <[EMAIL PROTECTED]> : To: java-user@lucene.apache.org : Subject: spell checker : : Does anyone have sample code on how to build a dictionary? : : I found this article online and but it uses version 1.4.3 and it doesn'

spell checker

2006-09-26 Thread Chris Salem
Does anyone have sample code on how to build a dictionary? I found this article online and but it uses version 1.4.3 and it doesn't seem to work on 2.0.0: http://today.java.net/pub/a/today/2005/08/09/didyoumean.html?page=1 Here's the code I have: indexReader = IndexReader.open(originalIndexDi

spell checker

2006-09-26 Thread Chris Salem
Does anyone have sample code on how to build a dictionary? I found this article online and but it uses version 1.4.3 and it doesn't seem to work on 2.0.0: http://today.java.net/pub/a/today/2005/08/09/didyoumean.html?page=1 Here's the code I have: indexReader = IndexReader.open(originalIndexDi

Re: spell checker with lucene

2006-09-26 Thread Bill Taylor
On Sep 26, 2006, at 8:50 AM, Bhavin Pandya wrote: Hi, Do anybody have idea for spell checker in java. I want to use with lucene...but which must work well for phrases also... -Bhavin pandya When I googled "java spell check open source" I found http://jazzy.sourceforge.net/ I h

Re: spell checker with lucene

2006-09-26 Thread karl wettin
On 9/26/06, Bhavin Pandya <[EMAIL PROTECTED]> wrote: Hi, Do anybody have idea for spell checker in java. I want to use with lucene...but which must work well for phrases also... You are welcome to try this: https://issues.apache.org/jira/browse/LUCENE-626 it is good with phrases, is t

Re: spell checker with lucene

2006-09-26 Thread Otis Gospodnetic
ubject: spell checker with lucene Hi, Do anybody have idea for spell checker in java. I want to use with lucene...but which must work well for phrases also... -Bhavin pandya - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

spell checker with lucene

2006-09-26 Thread Bhavin Pandya
Hi, Do anybody have idea for spell checker in java. I want to use with lucene...but which must work well for phrases also... -Bhavin pandya

spell checker across multiple fields

2006-05-08 Thread lostzen
Hello, I am trying to use the SpellChecker to suggest more popular search terms. It works great one only using one field, but what is the best way to make it work across multiple fields? I've already created my own version of a Dictionary (based on LuceneDictionary) which provides a dictionary o

Re: Use spell checker in lucene?

2005-11-02 Thread Otis Gospodnetic
Xin, Look for a Lucene-based spell checked in Lucene's contrib directory (in SVN). Otis --- Xin Herbert Wu <[EMAIL PROTECTED]> wrote: > Anyone plug-in a spell checker into lucene to implement google-like > function > "do you mean .?" for wrong spelled word or p

Use spell checker in lucene?

2005-11-02 Thread Xin Herbert Wu
Anyone plug-in a spell checker into lucene to implement google-like function "do you mean .?" for wrong spelled word or phrase? Also, which spell checker product is good? Thanks! -Xin