Web App like Google

2005-07-11 Thread godwin
Hello there, I need some thoughts about a web application that i am dreaming and drooling about in python. I want a search page to look exactly like Google. But when i press the search button, it should search a database in an rdbms like Oracle and provide results. For example, i

Re: Web App like Google

2005-07-12 Thread Robert Kern
godwin wrote: > Hello there, > I need some thoughts about a web application that i am dreaming > and drooling about in python. I want a search page to look exactly like > Google. But when i press the search button, it should search a database > in an rdbms like Oracle and provide results. >

Re: Web App like Google

2005-07-12 Thread Graham Fawcett
In translating natural language to SQL, be sure you're not introducing opportunities for SQL injection attacks. Code like sql = 'SELECT %s FROM %s' % (this, that) is considered dangerous, because a well-crafted value for "that" can be used to, e.g., delete rows from your tables, run system com

Re: Web App like Google

2005-07-12 Thread Godwin
Thanks for informing me about NLTK. I'll certainly look into it and other options. Hope my dream doesn't go into the graves. Godwin Burby -- http://mail.python.org/mailman/listinfo/python-list

Re: Web App like Google

2005-07-12 Thread Godwin
Thanks for providing me with all those informative links about NLTK nad CNL. I'll certainly look into it. -- http://mail.python.org/mailman/listinfo/python-list

Re: Web App like Google

2005-07-13 Thread Godwin
Thanks for making me aware of the security loophole of the web app i am planning. Godwin Burby -- http://mail.python.org/mailman/listinfo/python-list

Re: Web App like Google

2005-07-13 Thread gene tani
a good text indexer will help, look at lupy, pyndex, xapian etc http://www.pypackage.org/packages/python-pyndex http://www.divmod.org/Home/Projects/Lupy/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Web App like Google

2005-07-13 Thread gene tani
Yes, there's a lot of issues, cross-site scripting, session hijacking, proper authentication, etc. Open Web App Security Project is useful www.owasp.org Also, before you start with NLP and full-on parsers, think about if you can apply a text indexer, stemming and stopping both your user's queri

Re: Web App like Google

2005-07-13 Thread Godwin
Actually i went through the NLTK site tutorials and it has a steep learning curve associated with it. Well if i can learn it, it will be the best fit module for my app. But if it gets hard, i'll definitely opt for the text indexers u gratefully pointed to me. Thanks. -- http://mail.python.org/mai

Re: Web App like Google

2005-07-13 Thread gene tani
Good luck, report back. My canonical 1st step w/stuff that looks like NLP, is to flip thru the Jurafsky/Martin and Norvig Russell AI texts and identify paths of least resistance, like naive Bayesian or LSI, that have perl/python/ruby/C packages that i can thrash around in with my data . some othe