web scraping – How to do a String Matching For a Web Scraped Text Document – Stack Overflow

25 Aug 2014 | Author: | Comments Off on web scraping – How to do a String Matching For a Web Scraped Text Document – Stack Overflow

How to do a String Matching For a Web Scraped Text Document

I have a text document which includes details about vehicle sales advertisements[classifieds]. I extracted those information from a website [web scraping].

Now i want to categorize those information into ‘Cars’. ‘Vans’, ‘Jeeps’, ‘Motor Cycles’, ‘Three Wheeler’, ‘Lorries’ etc. But i have no idea how to divide those information to these categorize. I searched string matching algorithms to do this thing. But couldn’t find a relevant method to do this.

And also i am unable to find a pattern to do a string matching. I am doing this in C# language. [Desktop Application].

Can anyone put a code to categorize these information. Please. This is little bit urgent.

Below is the text i have extracted from the website.

LUXURY VEHICLES FOR SALE

Peugeot 406 D9 2 litre manual (blue), full option, HZ series, agents maintained throughout, details contact: 071 4817020.

070893

UNREGISTERED VEHICLES – FOR SALE

Passo KGC30 Hana two units Silver Cream. 2010/12 1000cc W/Mirror, CD/DVD/TV R/Camera Scoop Light 4000 km. 0773126484.

068859

Swift ZC572S new model 1300cc Blue, push start W/mirriors R/camera thlitifunction CD/DVD/TV Bluetooth, 1000 km B/N condition. 0773126484.

068873

Vitz NSP130 new model Black 2011/12 1300cc push start W/mirror CD/DVD/TV R/camera body kit 3000 km. 077-3126484.

068898

CARS FOR SALE

Mercedes Benz 2000 C-200, compressor, jasper blue, one owner, full option, low mileage, mint condition. 4.2 M. 0771 730758, 0716 347347.

071326

Toyota Vim KB�� full option Auto gear 2003 Model registered owner excellent condition. Phone. 0112583930, 0722251930.

069131

TOYOTA CARS – FOR SALE

Axio 2008/06 KK-xxxx 1500cc low mileage Silver 1st owner Bambalapitiya. 0777286604, highest offer.

071540

Passo 2004, 1st owner, auto, KF-xxxx lady doctor driven, company maintained. contact 0779076038. 068497

Toyota Axio X grade 2007 November KN- direct imported full option with navigation, reverse camera mint condition. 0777288288, 0777863880.

067385

Toyota Belta 1000cc 2009 Dec. White colour full option mint condition KR12xx 14000 km done car. 3.7 Mil. Colombo 5. Contact 0777736200.

068189

Toyota Corolla 141 2007 brand new auto transmission 1st owner. KF-4 excellent condition. Contact 0773145318, 0718576742.

067813

Toyota Yaris KF-9XXX brand new permit 36000km green colour RGD 2008 for highest offer. Arround 3.6mn Kandy 0718173702.

061307

NISSAN CARS – FOR SALE

N16 JP xxxx manual 2004 Metallic Blue 1590 cc mint condition for the highest offer. 0778789325.

067276

MITSUBISHI CARS – FOR SALE

Mitsubishi Lancer GLX, CB 2, 18-xxxx, 1992 model, FF/AC P/steering, Radio / cassette, home delivered. 63/1, Railway Avenue, Nugegoda. 0722452020.

071306

MARUTI CARS – FOR SALE

Brand new 800 done only 5000 kilometres. Excellent, higest offer. 077 1559651.

068856

Suzuki A star 2010, KK-3xxx, blue, auto, full option, 23000 km, 22.0/=, Colombo. 077 1755129.

068119

Suzuki SX4 SUV Japanese, KJ 2xxx lady Doctor owned, only 24000 km. Light Green, original condition for quick sale. Battaramulla. 0777576060.

068598

VANS – FOR SALE

Toyota CR-51 1997 register 2001, GJ-xxxx original Diesel Auto 4 doors rotatable seat full seat cassette remote key White Liteace dual A/C highest offer. Maharagama. 0776123630.

Terios Jeep KJ-XXXX A white colored terios used by a lady doctor is for a sale. Price Rs 38,000,000/= 2007 made imported brand new in 2008. Auto gear. 21,000km mileage. 071-4487977

067391

M/CYCLES T/WHEELERS – FOR SALE

XU-0043 Yamaha Fazer 150cc brand new used few months. 0752852785. 067110

Tagged as:

Other articles of the category "Suzuki":

Twitter-news
Our partners
Follow us
Contact us
Our contacts

dima911@gmail.com

Born in the USSR

423360519

About this site

For all questions about advertising, please contact listed on the site.


Car Catalog with specifications, pictures, ratings, reviews and discusssions about cars