0% found this document useful (0 votes)
13 views11 pages

Ai Applications Unit-1

Uploaded by

LAVANYA SISTA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views11 pages

Ai Applications Unit-1

Uploaded by

LAVANYA SISTA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

UNIT - I

Linguistic aspects of natural language processing, A.I. And Quantum Computing, Applications of Artificial
Intelligence (AI) in business

Linguistic aspects of natural language processing:

Natural Language Processing (NLP) is a field that combines computer science, artificial intelligence and language
studies. It helps computers understand, process and create human language in a way that makes sense and is
useful. With the growing amount of text data from social media, websites and other sources, NLP is becoming a
key tool to gain insights and automate tasks like analyzing text or translating languages.

NLP is used by many applications that use language, such as text translation, voice
recognition, text summarization and chat bots. You may have used some of these applications yourself, such as
voice-operated GPS systems, digital assistants, speech-to-text software and customer service bots. NLP also helps
businesses improve their efficiency, productivity and performance by simplifying complex tasks that involve
language.

NLP Techniques:

NLP encompasses a wide array of techniques that aimed at enabling computers to process and understand
human language. These tasks can be categorized into several broad areas, each addressing different aspects of
language processing. Here are some of the key NLP techniques:

1. Text Processing and Preprocessing:

Tokenization: Dividing text into smaller units, such as words or sentences.

Stemming and Lemmatization: Reducing words to their base or root forms.

Stop word Removal: Removing common words (like "and", "the", "is") that may not carry significant meaning.

Text Normalization: Standardizing text, including case normalization, removing punctuation and correcting
spelling errors.

2. Syntax and Parsing:

Part-of-Speech (POS) Tagging: Assigning parts of speech to each word in a sentence (e.g., noun, verb, adjective).

Dependency Parsing: Analyzing the grammatical structure of a sentence to identify relationships between words.

Constituency Parsing: Breaking down a sentence into its constituent parts or phrases (e.g., noun phrases, verb
phrases).

3. Semantic Analysis:

Named Entity Recognition (NER): Identifying and classifying entities in text, such as names of people
organizations, locations, dates, etc.

Word Sense Disambiguation (WSD): Determining which meaning of a word is used in a given context.

Coreference Resolution: Identifying when different words refer to the same entity in a text (e.g., "he" refers to
"John").

4. Information Extraction:

Entity Extraction: Identifying specific entities and their relationships within the text.

Relation Extraction: Identifying and categorizing the relationships between entities in a text.
5. Text Classification in NLP:

Sentiment Analysis: Determining the sentiment or emotional tone expressed in a text (e.g., positive, negative,
neutral).

Topic Modeling: Identifying topics or themes within a large collection of documents.

Spam Detection: Classifying text as spam or not spam.

6. Language Generation:

Machine Translation: Translating text from one language to another.

Text Summarization: Producing a concise summary of a larger text.

Text Generation: Automatically generating coherent and contextually relevant text.

7. Speech Processing:

Speech Recognition: Converting spoken language into text.

Text-to-Speech (TTS) Synthesis: Converting written text into spoken language.

8. Question Answering:

Retrieval-Based QA: Finding and returning the most relevant text passage in response to a query.

Generative QA: Generating an answer based on the information available in a text corpus.

9. Dialogue Systems:

Chat bots and Virtual Assistants: Enabling systems to engage in conversations with users, providing responses
and performing tasks based on user input.

10. Sentiment and Emotion Analysis in NLP:

Emotion Detection: Identifying and categorizing emotions expressed in text.

Opinion Mining: Analyzing opinions or reviews to understand public sentiment toward products, services or
topics.

Working in NLP:

Working in natural language processing (NLP) typically involves using computational techniques to analyze and
understand human language. This can include tasks such as language understanding, language generation and
language interaction.

1. Text Input and Data Collection

Data Collection: Gathering text data from various sources such as websites, books, social media or proprietary
databases.

Data Storage: Storing the collected text data in a structured format, such as a database or a collection of
documents.

2. Text Preprocessing

Preprocessing is crucial to clean and prepare the raw text data for analysis. Common preprocessing steps include:

Tokenization: Splitting text into smaller units like words or sentences.

Lowercasing: Converting all text to lowercase to ensure uniformity.


Stop word Removal: Removing common words that do not contribute significant meaning, such as "and," "the,"
"is."

Punctuation Removal: Removing punctuation marks.

Stemming and Lemmatization: Reducing words to their base or root forms. Stemming cuts off suffixes, while
lemmatization considers the context and converts words to their meaningful base form.

Text Normalization: Standardizing text format, including correcting spelling errors, expanding contractions and
handling special characters.

3. Text Representation

Bag of Words (BoW): Representing text as a collection of words, ignoring grammar and word order but keeping
track of word frequency.

Term Frequency-Inverse Document Frequency (TF-IDF): A statistic that reflects the importance of a word in a
document relative to a collection of documents.

Word Embeddings: Using dense vector representations of words where semantically similar words are closer
together in the vector space (e.g., Word2Vec, GloVe).

4. Feature Extraction

Extracting meaningful features from the text data that can be used for various NLP tasks.

N-grams: Capturing sequences of N words to preserve some context and word order.

Syntactic Features: Using parts of speech tags, syntactic dependencies and parse trees.

Semantic Features: Leveraging word embeddings and other representations to capture word meaning and
context.

5. Model Selection and Training

Selecting and training a machine learning or deep learning model to perform specific NLP tasks.

Supervised Learning: Using labeled data to train models like Support Vector Machines (SVM), Random Forests or
deep learning models like Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs).

Unsupervised Learning: Applying techniques like clustering or topic modeling (e.g., Latent Dirichlet Allocation) on
unlabeled data.

Pre-trained Models: Utilizing pre-trained language models such as BERT, GPT or transformer-based models that
have been trained on large corpora.

6. Model Deployment and Inference

Deploying the trained model and using it to make predictions or extract insights from new text data.

Text Classification: Categorizing text into predefined classes (e.g., spam detection, sentiment analysis).

Named Entity Recognition (NER): Identifying and classifying entities in the text.

Machine Translation: Translating text from one language to another.

Question Answering: Providing answers to questions based on the context provided by text data.

7. Evaluation and Optimization


Evaluating the performance of the NLP algorithm using metrics such as accuracy, precision, recall, F1-score and
others.

Hyper parameter Tuning: Adjusting model parameters to improve performance.

Error Analysis: Analyzing errors to understand model weaknesses and improve robustness.

Linguistic aspects of natural language processing:

Natural Language Processing (NLP) heavily relies on linguistics for its understanding and development. This field
draws upon linguistic theories and techniques to analyze and interpret human language, enabling computers to
understand, generate, and manipulate text and speech effectively.

Components of NLP:

There are two components of NLP:

Natural Language Understanding (NLU) and Natural Language Generation (NLG).

Natural Language Understanding (NLU) which involves transforming human language into a machine-readable
format. It helps the machine to understand and analyze human language by extracting the text from large data
such as keywords, emotions, relations, and semantics.

Natural Language Generation (NLG) acts as a translator that converts the computerized data into natural
language representation. It mainly involves Text planning, Sentence planning, and Text realization.

The NLU is harder than NLG.

Steps in NLP:

There are general five steps:

 1. Lexical Analysis

 2. Syntactic Analysis (Parsing)

 3. Semantic Analysis

 4. Discourse Integration

 5. Pragmatic Analysis

Lexical Analysis: This involves analyzing individual words and their meanings. NLP uses lexical analysis to identify
parts of speech, meaning of words (lexemes), and how words relate to each other.

Syntactic Analysis: This focuses on the grammatical structure of sentences, ensuring words are arranged
correctly and relationships between words are understood.
Semantic Analysis: This delves into the meaning of words, phrases, and sentences, considering both literal and
figurative meanings.

Discourse Analysis: This examines how sentences and phrases relate to each other within a larger context,
considering how the flow of language creates meaning.

Pragmatic Analysis: This interprets the intended meaning of language, taking into account the context, speaker's
intentions, and real-world knowledge.

Phonology: This studies the sounds of language, including how they are produced, and how they differ across
languages. NLP may use phonetic information for speech recognition.

Morphology: This analyzes the internal structure of words, including prefixes, suffixes, and roots. NLP uses
morphology to identify word forms and their relationships.

Cross-linguistic Analysis: NLP is concerned with how language varies across different languages. It can leverage
insights from linguistic theories to develop models that work well with a variety of languages.

Lexical Analysis:

 The first phase of NLP is the Lexical Analysis.


 This phase scans the source code as a stream of characters and converts it into meaningful lexemes.
 It divides the whole text into paragraphs, sentences, and words.
 Lexeme: A lexeme is a basic unit of meaning. In linguistics, the abstract unit of morphological analysis
that corresponds to a set of forms taken by a single word is called lexeme.
 The way in which a lexeme is used in a sentence is determined by its grammatical category.
 Lexeme can be individual word or multiword.
 For example, the word talk is an example of an individual word lexeme, which may have many
grammatical variants like talks, talked and talking.
 Multiword lexeme can be made up of more than one orthographic word. For example, speak up, pull
through, etc. are the examples of multiword lexemes.

Syntax Analysis (Parsing):

 Syntactic Analysis is used to check grammar, word arrangements, and shows the relationship among the words.
 The sentence such as “The school goes to boy” is rejected by English syntactic analyzer.

Semantic Analysis:

 Semantic analysis is concerned with the meaning representation.


 It mainly focuses on the literal meaning of words, phrases, and sentences.
 The semantic analyzer disregards sentence such as “hot ice-cream”.
 Another Example is “Manhattan calls out to Dave” passes a syntactic analysis because it’s a grammatically
correct sentence. However, it fails a semantic analysis.
 Because Manhattan is a place (and can’t literally call out to people), the sentence’s meaning doesn’t make
sense.

Discourse Integration:

 Discourse Integration depends upon the sentences that precedes it and also invokes the meaning of the
sentences that follow it.

 For instance, if one sentence reads, “Manhattan speaks to all its people,” and the following sentence reads, “It
calls out to Dave,” discourse integration checks the first sentence for context to understand that “It” in the latter
sentence refers to Manhattan.
Pragmatic Analysis:

 During this, what was said is re-interpreted on what it actually meant.


 It involves deriving those aspects of language which require real world knowledge.
 For instance, a pragmatic analysis can uncover the intended meaning of “Manhattan speaks to all its people.”
 Methods like neural networks assess the context to understand that the sentence isn’t literal, and most people
won’t interpret it as such.
 A pragmatic analysis deduces that this sentence is a metaphor for how people emotionally connect with place.

A.I. And Quantum Computing:

AI and quantum computing is the combination of AI's ability to synthesize results from vast amounts of data and
quantum's supercharged computing power that promises to be truly revolutionary.

The pairing could lead to unprecedented advancements across a host of sectors from healthcare, via accelerated
drug discovery, to energy production, where optimization could deliver sustainability breakthroughs.

Quantum computing fundamentals:

Quantum computing uses the principles of quantum mechanics to perform calculations and simulations
exponentially faster and more accurately than classical digital (or binary) computing. Use cases for the technology
should prove plentiful, though practical application has so far focused on three main areas:

 Advancements in quantum computing technology itself (e.g., mathematics, physics, and technical
developments).
 Natural sciences, including simulations and process research (e.g., behaviors of atomic particles and
biological processes).
 Problems related to novel and complex search and its optimization (e.g., portfolio optimization problems,
insurance, and credit risk).

How quantum computing works:

In a world of classical (or binary) computing, where information is stored and processed using bits as the primary
unit, Each bit can be either a 0 (off) or a 1 (on) and processing occurs serially, one step after another, though
multiple serial operations can happen in parallel.

Quantum computing's fundamental difference is its use of quantum bits, or qubits, as the primary unit.

Qubits can represent (or store) and process more complex information than a classical bit because of two
quantum phenomena, called superposition and entanglement.

Superposition is a fundamental property of quantum mechanics that describes the ability of qubits to be in
several states at the same time. This ability (compared to the 0 or 1 state of a classical bit) enables quantum
computing to simultaneously process a vastly greater number of possibilities than binary computing.

Entanglement describes the phenomena of qubits becoming coupled in such a way that the state of one qubit
instantly affects the state of its entangled partners, regardless of their distance apart. This offers two major
benefits to computing: it can protect communication and cryptography by detecting any efforts to intercept or
listen in on transmissions; and, because entangled qubits can be manipulated collectively, it allows parallel
processing of information that is beyond the ability of classical computing and its binary bits.
The state of quantum computing:

Quantum computing is predominantly at an experimental and developmental phase, but it is moving out of
university physics laboratories and into commercial research and development facilities.

The potential of AI and quantum computing:

The convergence of AI and quantum computing promises to be revolutionary. Across a host of industries the
technologies could solve problems that due to complexity or their inherent nonlinearity are currently intractable
for classical computers.

Applications of AI and quantum computing:

Healthcare (drug discovery):

Quantum computing's ability to simulate quantum systems should aid the understanding of molecule and
material behavior, with particular benefits for materials sciences, including in the complex and time-consuming
process of drug discovery. AI can analyze vast datasets to identify potential drug candidates, predict their effects,
and optimize clinical trials. Quantum computing enabled simulations should enhance this process, leading to
more accurate predictions of drug efficacy and safety.

Financial services:

AI is transforming financial services by enabling better risk assessment, fraud detection, increasing process
automation, and personalizing customer experiences. Quantum computing should enable greater complexity and
thus optimization of financial models, and improved accuracy in risk analysis. For instance, quantum algorithms
can improve portfolio optimization and trading strategies and simulations, leading to more efficient and
potentially more profitable financial operations. They should also prove adept at simulating risks that may occur
simultaneously, systematic risks, and risk relationships that might otherwise go unseen.

Supply chain management:

AI can be used in demand prediction, to optimize inventory, and improve logistics. Quantum computing can
tackle the complexity of supply chain networks by solving optimization problems faster and more accurately. For
example, quantum algorithms could be used to optimize delivery routes, reducing fuel consumption and delivery
times to provide cost savings and environmental benefits.
Energy:

AI can optimize energy consumption, predict equipment failures, and manage smart grids. Quantum computing
can provide further gains by optimizing energy production and distribution networks. For instance, quantum
algorithms can improve the efficiency of renewable energy sources, by optimizing the placement of turbines and
panels (including dynamically, i.e., moving solar panels automatically to optimize solar exposure).

Cyber security:

Quantum computing and AI pose both opportunities and challenges for cyber security. Quantum computers can
potentially break current public-key encryption methods but should also enable the development of quantum-
resistant encryption techniques. AI can enhance cyber security by detecting and mitigating threats in real-time.

Risks from AI and quantum computing:

The commercial implementation of AI and quantum computing remains at a developmental and planning phase.
Our understanding of its implications will evolve with use, but there is an evident need to be aware of the risks
that may emerge as we move to adoption.

Automated vulnerability discovery and exploitation: AI combined with quantum computing could be used to
scan networks and systems for vulnerabilities at unprecedented rates, enabling attackers to exploit weaknesses
before they can be patched.

Phishing and deepfakes: Attackers can use AI to generate highly convincing and personalized phishing emails.
Manipulated videos and images could be used for disinformation campaigns or to impersonate individuals for
malicious purposes. These types of attacks are present now but will become more sophisticated as AI and
quantum technology evolves.

Privacy:

AI feeds on vast amounts of data, and quantum computing provides unprecedented processing speed. As these
systems are combined and develop, so will their ability to infer sensitive information from seemingly innocuous
data, potentially exposing individuals and companies to privacy breaches and identity theft.

Environmental:

AI and quantum computing will lead to advanced language models, deep learning models, and deep learning
solutions, all of which will require significant energy. Widespread implementation of these technologies, without
careful management, could raise potentially severe environmental, sustainability, and health-related concerns.

Bias:

Quantum computing powered machine learning algorithms that generate and work with inaccurate predictions
and data could become endemic if algorithms are not carefully designed to be free of prejudice, gender
discrimination, and other biases.

Digital repression:

AI and quantum computing’s ability to process vast amounts of data at incredible speeds will boost surveillance
technologies' capabilities. That creates the potential for sophisticated and invasive analysis of personal behaviors
and social interactions, including real-time monitoring, social and financial classification, and sorting and scoring
of individuals at an increasingly granular level.
Applications of Artificial Intelligence (AI) in business:

From optimizing marketing campaigns to predicting equipment failure, artificial intelligence empowers
businesses to make data-driven decisions, improve efficiency, and gain a competitive edge. Its applications span
across departments, from sales and marketing to product development and security, ultimately aiming to
streamline operations and unlock new possibilities for growth.

Artificial intelligence (AI) refers to the ability of machines to mimic human cognitive functions like learning and
problem-solving. AI is a broad field encompassing various technologies that enable machines to analyze data and
identify patterns, learn, and improve over time, make predictions, automate tasks, and recognize and respond to
patterns.

In the business world, AI is being used to boost sales with personalized recommendations, fight financial fraud,
improve customer service, optimize manufacturing processes, and much more!

Artificial intelligence is transforming businesses by automating repetitive tasks, analyzing vast amounts of data
for valuable insights, and personalizing the customer experience. The following list explores the most common
applications of artificial intelligence in business.

Automating Repetitive Tasks:

AI excels at automating repetitive tasks that are time-consuming and error-prone for humans. This includes things
like data entry, customer service inquiries, report generation, and scheduling. By automating these tasks, AI frees
up human employees to focus on strategic work.

Example: A large customer service department for an online retailer receives hundreds of emails daily with
inquiries about order status, returns, and basic product information. Manually responding to each email can be
time-consuming and repetitive for customer service representatives. The company implements an AI-powered
chatbot system. This chat bot can handle a significant portion of these inquiries automatically.

Data Analytics & Insights:

Businesses generate massive amounts of data daily. AI can analyze this data to identify trends, patterns, and
anomalies that would be difficult for humans to see. These insights can be used to improve decision-making
across all areas of the business, from marketing and sales to product development and operations.

Example: A streaming service provider has a massive library of content and millions of users. Understanding user
preferences and viewing habits is crucial for optimizing their platform and recommending content that keeps
users engaged. The streaming service employs AI-powered recommendation engines. The AI analyzes user data,
including viewing history, search queries, demographics, and ratings, identifies patterns and trends in user
behavior to understand what types of content specific users are most likely to enjoy. And based on these insights,
the AI recommends personalized content suggestions for each user.

Customer Service & Personalization:

AI-powered chatbots can provide 24/7 customer service, answer frequently asked questions, and resolve simple
issues. Additionally, AI can be used to personalize the customer experience by tailoring recommendations,
content, and offers to individual customer preferences.

Example: CNH Industrial, a leading global capital goods company, invested in AI chat bots. The AI platform is
responsible for taking calls that are considered simple. Since implementing the platform, there’s been a 10%
reduction in the volume of calls to the help desk and an 80% reduction in the response time for opening tickets.
Predictive Maintenance:

AI can be used to monitor equipment and predict when it is likely to fail. This allows businesses to take proactive
steps to prevent downtime and costly repairs. This application is particularly valuable in industries like
manufacturing and transportation.

Example: A manufacturing plant relies on a fleet of industrial robots for production. Regular maintenance is
crucial to avoid unexpected breakdowns that could halt production and cost the company significant money. The
company implements an AI-powered predictive maintenance system. Sensors are installed on the robots to
collect data on various parameters like vibration, temperature, and motor current. Algorithms analyze the sensor
data in real-time, and by identifying patterns and anomalies in the data, the AI can predict potential equipment
failures before they occur.

Marketing & Sales Optimization:

AI can identify the most promising leads, personalize marketing campaigns, and optimize pricing strategies. AI can
also analyze customer behavior to predict future purchases and recommend relevant products or services.

Example: An e-commerce company sells a wide variety of athletic wear. Their marketing previously relied on
email blasts and social media ads, leading to limited engagement and conversions. The company incorporates AI-
powered chat bots and personalization tools into their marketing strategy.

Their website chat bot can answer customer questions about products, sizes, and promotions 24/7. Using natural
language processing (NLP), the chat bot understands customer queries and provides relevant information or
directs them to helpful resources.

The company leverages AI to analyze customer purchase history, browsing behavior, and demographics. Based on
this data, the AI personalizes email recommendations and website product displays for each customer. For
instance, a customer who frequently buys running shoes might see targeted ads for new running apparel.

Risk Assessment & Fraud Detection:

AI can be used to analyze data from transactions and identify patterns that may indicate fraudulent activity,
helping businesses protect themselves from financial losses and improve their overall security posture.

Example: Banks use AI to analyze millions of transactions daily. By learning spending habits and identifying
unusual patterns (large purchases out of state, frequent ATM withdrawals at odd hours), AI can flag potentially
fraudulent activity before it happens. This helps prevent financial losses and protects both the bank and its
customers.

Product Development & Innovation

AI can be used to analyze customer data and feedback to identify new product ideas. It can also be used to
automate product design and testing processes, leading to faster and more efficient product development cycles.

Example: A sportswear company uses AI to analyze data on customer reviews, athlete performance, and fitness
tracker metrics. This AI identifies trends in desired features and potential areas for improvement. Designers
leverage these insights to create innovative athletic wear with features that meet evolving customer needs and
enhance performance.

Recruitment & Talent Management:

AI can be used to screen resumes, identify top candidates, and schedule interviews. Additionally, AI can be used
to personalize employee onboarding and training programs.
Example: A tech company uses AI to analyze resumes, filtering out unqualified applicants and highlighting
promising candidates based on relevant skills & experience. This saves recruiters time and allows them to focus
on high-potential hires, leading to a faster and more efficient recruitment process.

Security & Threat Detection:

AI can be used to analyze security logs and network traffic to identify potential threats and cyberattacks.
Additionally, AI can be used to develop and implement proactive security measures.

Artificial intelligence can identify attempted attacks faster than a human can. It can also analyze new types of
attacks and create ways of neutralizing them to prevent further occurrences.

Example: Phishing emails are a major security threat. AI can analyze patterns, language, and sender information
to identify suspicious emails. By recognizing subtle clues like spoofed sender addresses or urgent language, AI can
flag potential phishing attempts and prevent employees from clicking malicious links, protecting sensitive data.

Virtual assistants:

AI virtual assistants are transforming businesses by streamlining workflows, enhancing customer experiences,
and boosting overall efficiency. They offer a wide range of applications that can significantly impact an
organization’s day-to-day operations.

On the customer service front, AI assistants can provide 24/7 support by answering basic inquiries,
troubleshooting common issues, and even qualifying and generating leads through initial conversations,
information collection, and appointment scheduling. Integrated into websites and social media platforms, they
can answer product questions, provide demos, and handle basic transactions.

For employees, AI assistants act as digital time-savers, automating tasks like scheduling meetings, booking travel,
and managing expenses. They can also transcribe and summarize meetings and act as a central knowledge base
for employees. New hires can benefit from streamlined onboarding processes guided by AI assistants who can
answer questions and provide tutorials.

Example: Call centers can leverage AI virtual assistants to answer basic customer inquiries. The AI can understand
questions about business hours, appointment scheduling, or product availability. By handling these repetitive
tasks, the AI frees up human agents for complex issues, improving customer service efficiency and reducing wait
times.

Conclusion:

Artificial intelligence is rapidly transforming the way businesses operate. From automating mundane tasks to
mining valuable insights from massive datasets, AI empowers companies to streamline operations, gain a
competitive edge, and unlock entirely new possibilities for growth.

As AI technology continues to evolve, even more innovative applications will emerge, shaping the future of
business across all industries. Still, it’s crucial to remember that AI is a tool, and like any powerful tool, it needs to
be implemented responsibly with careful consideration of potential risks and ethical implications. By harnessing
the power of AI responsibly, businesses can unlock a new era of efficiency, innovation, and customer-centricity.

You might also like