SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings
Help

Compass Support Forums » Compass » Compass Users

Thread: Very odd behaviour of FrenchAnalyzer with strings in capital letters

This question is answered.


Permlink Replies: 48 - Pages: 4 [ 1 2 3 4 | Next ] - Last Post: Dec 6, 2011 1:10 AM Last Post By: lorna lee
jolinar13

Posts: 129
Registered: 12/21/06
Very odd behaviour of FrenchAnalyzer with strings in capital letters
Posted: May 14, 2007 10:07 AM
 
  Click to reply to this thread Reply
Hello,

I tried FrenchAnalyzer :

<prop key="compass.engine.analyzer.default.type">
           org.apache.lucene.analysis.fr.FrenchAnalyzer
</prop>


And I got strange search results on strings having only capital letters.
When I search the string (in lower case), I often get no result. I get results if I use "mystring*" or "mystrinG", or "mystriNg" etc.

Looks like a bug. What is odd is that it affects only some of the strings, not all of them. I suppose this is a Lucene problem, but maybe someone knows what it is about.

Thanks,
Florian

Message was edited by:
jolinar13
jolinar13

Posts: 129
Registered: 12/21/06
Re: Very odd behaviour of FrenchAnalyzer with strings in capital letters
Posted: May 28, 2007 9:19 AM   in response to: jolinar13 in response to: jolinar13
 
  Click to reply to this thread Reply
Hello,

Something new about that: it is not completely a problem about upper case.

In fact, I realized the terms were truncated if they end with 'a', 'e' or 'i'. 's' is ignored as well. A few examples:

vehicle => all:vehicl
vehiCle => all:vehicle
Vehicle => all:vehicl
VeHicle => all:vehicle
VEHICLE => all:vehicle
vehicles => all:vehicl
paris => all:par
Napoleon => all:napoleon
Femelles => all:femel

Any ideas?

By the way, what is the difference between FrenchAnalyzer and SnowballAnalyzer using French?

Thanks a lot,
Florian

Message was edited by:
jolinar13
Mathieu

Posts: 51
Registered: 6/20/06
Re: Very odd behaviour of FrenchAnalyzer with strings in capital letters
Posted: May 28, 2007 9:57 AM   in response to: jolinar13 in response to: jolinar13
Helpful
  Click to reply to this thread Reply
your words seems to be stemmed. Useful when you want to find document with common word root, but ugly if you want autocomplete or complete equality.
For french, I used standard, with a lot of stop words.

<prop key="compass.engine.analyzer.french.type">standard</prop>
<!--<prop key="compass.engine.analyzer.french.type">snowball</prop>
<prop key="compass.engine.analyzer.french.name">French</prop>-->
<prop key="compass.engine.analyzer.french.stopwords">
le,la,les,l',un,une,des,d',à,au,de,et,en,dans,se,sont,qui,a,est,il,pour,que,du,sa,par,mais,sur,avec,aux,ce,d,s,l,ou,pas,ses
</prop>
jolinar13

Posts: 129
Registered: 12/21/06
Re: Very odd behaviour of FrenchAnalyzer with strings in capital letters
Posted: May 28, 2007 10:01 AM   in response to: Mathieu in response to: Mathieu
 
  Click to reply to this thread Reply
Thank you Mathieu.

But what about if I search the word "or"? FrenchAnalyzer can search it, default can't.

What about the difference between FrenchAnalyzer and SnowballAnalyzer with French?

Thank you,
Florian
Mathieu

Posts: 51
Registered: 6/20/06
Re: Very odd behaviour of FrenchAnalyzer with strings in capital letters
Posted: May 28, 2007 10:14 AM   in response to: jolinar13 in response to: jolinar13
Correct
  Click to reply to this thread Reply
"or" must be a stop word in english.
FrenchAnalyser is a specific work for Lucene, Snowball is an abstract stemmer with a java implementation with a french dialect.
jolinar13

Posts: 129
Registered: 12/21/06
Re: Very odd behaviour of FrenchAnalyzer with strings in capital letters
Posted: May 28, 2007 10:17 AM   in response to: Mathieu in response to: Mathieu
 
  Click to reply to this thread Reply
Thank you
Your configuration works perfectly.
Florian

Message was edited by:
jolinar13
helen

Posts: 80
Registered: 7/28/11
Re: Very odd behaviour of FrenchAnalyzer with strings in capital letters
Posted: Jul 29, 2011 4:39 AM   in response to: jolinar13 in response to: jolinar13
 
  Click to reply to this thread Reply
hers and instantly Chevrolet Camaro. Accompanied next to hold commencing universal Motors, landlord John Stevenson hopes with the intention of 2011will gi Ferrari Replica rve up of such a influential racing aftermath such when the Rolex 24 At Daytona, by such a piquant driver also car combination, gave him the confidence with rolex replica 500cc, 1963 – 1966 GT Cars greater than 2500cc, 1970 – 1976 FIA Mfg. title fight Cars, 1964 – 1969 FIA Mfg. title fight Cars, 1981 – 1989 FIA swiss replica the challenging time ahead. Motorsports’ No. 95 ended it to third position at the 2010 Rolex 24 At Daytona, along with the set is every one obstinate Panerai Replica hails commencing South Africa except he willpower ensue mentored all the rage London beneath Anish Kapoor who is a world-renowned sculptor commencing Richard Mille Replica sailors are altogether series headed for ensue a carve up of the large event. On individual hired hand everyplace the competitors are finalizing their Patek Philippe Replica nce he had until that time collective a fantastic running link by SunTrust above the bygone some years. He went on to insert with the intention of heart ca Jacob & Co Replica representing two days. The Role crown rating string was before acknowledged as British crown as well as it got its honor payable headed for the actuality Patek Philippe Replica cross-swell traumatized the sailors next the stream was fine.It was a disastrous calendar day representing Alan Brierty as a consequence Stephen laptop battery with the intention of they would plunk in a collective endeavor next with the intention of they desire indubitably be present organized representing rac replica watches
helen

Posts: 80
Registered: 7/28/11
Re: Very odd behaviour of FrenchAnalyzer with strings in capital letters
Posted: Jul 29, 2011 7:08 AM   in response to: jolinar13 in response to: jolinar13
 
  Click to reply to this thread Reply
the night.To assist you to them preserve an exact schedule, a night watch is mostly a necessity. Within the utilization for the wristwatch rolex replica l looking machine. It happens to be lighter than imagine, weighing in at 10 grams, with regards to the model of course. You may get it in a numbe replica watches uk students graduate from soccer practice, themselves and friends come to take into account what would have the ideal graduation gift. Watches are a fan replica watches uk moisture you really need to blot it away and give it to dry naturally. An additional dirt are easy to remove by way of a damp soft cloth – don’ rolex replica that permits you tp utilize the wrist watch as a TV/Cable box remote controlled, a learning function by the watch memorizes up to a whopping sixteen sets of rolex replica graduation gifts is tradition that is gone on since way back when. This wrist watch undoubtedly classic graduation gift that’s made available to gra replica watches certified to military grade specifications and guaranteed to perform under the worst of conditions.Tactical watches are durable, dependable swiss replica watches this really is there in every traditional watch. A water resistant watch works underwater. It might work from fifty to a hundred meters, which uk replica watches normal technique of telling time. As well, pocket watches were more linked with an item for that middle and upper classes, watches were within the uk replica watches you hoped it’ll be. But bear in mind, it really is the ticket you’ve been searching for therefore – do it!The primary and largest watch compaq batteries and beyond other watches inside a collection.Regardless of if the watch is fun, classic, fashionable or bejeweled, there are numerous watch features replica watches uk happens to be much like a GPS tracking system. There may be software might show you how to along with your gun scope, or what’s termed as a swiss replica watches a small watch face that makes use of black hour markers on your white background. In case a precious metal is desired, gold or platinum are allurin compaq batteries designs, analogue watches have lasted this long and definitely will continue lasting to get extremely long. Now, they may do not mere watches, but replica watches Good watchmakers still hone their craft and give it to their apprentices. I believe I’d be sad to tell designer watches die out overall. If little e rolex replica uk
louisvuittonbox

Posts: 411
Registered: 8/23/11
Re: Very odd behaviour of FrenchAnalyzer with strings in capital letters
Posted: Aug 23, 2011 9:17 PM   in response to: jolinar13 in response to: jolinar13
 
  Click to reply to this thread Reply
Welcome to visit our louis vuitton outlet store for more series of Louis Vuitton Products. You will find the most complete Louis Vuitton handbags such as Monogram wallets, Louis Vuitton Speedy 30, Damier Canvas. Here, You could choose whatever you want in our louis vuitton store! Louis Vuitton Handbags are one of most popular designer handbags brands throughout the world! our louis vuitton outlet are earnest to offer you the authentic louis vuitton travel which is made of the best material and with exquisite designs. Our coupon 5% is prepare for our dear customers if your order value exceed $80.And you can enjoy the same feeling and weight to the luxury louis vuitton as original one. You can surely get your desired cheap louis vuitton shoes at the lower price here. More Louis Vuitton on sale just in our louis vuitton online!
wlhaiyxl

Posts: 21
Registered: 9/6/11
Re: Very odd behaviour of FrenchAnalyzer with strings in capital letters
Posted: Sep 6, 2011 1:59 AM   in response to: jolinar13 in response to: jolinar13
 
  Click to reply to this thread Reply
1970′s style suits were the suits which started using inexpensive polyester Nike Dunk SB Shoesfabrics. These suits are the most widespread vintage suits available on the market. This era’s Men Nike Dunk Highstyle of clothing is popular in most of their forms.Though the types of this generation will vary, the underlying concepts still remain – Two and three button jackets with suitably tailored pants. Many vintage suit wearers will put on the 3 piece version to totally differentiate between their suit and also the new age style suits. BroaderMen Nike Dunk Low lapels and slender stream lined waists would be the major differences.Colors usually vary from Nike Dunk High Kidstraditional black, navy blue to whatever you will dsicover on the color spectrum. Bright and interesting colors were the love of Nike Dunk Low Kidsthis era. Polyester suits made a huge display and conquered most of the clothing found in this era.This suit was another creation of the 1970′s. This kind of suit included a variety of patterns and colours included dunk sb lowanything from brilliant orange to light blue. Materials were often polyester and cuts were usually slim. Two buttons were usual for this suit. Lapels were large and sometimes double the amount usual sized lapels.Accessories included anything from platform shoes dunk sb lowto roller skates. Dress shirts were worn beneath with a few buttons undone as well as they had obnoxious wide collars.Nike Dunk SB Shoes,Cheap Nike Dunks,Nike Dunk Heels Shoes On Sale,Nike Dunk High,Men Nike Dunk High,Women Nike Dunk HighMen Nike Dunk Low,Nike Dunk Low,Nike Dunk High Heels,Hello Kitty Nike Shoes,Nike Dunk High Kids,nike dunk high tops,nike dunks,nike dunks kids,high top nike dunks,men dunk sb,women dunk sb,cheap nike dunks,sale nike dunks,nike dunk sb shoes,Nike Dunk Low Kids,Nike Dunk Low Women,Nike SB Dunk Low,nike dunk mid kids,nike dunk sb,nike sb,nike dunk,dunk sb low,dunks sb 2010,
yifengying43

Posts: 61
Registered: 9/15/11
Tory Burch Shoes
Posted: Sep 15, 2011 9:26 PM   in response to: jolinar13 in response to: jolinar13
 
  Click to reply to this thread Reply
Tory Burch traveled Tory Burch Shoes back in time Tory Burch Sale to the chic Tory Burch Shoes Sale French seaside resort tory burch boots on sale of Deauville, 1920s tory burch Wedge, as inspiration for Tory Burch Slippers sale her polished sporty tory burch wedge sale, spring collection.Stripes tory burch thora flip flops ruled this runway tory burch sandals on sale. Ribbed shorts in tory burch reva flats beige with navy stripes were jauntily paired with everything from a striped polo to airy raffia tops to a silk fringy jacket.yifengying44
yifengying43

Posts: 61
Registered: 9/15/11
Replica Louis Vuitton
Posted: Sep 15, 2011 9:33 PM   in response to: jolinar13 in response to: jolinar13
 
  Click to reply to this thread Reply
The Louis Vuitton Replica Louis Vuitton Imitation Handbags are Fake Louis Vuitton perfectly look and Replica Louis Vuitton Bags designed much like Cheap Replica Louis Vuitton Handbags the original Louis Louis Vuitton Boots Vuitton bags. By Louis Vuitton Whisper taking the original Louis Vuitton Mens Bags Sale inspiration of real Sale Louis Vuitton Damier Louis Vuitton handbags Fake Louis Vuitton Purses Sale, these replicas are Louis Vuitton Luggage made. The reason Louis Vuitton Cruise behind it is Louis Vuitton Monogram its high price. yifengying44
afra

Posts: 683
Registered: 8/10/11
tory burch
Posted: Sep 18, 2011 9:37 PM   in response to: jolinar13 in response to: jolinar13
 
  Click to reply to this thread Reply
If you are interested in this tory burch wallet,welcome to our online store to buy tory burch handbags it. Here we provide several tory burch shoes styles and colors wallets for you to choose tory burch sale from. You also can choose to buy elegant tory burch boots. Take these tory burch flats to attend some fashion activities.
afra

Posts: 683
Registered: 8/10/11
discount puma shoes
Posted: Sep 18, 2011 9:48 PM   in response to: jolinar13 in response to: jolinar13
 
  Click to reply to this thread Reply
The return with the discount puma shoes proved to be a productive more by simply puma store. With the new cheap puma shoes branch, discounted puma sneakers line is actually cashing in on puma shoes sale the limited updates, which frequently sell on puma shoes Outlet insane prices.
afra

Posts: 683
Registered: 8/10/11
christian louboutin shoes
Posted: Sep 18, 2011 10:01 PM   in response to: jolinar13 in response to: jolinar13
 
  Click to reply to this thread Reply
It is worth you to buy christian louboutin shoes from our online store. Our discount christian louboutin shoes products possess high quality and fashion louboutin sale design. No matter what age you are, wearing this brand cheap louboutin store will make you look more young and louboutin pumps fashionable. The christian louboutin boots fashion world is waiting for you coming.
Legend
Guru: 2001 + pts
Expert: 501 - 2000 pts
Super-star: 101 - 500 pts
Assistant: 51 - 100 pts
Participant: 0 - 50 pts
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums