Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Mathieu Lecarme
I'm cool :) I just think you are overcomplicating things. Yes... I can use two words and OR Suposse I query on this The Lord of Rings: Return of King The Lord of Rings: Fellowship The Lord of Rings: The Two towers The Lord of Weapons The Lord of War Suposse an user search: "The Lord of Rings

Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Leandro
> > > > I'm cool :) I just think you are overcomplicating things. > > Yes... I can use two words and OR Suposse I query on this The Lord of Rings: Return of King The Lord of Rings: Fellowship The Lord of Rings: The Two towers The Lord of Weapons The Lord of War Suposse an user search: "The Lord o

Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Karl Wettin
Leandro skrev: Sorry, I missunderstood your question. See other reply. Yes I got it. thanks Are you sure about that? Did you benchmark? Can we see the results? Hey man take it easy, I just imagine. But I guess use the ShingleFilter will help. I'm cool :) I just think you are overcompli

Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Leandro
> Sorry, I missunderstood your question. See other reply. > Yes I got it. thanks > Are you sure about that? Did you benchmark? Can we see the results? Hey man take it easy, I just imagine. But I guess use the ShingleFilter will help.

Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Karl Wettin
Leandro skrev: 1º Why need I pass a Directory objecto (obligatory) on constructor of SpellChecker? Mainly because it is a nasty peice of code. But it does a good job. How can we suggest it (create an normal constructor without param) to the team? Sorry, I missunderstood your question. S

Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Karl Wettin
Mathieu Lecarme skrev: Le 8 avr. 08 à 18:34, Karl Wettin a écrit : dreampeppers99 skrev: 2º Suposse that in my dictonary I had these words: "The Lord of the Rings: The Two Towers" "The Lord of the Rings: The Fellowship of the Ring" "The Lord of the Rings: The Return of the King" I just want t

Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Leandro
> > Mainly because it is a nasty peice of code. But it does a good job. > > > Because spellChecker use a directory to store data. It can be FSDirectory, > RAMDirectory Perfect explanation... !!! So use the RAMDirectory is better (perfomatically) spell= new SpellChecker(FSDirectory.getDirect

Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Mathieu Lecarme
Le 8 avr. 08 à 18:34, Karl Wettin a écrit : dreampeppers99 skrev: 1º Why need I pass a Directory objecto (obligatory) on constructor of SpellChecker? Mainly because it is a nasty peice of code. But it does a good job. Because spellChecker use a directory to store data. It can be FSDirectory

Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Leandro
> > > 1º Why need I pass a Directory objecto (obligatory) on constructor of > > SpellChecker? > > > > Mainly because it is a nasty peice of code. But it does a good job. > Thanks. How can we suggest it (create an normal constructor without param) to the team? > > > 2º Suposse that in my dictona

Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Karl Wettin
dreampeppers99 skrev: 1º Why need I pass a Directory objecto (obligatory) on constructor of SpellChecker? Mainly because it is a nasty peice of code. But it does a good job. 2º Suposse that in my dictonary I had these words: "The Lord of the Rings: The Two Towers" "The Lord of the Rings: The

Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Leandro
Hi, I have two question about this GREAT tool.. (framework, library... "whatever") Well I decide put spell checker on my applications and I start to read some papers and "found out" the Lucene project... Anyway, I make it works, but I just want to know... 1º Why need I pass a Directory objecto (

Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Mathieu Lecarme
Use shingleFilter. I'm working on a wider SpellChecker, I'll post a third patch soon. https://admin.garambrogne.net/projets/revuedepresse/browser/trunk/src/java M. dreampeppers99 a écrit : Hi, I have two question about this GREAT tool.. (framework, library... "whatever") Well I decide put spe

Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread dreampeppers99
Hi, I have two question about this GREAT tool.. (framework, library... "whatever") Well I decide put spell checker on my applications and I start to read some papers and "found out" the Lucene project... Anyway, I make it works, but I just want to know... 1º Why need I pass a Directory objecto