AntonySJohn / INSI

AI based Text analysis tool to automate insights.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INSI

Text analysis tool to provide insights.

Automatically generates questions and answers from an input text to provide insights.

Built on top of :
Question Generator :Generates questions from input text.
tableQA :Applies the natural language queries to csv files.

Configuration

git clone https://github.com/abhijithneilabraham/INSI/

cd insi

Quickstart

Text insights

from insi import insi
nlp=insi()
text="A large number of cancer patients died.Many deaths were caused by stomach cancer."
nlp.get_results(text)
#{'How many cancer patients died?': 'a large number', 'How many deaths were caused by stomach cancer?': 'many'}

Improved insights with csvs

Using csv file(s) related to the text could help build more insights.The sample input csvs and schemas can be found in sample and schema respectively. Using a schema is optional.

nlp.get_results(text,csv_path,schema_path)

#{'How many cancer patients died?': [(2431,)], 'How many deaths were caused by stomach cancer?': [(179,)]}

About

AI based Text analysis tool to automate insights.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%