Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by Aaryamaan Kartha
4 articles
All types of ambiguities in NLP
Natural language can be open to multiple interpretations, creating challenges for computers trying to understand human input. Ambiguities arise when sentences can be interpreted in different ways due to context, grammar, or word meanings. In this article, we will explore the different types of ambiguities commonly found in Natural Language Processing (NLP). Part of Speech (POS) Tagging Ambiguity POS tagging classifies words as nouns, verbs, adjectives, etc. The same word can have multiple parts of speech depending on sentence context ? import nltk from nltk import word_tokenize, pos_tag # Download required NLTK data (run ...
Read MoreNLP language models_ What are they_ Example with N-grams
Language models in NLP are computational models that capture relationships between words and phrases to predict and generate text. They calculate the probability of the next word in a sequence and determine how likely an entire sequence of words is to occur naturally. These models power many everyday applications you use − autocomplete on your phone, grammar checkers, translation tools, and voice assistants. When your keyboard suggests the next word or corrects a typo, it's using probabilistic language models working behind the scenes. This article explores how language models work, focusing on N-gram models − one of the ...
Read MoreHow to extract numbers only from text strings in Google Sheet
Google sheets is a web based application that acts like a Software as a service in offering similar fundamental functionality to excel. With this functionality, we can accomplish many common spreadsheet tasks, and in this tutorial we will look into various ways of extracting just the numbers from text strings in google sheets. Using the REGEXEXTRACT Function Here we look at the simple case where the numbers are all sequential in one substring of the text given. Step 1 − Open google sheets and input all your texts into the respective cells. Step 2 − Use the REGEXEXTRACT function with the ...
Read MoreExtract initials from names in Excel
In this tutorial, we will be going over how to extract initials from cells in Microsoft Excel. This will involve use of combined functions in excel, and since there are slightly different ways to do this we will be going over both. Using Left, Find, and Mid Functions Together with & To understand this method we should go over how the 3 key functions work − The left function in excel will return the first characters (or characters if an amount is specified) of a cell. The find function will give the position index of a specified character ...
Read More