FerreroJeremy / ln2sql

A tool to query a database in natural language
GNU General Public License v3.0
510 stars 200 forks source link

Make package more usable #28

Open shashank88 opened 7 years ago

shashank88 commented 7 years ago

This has multiple parts:

a) It should be easy to pip install to use.

i.e I just want to setup the sql file to use once (generally you don't have to change that once setup) and just query as:

query = Ln2sql.to_query(sentence)

b) Thinking about reasonable defaults. eg. english as default, specifying the db file once when initialising the class and then doing as in a)

rupinder1133 commented 5 years ago

Have a look at ln2sqlmodule to install via pip

pip install ln2sqlmodule