Contact us
Contact us


A free, lightweight AI toolkit for Python.


Multifuntional toolkit

With tools for data mining, natural language processing, machine learning, network analysis, etc.


Textgain Academy offers hands-on Grasp training courses for interested OSINT researchers. It comes bundled with an optional data visualization engine (, 40KB) for rendering 2D graphics.

Free and lightweight

A free, lightweight AI toolkit for Python, with tools for data mining, natural language processing (NLP), machine learning (ML) and network analysis. It has 300+ fast and essential algorithms, with ~25 lines of code per function, self-explanatory function names, no dependencies, bundled into one well-documented file: (200KB).

Toolkits for data mining and NLP

Grasp is a multifunctional toolkit with tools for data mining, including downloading and processing html, finding ready-to-process wikipedia articles and twitter opinions, as well as easily deploying API’s. The natural language processing toolkit includes tools for language identification, finding words, sentences, and word types, as well as determining the polarity of a text.

Toolkits for network analysis and ML

Grasp’s network analysis toolkit includes seamless functions to map and visualise networks. The machine learning toolkit includes algorithms to quantify text, train models, and retrieve predictions. Machine Learning (ML) algorithms learn by example. If you show them 10K spam and 10K real emails (i.e., train a model), they can predict whether other emails are also spam or not. Each training example is a {feature: weight} dict with a label. For text, the features could be words, the weights could be word count, and the label might be real or spam.

Toolkits for good and comfort

A big concern in AI is bias introduced by human trainers. Grasp has tools to explain how & how and why a ML model makes decisions. Grasp also includes tools for comfort, such as efficient date, path, and CSV handling.

Textgain is proudly trusted by an extensive clientele to transform their businesses.

Want to discuss one of our products in more detail?

A short gettogether is always more enlightening.

Would our products be right for you? How could they help you? Just talk to one of our experts.

Get in touch with us!