Skip to main content

Auto NLP Insights from text data

Project description

Auto NLP Insights


AutoNLPInsights extracts the Named Entities,Sentiments,Summary,KeyPhrases,Topics from the (Url/Plain Text/PDF Files ) and helps to visualize them (EDA) with one line of code.

DASH APP

img.png

Installation

pip install autonlpinsights

Visualization

from autonlpinsights import nlpinsights
# Any URL or Plain Text
data = 'https://www.cnbc.com/2021/08/06/doximity-social-network-for-doctors-full-of-antivax-disinformation.html'
nlpinsight = nlpinsights(data)

nlpinsight.cleanedtext

# WORDCLOUDS
nlpinsight.visualize_wordclouds()

# NGRAMS
nlpinsight.visualize_ngrams(ngram_value = 2,top_n=5)

# NAMED ENTITY TREE MAP
nlpinsight.visualize_namedentities()

# For Vizualizing Raw text with Named Entities  (Include spacy_fig = True)
nlpinsight.visualize_namedentities(spacy_fig = True) 

# SENTIMENTS (Pie with sentiment labels )
nlpinsight.visualize_sentiments()

# SENTIMENT TABLE (Sentences sorted with sentiment score along with labels)

nlpinsight.get_sentiment_df()

# SUMMARY(Top 5 sentences using Abstarctive Summarization)

nlpinsight.get_summary_table()

# Gensim Topic Modelling 

nlpinsight.visualize_topics(num_topics=3)

Meta Data

######Returns dictionary with all (Named Entities,Sentiments,Summary,KeyPhrases,Topics)

from autonlpinsights import nlpinsights
url = 'https://www.cnbc.com/2021/08/06/doximity-social-network-for-doctors-full-of-antivax-disinformation.html'
nlpinsight = nlpinsights(url)
# Returns dictionary with all (Named Entities,Sentiments,Summary,KeyPhrases,Topics)  
nlpinsight.get_full_nlpinsights()

Note: This is still in initial phase of Developement and will be adding more features soon

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autonlpinsights-0.0.1.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file autonlpinsights-0.0.1.tar.gz.

File metadata

  • Download URL: autonlpinsights-0.0.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.7

File hashes

Hashes for autonlpinsights-0.0.1.tar.gz
Algorithm Hash digest
SHA256 545121e343d393f3f6c7e3581e23b44853a17079253ee23b773f1bc8cfce4bba
MD5 ccbd3b4df6bd263c291dbf92bfaec65d
BLAKE2b-256 a3f09c47c3891308502de8a767ea6ed72336526bc16afb1a87731c800cd10f41

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page