t;, 1,
1.4142135f, 0, 10);
assertNext(ts, reusableToken, "hello_tellus", 1, 1.4142135f, 0,
10);
assertNext(ts, reusableToken, "and_salutations_tellus", 1,
1.7320508f, 0, 10);
assertNext(ts, reusableToken, "salutations_tellus", 1,
1.4142135f, 0, 10);
t: Re: ShingleMatrixFilter for synonyms
Eric,
Unit tests should help you see how this can be used:
./contrib/analyzers/src/java/org/apache/lucene/analysis/shingle/ShingleF
ilter.java
./contrib/analyzers/src/java/org/apache/lucene/analysis/shingle/ShingleA
nalyzerWrapper.java
./contrib/analyzer
ene.apache.org
> Sent: Tuesday, January 13, 2009 2:39:11 PM
> Subject: ShingleMatrixFilter for synonyms
>
> Does anyone have an example using this?
>
>
>
> I have a SynonymEngine that returns a an array list of strings, some of
> which may be multiple words. How c
Does anyone have an example using this?
I have a SynonymEngine that returns a an array list of strings, some of
which may be multiple words. How can I incorporate this with my
SynonymEngine at index time?
Also, the javadoc for the ShingleMatrixFilter class says:
Without a spac