[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Natural language processing




> "Where can I find out about cheap air fares?"
> "What is the cheapest air fare I can get from Chicago to Orlando?"
> "How do I get cheap airline tickets?"

You don't need any NLP to get a Jeeves-like grok of those queries.
All you need is a list of stop words that filters them down to

cheap air fares
cheapest air fare Chicago Orlando
cheap airline tickets

and a pseudo-stemmer that further cooks it to

cheap air fare
cheap air fare Chicago Orlando
cheap airline ticket

-- 
 - - Martin "Kingpin" Thurn                    mthurn@tasc.com
     Research Software Engineer           (703) 793-3700 x2651
     The Information Refinery              http://tir.tasc.com
     TASC, Inc.                            http://www.tasc.com

I picked the feature set of perl because I thought they were cool features. I left the other ones behind because I thought they sucked. -- Larry Wall

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe