Saturday, October 02, 2021

JavaScript: AJAX Fetch HTML Page (Google Sheet), Display As Collapsible List

Library used: 1) jQuery

Read More

Saturday, September 25, 2021

Apps Script Example: doGet doPost fetchUrl

 

. . .
Read More

Tuesday, September 21, 2021

Error (Python) ModuleNotFoundError: No module named 'stemmer'



.

Error: 

ModuleNotFoundError: No module named 'stemmer'

.

Solution:

Run ...
pip install PyStemmer

.

https://stackoverflow.com/questions/49634536/python-stemmer-not-found

Read More

Design your own sentiment analysis tool

 .

While there are a lot of tools that will automatically give us a sentiment of a piece of text, we learned that they don't always agree! Let's design our own to see both how these tools work internally, along with how we can test them to see how well they might perform.

.

https://colab.research.google.com/github/littlecolumns/ds4j-notebooks/blob/master/sentiment-analysis-is-bad/notebooks/Designing%20your%20own%20sentiment%20analysis%20tool.ipynb

Read More

Error (Python, Windows) 'wget' is not recognized as an internal or external command

 .

‘wget’ is not recognized as an internal or external command – Windows Fix

If you get the following error on windows terminal (CMD / Command Prompt)


‘wget’ is not recognized as an internal or external command,

operable program or batch file.


Or in Git Bash sh: wget: command not found


What this simply means is, wget isn’t installed in your windows machine or it is, but hasn’t been added to Windows environmental path.


If you don’t have wget installed, download it from  here (32-bit) and here (64-bit).


Extract the files to a folder say C:\wget and then add the folder to Windows environmental path.


In some windows machines, the wget command will not be available until after a PC restart.

Read More

How to Build & Release Flutter app for iOS

 



TUTORIAL:

https://www.dripcoding.com/flutter-release-ios-app/

Read More

Flutter Authentication Using Google Sign-In & Firebase

 

TUTORIAL:

https://blog.codemagic.io/firebase-authentication-google-sign-in-using-flutter/

Read More

Building Flutter applications online

 


.

Build Apps Effortlessly

Building Flutter applications has never been easier.

NEXT STEP:

https://flutterflow.io/index.html

Read More

Complete Flutter Tutorial From Start Until Publishing To App Store

 


.

TUTORIAL:

https://proandroiddev.com/a-new-flutter-app-from-flutter-create-to-the-app-store-e6c2dee17c1a

Read More

Flutter With Firebase Authentication

 


TUTORIAL:


Read More

Download Keystore Maker Software

 

KeyStore Explorer

KeyStore Explorer is an open source GUI replacement for the Java command-line utilities keytool and jarsigner. KeyStore Explorer presents their functionality, and more, via an intuitive graphical user interface.

DOWNLOAD:

https://keystore-explorer.org/index.html


TUTORIAL:

https://headjack.io/tutorial/create-android-keystore-file/

Read More

Monday, September 20, 2021

Install NRC Lexicon from within Jupyter Notebook

 .

1.Upgrade Python version (if needed)

Expected output:



2.Install NRC Lexicon


Expected Output



Note: Even after the installation of NRC Lexicon, MissingCorpusError may occur while running programs. So it is recommended to also install textblob.download_corpora.

3.Install textblob.download_corpora (Recommended)


Expected Output

Read More

Thursday, August 05, 2021

Load Dataset Directly into Colab from anywhere on the Browser using CurlWget Extension

 .

Introduction

CurlWget Extension

Uploading data on Colab from any Website

Dealing with various file formats in Collaboratory

Save and reuse files without wasting the internet

If files are shared with you on gdrive

.

https://www.analyticsvidhya.com/blog/2021/08/load-dataset-directly-into-colab-from-anywhere-on-the-browser-using-curlwget-extension/

Read More

Tuesday, April 06, 2021

Text Processing in Python Text using NLTK and spaCy

  

.

The Internet has connected the world, while Social Media like Facebook, Twitter and Reddit provided the platform for people to express their opinions and feelings toward a topic. Then, the proliferation of smartphones increased the usage of these platforms directly. For instance, there are 96% or 2,240 million Facebook active users who used Facebook by smartphones and tablets [1].


The increment in the usage of Social Media has grown the size of text data, and boost the studies or researches in Natural Language Processing (NLP), for example, Information Retrieval and Sentiment Analysis. Most of the time, the documents or the text files to be analyzed are gigantic and contains a lot of noise, directly used raw texts for analysis is inapplicable. Hence, text processing is essential to provide clean input for modelling and analysis.


Text processing contains two main phases, which are tokenization and normalization [2]. Tokenization is the process of splitting a longer string of text into smaller pieces, or tokens [3]. Normalization referring to convert number to their word equivalent, remove punctuation, convert all text to the same case, remove stopwords, remove noise, lemmatizing and stemming.


Stemming — removing affixes (suffixed, prefixes, infixes, circumfixes), For example, running to run

Lemmatization — capture canonical form based on a word’s lemma. For example, better to good [4]

.

Text Processing with NLTK

0. Import all needed libraries

1. Tokenization

2. Normalization

a. Removing Stop words

b. Lemmatization

3. Obtain the Cleaned Tokens


Text Processing with spaCy

1. Tokenization + Lemmatization

2. Normalization

a. Removing Noise

b. Removing Stopwords

3. Obtain the Cleaned Tokens


FULL:

https://towardsdatascience.com/text-processing-in-python-29e86ea4114c


References:

[1] M. Iqbal, “Facebook Revenue and Usage Statistics (2020),” 8 March 2021. [Online]. Available: https://www.businessofapps.com/data/facebook-statistics/.

[2] M. Mayo, “A General Approach to Preprocessing Text Data,” 2017. [Online]. Available: https://www.kdnuggets.com/2017/12/general-approach-preprocessing-text-data.html. [Accessed 12 June 2020].

[3] D. Subramanian, “Text Mining in Python: Steps and Examples,” 22 August 2019. [Online]. Available: https://medium.com/towards-artificial-intelligence/text-mining-in-python-steps-and-examples-78b3f8fd913b. [Accessed 12 June 2020].

[4] M. Mayo, “Natural Language Processing Key Terms, Explained,” 2017. [Online]. Available: https://www.kdnuggets.com/2017/02/natural-language-processing-key-terms-explained.html.

[5] “Natural Language Processing In Julia (Text Analysis),” JCharisTech, 1 May 2018. [Online]. Available: https://jcharistech.wordpress.com/2018/05/01/natural-language-processing-in-julia-text-analysis/.

[6] D. Jurafsky and J. H. Martin, “Speech and Language Processing,” 3 December 2020. [Online]. Available: https://web.stanford.edu/~jurafsky/slp3/.

[7] M.F. Goh, “Text Normalization with spaCy and NLTK,” 29 November 2020. [Online]. Available: https://towardsdatascience.com/text-normalization-with-spacy-and-nltk-1302ff430119.


Read More

Tuesday, January 05, 2021