opendatatrentino / s-match

S-Match version for Open Data Trentino
GNU Lesser General Public License v2.1
4 stars 2 forks source link

allways get a "Syntax error detected at match. Expected ) but got AND #2

Closed gpapat26 closed 10 years ago

gpapat26 commented 10 years ago

Running the JUNIT on the c and w files I ve changed one of the files to something a little bigger .This is the culprit file. Any ideas? (It seems that long categories such as "Stationery gifts books newspapers" cause this error)

Categories 10pin 9pin abandoned Accommodation accountant adit administrative Administratively declared places aed Aerialway aerodrome Aeroway agricultural engines airfield alcohol allotments alpine hut ambulance station Amenity american football animal boarding animal shelter anime antiques apartments apron archaeological site archery architect arete art Art music hobbies arts centre artwork association athletics atm attraction australian football baby goods baby hatch badminton bag bakery bank bar bare rock barn barracks Barrier barriers on waterways base baseball basin basket maker basketball bathroom furnishing battlefield bay bbq beach beach resort beachvolleyball beacon beauty bed beekeeper bench beverages bicycle bicycle parking bicycle rental biergarten bird hide blacksmith block bmx boatbuilder boatyard bollard bookbinder books border control borough boules Boundary boundary stone boutique bowls boxing breakwater brewery bridge bridleway brothel brownfield buffer stop Building bump gate bunker bureau de change bus bus guideway bus station bus stop bus trap butcher cabin cable cable car cable distribution cabinet cables cafe camp site camping canadian football canal candles cannon canoe car car parts car rental car repair car sharing car wash caravan site carpenter carpet carpet layer castle caterer cathedral cattle grid cave entrance cemetery cereal bank chain chair lift chalet chapel charging station charity checkpoint chemist chess chimney church cinema circuits city city gate city wall civic Civic amenity clearcut cliff climbing clinic clock clockmaker clothes Clothing shoes accessories coastline college Commercial common community centre company computer confectionery construction construction continent convenience copyshop country county courthouse craft crane crematorium cricket cricket nets croquet crossing crypt curtain cutline cycle barrier cycleway cycling dam dance danger area debris deli dentist department store derail detached detour Discount store charity district disused ditch dive diving Do-it-yourself household goods building materials gardening products dock doctors dog park dog racing doityourself dormitory drag lift drain dressmaker drinking water drugstore dry cleaning Education educational institution electrician Electronics embankment embassy Emergency emergency access point employment agency Entertainment Arts & Culture entrance equestrian erotic escape estate agent ev charging fabric facilities falles farm farm auxiliary farmland farmyard fast food fell fence fencing ferry ferry terminal Financial fire extinguisher fire flapper fire hose fire hydrant fire station firepit fishing flagpole florist Food Beverages food court footway forest fort foundation fountain frame free flying fuel full-height turnstile funeral directors funicular furnace furniture Furniture and Interior gaelic games garage garages garden garden centre gardener gas gate general General store department store mall generator Geological gift give way glacier glaziery golf golf course gondola goods government grass grassland grave yard greengrocer greenhouse greenhouse horticulture grit bin groyne guard rail guest house gym gymnastics hackerspace hairdresser halt hamlet handicraft hangar hardware Health and Beauty Healthcare hearing aids heath hedge helipad herbalist hifi Highway hiking Historic hockey horse racing horse stile horseshoes hospital hostel hotel house hunting hunting stand hut hvac ice cream ice rink ice stock industrial information insulation insurance interior decoration island islet isolated dwelling it jersey barrier jeweller jewelry judo karting kent carriage gap kerb key cutter kiln kindergarten kiosk kissing gate kitchen korfball landfill Landuse lane laundry lawyer Leisure level crossing library Lifecycle lift gate light rail lighthouse line living street locality lock gate locksmith log mall Man Made man made waterways manor marina maritime marketplace massage meadow memorial metal construction Military mineshaft mini roundabout miniature miniature golf minor line mixed lift mobile phone money lender monitoring station monorail monument motel motor motorcycle motorcycle barrier motorway motorway junction motorway link mtb mud multi municipality museum music musical instrument narrow gauge national park Natural natural watercourses nature reserve naval base neighbourhood newsagent newspaper ngo nightclub nursing home Office opposite opposite lane opposite track optician orchard organic orienteering Other Other Other features Others outcrop outdoor Outdoors and Sport Vehicles paddle tennis paint painter palaeontological site paragliding park parking parking entrance parking position parking space parquet layer passing place pasture path Paths pawnbroker peak pedestrian pelota pet petroleum well pharmacy phone photographer photographic laboratory picnic site pier pipeline piste pitch place of worship Places plant plant nursery plasterer platform playground plumber pole police political political party Populated settlements urban Populated settlements urban and rural post box post office postal code pottery Power preserved primary primary link prison proposed protected area province pub public public building Public Transport pylon pyrotechnics quango quarry raceway racquet radiotechnics rail Railway railway range real estate agent realtor recreation ground recycling region religion research reservoir reservoir covered residential rest area restaurant retail retaining wall ridge rigger river riverbank road road Roads rock roof roofer rope roundhouse Route rowing rugby league rugby union ruins rune stone running runway saddle saddler sailmaker sally port salt pond sand sauna sawmill scaffolder school scree scrub scuba diving sculptor seafood or fish second hand secondary secondary link service services ses station share busway shared shared lane shed shelter ship shoemaker shoes shooting Shop shower sinkhole siren skateboard skating ski skiing slipway snow fence snow net soccer social centre social club social facility speed camera spikes Sport sports sports centre spring stable stadium stand builder state station stationery Stationery gifts books newspapers Stations and Stops steps stile stone stonemason stop stop position storage tank stream street lamp stripclub studio sub station suburb subway subway entrance sump buster sun protection supermarket surfing surveillance survey point Sustenance sweep swimming swimming pool swing gate swingerclub switch table tennis taekwondo tailor tattoo taxi taxiway team handball telecommunication telephone tennis terminal terrace tertiary tertiary link theatre theme park ticket tiler tinsmith tobacco toboggan toilets toll booth Tourism tower town townhall toys track track trade traffic signals train train station tram tram tram stop Transportation travel agent tree tree row trunk trunk link tunnel turning circle turning point turnstile turntable unclassified university upholsterer vacant vacuum cleaner variety store vending machine veterinary video video games viewpoint village village green vineyard volcano volleyball voltage wall warehouse waste disposal wastewater plant watchmaker water water park water point water ski water tank water tower water well water works watering place watermill Waterway wayside cross wayside shrine weightlifting weir wetland wilderness hut wildlife hide windmill window blind window construction windsock wires wood works wreck wrestling zoo

moazreyad commented 10 years ago

This is because of the known Issue https://github.com/opendatatrentino/s-match/issues/1, which happened after replacing Orbital library with AIMA.

For more details, see this note:

https://github.com/opendatatrentino/s-match/wiki/Replacing-Orbital-with-AIMA-in-S-Match

moazreyad commented 10 years ago

Not all long categories will produce an error. The only item that is not working in your list is "Populated settlements urban and rural".