<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Paras Mal on Medium]]></title>
        <description><![CDATA[Stories by Paras Mal on Medium]]></description>
        <link>https://medium.com/@parasprajapat?source=rss-b56977258c5a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dH-8_o72F4XfkG0Ll16Vcw.jpeg</url>
            <title>Stories by Paras Mal on Medium</title>
            <link>https://medium.com/@parasprajapat?source=rss-b56977258c5a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:05:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@parasprajapat/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[NLP & NLP Libraries in Python]]></title>
            <link>https://parasprajapat.medium.com/nlp-nlp-libraries-in-python-ae6edcc00084?source=rss-b56977258c5a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae6edcc00084</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[nltk]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[nlp]]></category>
            <dc:creator><![CDATA[Paras Mal]]></dc:creator>
            <pubDate>Sat, 31 Oct 2020 11:56:28 GMT</pubDate>
            <atom:updated>2021-01-12T10:04:21.465Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*N867RoBYRLzcpYqA.jpeg" /></figure><p>An Overview of Python Libraries with NLP &amp; start with basic Natural Language Processing</p><p>Natural Language Processing (NLP) is a technique that makes human language intelligible to machines. NLP has the capability of understanding, analyzing, and extracting meaning from text and speech.</p><p>In General or in the terms of Data Science- NLP is the technique that converts unstructured text into numbers (Structured Data)based on use-cases.</p><p>Let’s understand the Text Classification use case:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FkwkD3mwXDz8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DkwkD3mwXDz8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FkwkD3mwXDz8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/eacd321e257149d2066142e52bcd2437/href">https://medium.com/media/eacd321e257149d2066142e52bcd2437/href</a></iframe><p>To start working with a problem like SCCMS we need to be familiar with some basic NLP Libraries</p><h3><strong>1. NLTK</strong></h3><blockquote><strong><em>Uses:</em></strong><em> Tokenization, POS, classification, NER, sentiment analysis, Tree Parser, access to corpora etc.</em></blockquote><p><strong>. Installation:</strong></p><p>pip install nltk</p><p><a href="https://pypi.org/project/nltk/">https://pypi.org/project/nltk/</a></p><p>· <strong>Download nltk data :</strong> nltk.download()</p><p><strong>· Download nltk data using proxy</strong>: <a href="https://www.nltk.org/data.html">https://www.nltk.org/data.html</a></p><p><strong>· Download nltk data manually</strong>: <a href="https://medium.com/@satorulogic/how-to-manually-download-a-nltk-corpus-f01569861da9">https://medium.com/@satorulogic/how-to-manually-download-a-nltk-corpus-f01569861da9</a></p><p><strong>· NLTK Examples:</strong> <a href="https://likegeeks.com/nlp-tutorial-using-python-nltk/">https://likegeeks.com/nlp-tutorial-using-python-nltk/</a></p><p><a href="https://www.datacamp.com/community/tutorials/text-analytics-beginners-nltk">https://www.datacamp.com/community/tutorials/text-analytics-beginners-nltk</a></p><h3>2. Fuzzy</h3><blockquote><strong><em>Uses: </em></strong><em>It’s calculate the string match and gives the similarity score between two strings.</em></blockquote><pre>&gt;&gt;&gt; fuzz.ratio(&quot;this is a test&quot;, &quot;this is a test!&quot;)&gt;&gt;&gt; fuzz.partial_ratio(&quot;this is a test&quot;, &quot;this is a test!&quot;)<br> 97 <br> 100</pre><p><strong>. Installation:</strong></p><p>pip install fuzzywuzzy</p><p>( <a href="https://pypi.org/project/fuzzywuzzy/">https://pypi.org/project/fuzzywuzzy/</a> )</p><p><a href="https://anaconda.org/conda-forge/fuzzywuzzy">https://anaconda.org/conda-forge/fuzzywuzzy</a> <strong>· Documentation:</strong> <a href="https://github.com/seatgeek/fuzzywuzzy">https://github.com/seatgeek/fuzzywuzzy</a> <strong>· Examples:</strong> <a href="https://towardsdatascience.com/natural-language-processing-for-fuzzy-string-matching-with-python-6632b7824c49">https://towardsdatascience.com/natural-language-processing-for-fuzzy-string-matching-with-python-6632b7824c49</a> <a href="https://stackoverflow.com/questions/10383044/fuzzy-string-comparison">https://stackoverflow.com/questions/10383044/fuzzy-string-comparison</a> <a href="https://marcobonzanini.com/2015/02/25/fuzzy-string-matching-in-python/">https://marcobonzanini.com/2015/02/25/fuzzy-string-matching-in-python/</a></p><h3>3. Word2vec</h3><blockquote><strong><em>Uses: </em>“Generate Similar”</strong><em> is a popular open source natural language processing (NLP) library used for unsupervised topic modeling. It uses top academic models and modern statistical machine learning to perform various complex tasks such as −</em></blockquote><ul><li>Building document or word vectors</li><li>Corpora</li><li>Performing topic identification</li><li>Performing document comparison (retrieving semantically similar documents)</li><li>Analysing plain-text documents for semantic structure</li></ul><p>Apart from performing the above complex tasks, Gensim, implemented in Python and Cython, is designed to handle large text collections using data streaming as well as incremental online algorithms. This makes it different from those machine learning software packages that target only in-memory processing.</p><p><strong>. Installation:</strong></p><p>pip install gensim ( <a href="https://pypi.org/project/gensim/">https://pypi.org/project/gensim/</a> )</p><p><a href="https://stackoverflow.com/questions/38739250/how-to-install-gensim-on-windows">https://stackoverflow.com/questions/38739250/how-to-install-gensim-on-windows</a> <a href="https://anaconda.org/anaconda/gensim">https://anaconda.org/anaconda/gensim</a> <strong>. Documentation:</strong> <a href="https://github.com/RaRe-Technologies/gensim/blob/develop/docs/notebooks/gensim%20Quick%20Start.ipynb">https://github.com/RaRe-Technologies/gensim/blob/develop/docs/notebooks/gensim%20Quick%20Start.ipynb</a> <strong>· gensim word2vec:</strong> <a href="https://github.com/MiguelSteph/word2vec-with-gensim">https://github.com/MiguelSteph/word2vec-with-gensim</a> <a href="https://github.com/harmanpreet93/train-word2vec/blob/master/train-word2vec.ipynb">https://github.com/harmanpreet93/train-word2vec/blob/master/train-word2vec.ipynb</a> <a href="https://github.com/topics/gensim-word2vec?o=asc&amp;s=stars">https://github.com/topics/gensim-word2vec?o=asc&amp;s=stars</a></p><h3>4. Textblob</h3><blockquote><strong><em>Uses: </em></strong><em>Tokenization, POS, NER, classification, sentiment analysis, spellcheck, parsing, translation and language detection</em></blockquote><p><strong>. Installation:</strong></p><p>pip install -U textblob ( <a href="https://textblob.readthedocs.io/en/dev/">https://textblob.readthedocs.io/en/dev/</a> )</p><p><strong>· Documentation:</strong> <a href="https://github.com/sloria/TextBlob/">https://github.com/sloria/TextBlob/</a> <strong>· Examples:</strong> <a href="https://www.analyticsvidhya.com/blog/2018/02/natural-language-processing-for-beginners-using-textblob/">https://www.analyticsvidhya.com/blog/2018/02/natural-language-processing-for-beginners-using-textblob/</a></p><h3>5. Tf-idf</h3><p>Tf-idf stands for<em> term frequency-inverse document frequency</em>. This weight is a statistical measure used to evaluate how important a word is to a document in a collection or corpus.</p><blockquote><strong><em>Uses: </em></strong><em>It’s convert your text into number format and gives high weight to important word and less weight to more frequient word. (Its make Embadding matrix for your text corpus)</em></blockquote><p><strong>· Documentation: </strong><a href="https://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.text.TfidfVectorizer.html">https://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.text.TfidfVectorizer.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae6edcc00084" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>