SlideShare a Scribd company logo
STRING MATCH
DEFINITION AND CLASSIFICATION OF STRING
MATCHING
A string is given to be matched with a long text (or a string) and at this point of
string matching, either a single string or multiple strings can be asked to match
Based on number of strings to be matched, Pattern (nothing but a string) matching
algorithms are classified as 1. Single pattern matching algorithms
and 2. Multiple pattern matching algorithms
SOME REAL WORLD PROBLEMS THAT NEED
STRING MATCH
Finger prints and Retinal scans in
high security systems like banking security
DNA analysis and Bio Informatics
Computer password matching
Cyber Forensics department
HOW DOES A PROBLEM LOOK LIKE!
TEXT: A B A C B A B C A C A B
Pattern:A C B (NOT Matched initially)
_ A C B (Not matched on first shift)
_ _ A C B (matched on second shift)
In real world, when you enter your password while you sign in your twitter
account, password entered by you is matched with string in their database
DIFFERENT ALGORITHMS WITH DIFFERENT
APPROACHES
There are many algorithms in order to solve the problems facing in String matching.
Each algorithm has its own way of matching the strings. Some match in an optimal
time with minimum number of comparisons while some take very long time.
SOME WELL KNOWN ALGORITHMS
 Rabin-Karp String matching algorithms
 Naïve string matching algorithm
 Knuth-Morris-Pratt algorithm also better known as “KMP”
Brute force comparison technique is used by Rabin-Karp and
makes comparisons only if hash values in both the text and
string are same.
SUMMARY
• String match and its types
• Some well known algorithms to do string matching
• Application of string matching in real world problems
• Scenario of string matching
Hey Friends,
This was just a summary on String Match. For more detailed information on this
topic, please type the link given below or copy it from the description of this PPT
and open it in a new browser window.
www.transtutors.com/homework-help/computer-science/string-match.aspx

More Related Content

PPTX
Boyer moore algorithm
PPTX
Naive string matching
PPTX
Boyer more algorithm
PPT
String matching algorithms
PPTX
String matching algorithms-pattern matching.
PPT
Boyre Moore Algorithm | Computer Science
PDF
String matching, naive,
PPT
Pattern matching
Boyer moore algorithm
Naive string matching
Boyer more algorithm
String matching algorithms
String matching algorithms-pattern matching.
Boyre Moore Algorithm | Computer Science
String matching, naive,
Pattern matching

What's hot (20)

PDF
Pattern matching programs
PPTX
IMPLEMENTATION OF DIFFERENT PATTERN RECOGNITION ALGORITHM
PPT
Chpt9 patternmatching
PPTX
Artificial Intelligence
PDF
An Index Based K-Partitions Multiple Pattern Matching Algorithm
PDF
Formal Concept Analysis
PPT
String kmp
PPT
Knuth–Morris–Pratt Algorithm | Computer Science
PDF
An Application of Pattern matching for Motif Identification
PPTX
Brute Force
PDF
Skiena algorithm 2007 lecture06 sorting
PPTX
Cryptography an application of vectors and matrices
PDF
KMP Pattern Search
PPTX
STRING MATCHING
PDF
Data Representation of Strings
PPTX
Application of matrix multiplication (cryptography) with solved problem
PPTX
Sensing topics in Tweets
PPTX
From Sensing to Decision
PPTX
Arif hussain algo prestention
Pattern matching programs
IMPLEMENTATION OF DIFFERENT PATTERN RECOGNITION ALGORITHM
Chpt9 patternmatching
Artificial Intelligence
An Index Based K-Partitions Multiple Pattern Matching Algorithm
Formal Concept Analysis
String kmp
Knuth–Morris–Pratt Algorithm | Computer Science
An Application of Pattern matching for Motif Identification
Brute Force
Skiena algorithm 2007 lecture06 sorting
Cryptography an application of vectors and matrices
KMP Pattern Search
STRING MATCHING
Data Representation of Strings
Application of matrix multiplication (cryptography) with solved problem
Sensing topics in Tweets
From Sensing to Decision
Arif hussain algo prestention
Ad

Viewers also liked (20)

PPT
KMP Pattern Matching algorithm
PPTX
Rabin karp string matching algorithm
PPTX
String matching algorithms
PPT
String matching algorithm
PPTX
Naive string search
PPT
Pattern matching in ds by m anoj vasava=mca
PPTX
Financing Activities | Accounting
PPT
Algoritmo de Rabin-Karp
PPTX
String matching algorithms(knuth morris-pratt)
PPT
Algoritma Pencarian String matching
PPT
Naive String Matching Algorithm | Computer Science
PPTX
FBT (Fringe Benefit Tax) | Accounting
PPTX
Principle Budget Factor | Accounting
PDF
PPTX
Project Planning | Accounting
PDF
06. string matching
PPTX
Certified Management Accountant | Accounting
PPTX
GASB (Governmental Accounting Standards Board)| Accounting
PPTX
String Matching Finite Automata & KMP Algorithm.
PPTX
Rabin Karp - String Matching Algorithm
KMP Pattern Matching algorithm
Rabin karp string matching algorithm
String matching algorithms
String matching algorithm
Naive string search
Pattern matching in ds by m anoj vasava=mca
Financing Activities | Accounting
Algoritmo de Rabin-Karp
String matching algorithms(knuth morris-pratt)
Algoritma Pencarian String matching
Naive String Matching Algorithm | Computer Science
FBT (Fringe Benefit Tax) | Accounting
Principle Budget Factor | Accounting
Project Planning | Accounting
06. string matching
Certified Management Accountant | Accounting
GASB (Governmental Accounting Standards Board)| Accounting
String Matching Finite Automata & KMP Algorithm.
Rabin Karp - String Matching Algorithm
Ad

Similar to String Match | Computer Science (20)

PPTX
Combinatorial Algorithms String Matching.pptx
DOC
4 report format
DOC
4 report format
PPTX
String Matching Algorithms-The Naive Algorithm
PPTX
String Matching Algorithms: Naive, KMP, Rabin-Karp
PPTX
String matching Algorithm by Foysal
PPTX
Advance algorithms in master of technology
PPTX
String Matching (Naive,Rabin-Karp,KMP)
PPTX
String_Matching_algorithm String_Matching_algorithm .pptx
PPTX
String Matching algorithm String Matching algorithm String Matching algorithm
PPTX
Gp 27[string matching].pptx
PDF
Extending Boyer-Moore Algorithm to an Abstract String Matching Problem
PDF
A Survey of String Matching Algorithms
PPTX
String Searching and Matching
PPTX
Matching techniques
PPTX
Strings
PDF
String matching algorithms
PPTX
Importance of String in Programming Languages.pptx
PDF
Lecture10.pdf
PDF
25 String Matching
Combinatorial Algorithms String Matching.pptx
4 report format
4 report format
String Matching Algorithms-The Naive Algorithm
String Matching Algorithms: Naive, KMP, Rabin-Karp
String matching Algorithm by Foysal
Advance algorithms in master of technology
String Matching (Naive,Rabin-Karp,KMP)
String_Matching_algorithm String_Matching_algorithm .pptx
String Matching algorithm String Matching algorithm String Matching algorithm
Gp 27[string matching].pptx
Extending Boyer-Moore Algorithm to an Abstract String Matching Problem
A Survey of String Matching Algorithms
String Searching and Matching
Matching techniques
Strings
String matching algorithms
Importance of String in Programming Languages.pptx
Lecture10.pdf
25 String Matching

More from Transweb Global Inc (20)

PPTX
Resultant of Coplanar Parallel Forces | Mechanical Engineering
PPTX
The Centroidal Axis | Mechanical Engineering
PPTX
System Of Coplanar Forces | Mechanical Engineering
PPTX
Resultant of Two Unlike and Unequal Parallel Forces | Mechanical Engineering
PPTX
SFD Load Diagram Examples | Mechanical Engineering
PPTX
Principle Of Transmissibility | Mechanical Engineering
PPTX
Law Of Polygon | Mechanical Engineering
PPTX
Similarities between Leadership and Management | Management
PPTX
Ranked Positional Weight Method | Management
PPTX
Business Intelligence And Business Analytics | Management
PPTX
ABC Cost Hierarchy | Management
PPTX
Speed To Market | Management
PPTX
Managerial Hubris | Finance
PPTX
Conductance | Electrical Engineering
PPTX
Advantages and Disadvantages of Digital Electronics | Electrical Engineering
PPTX
Stabilization Of Operating Point | Electrical Engineering
PPTX
Offer Curves | Economics
PPTX
Fixed Exchange Rate | Economics
PPTX
Computer Architecture | Computer Science
PPTX
Compilers Computer Program | Computer Science
Resultant of Coplanar Parallel Forces | Mechanical Engineering
The Centroidal Axis | Mechanical Engineering
System Of Coplanar Forces | Mechanical Engineering
Resultant of Two Unlike and Unequal Parallel Forces | Mechanical Engineering
SFD Load Diagram Examples | Mechanical Engineering
Principle Of Transmissibility | Mechanical Engineering
Law Of Polygon | Mechanical Engineering
Similarities between Leadership and Management | Management
Ranked Positional Weight Method | Management
Business Intelligence And Business Analytics | Management
ABC Cost Hierarchy | Management
Speed To Market | Management
Managerial Hubris | Finance
Conductance | Electrical Engineering
Advantages and Disadvantages of Digital Electronics | Electrical Engineering
Stabilization Of Operating Point | Electrical Engineering
Offer Curves | Economics
Fixed Exchange Rate | Economics
Computer Architecture | Computer Science
Compilers Computer Program | Computer Science

Recently uploaded (20)

PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
01-Introduction-to-Information-Management.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
RMMM.pdf make it easy to upload and study
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Presentation on HIE in infants and its manifestations
PPTX
master seminar digital applications in india
PPTX
Lesson notes of climatology university.
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
GDM (1) (1).pptx small presentation for students
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
01-Introduction-to-Information-Management.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Chinmaya Tiranga quiz Grand Finale.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
RMMM.pdf make it easy to upload and study
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
O7-L3 Supply Chain Operations - ICLT Program
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
STATICS OF THE RIGID BODIES Hibbelers.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Presentation on HIE in infants and its manifestations
master seminar digital applications in india
Lesson notes of climatology university.
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Microbial diseases, their pathogenesis and prophylaxis
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx

String Match | Computer Science

  • 2. DEFINITION AND CLASSIFICATION OF STRING MATCHING A string is given to be matched with a long text (or a string) and at this point of string matching, either a single string or multiple strings can be asked to match Based on number of strings to be matched, Pattern (nothing but a string) matching algorithms are classified as 1. Single pattern matching algorithms and 2. Multiple pattern matching algorithms
  • 3. SOME REAL WORLD PROBLEMS THAT NEED STRING MATCH Finger prints and Retinal scans in high security systems like banking security DNA analysis and Bio Informatics Computer password matching Cyber Forensics department
  • 4. HOW DOES A PROBLEM LOOK LIKE! TEXT: A B A C B A B C A C A B Pattern:A C B (NOT Matched initially) _ A C B (Not matched on first shift) _ _ A C B (matched on second shift) In real world, when you enter your password while you sign in your twitter account, password entered by you is matched with string in their database
  • 5. DIFFERENT ALGORITHMS WITH DIFFERENT APPROACHES There are many algorithms in order to solve the problems facing in String matching. Each algorithm has its own way of matching the strings. Some match in an optimal time with minimum number of comparisons while some take very long time.
  • 6. SOME WELL KNOWN ALGORITHMS  Rabin-Karp String matching algorithms  Naïve string matching algorithm  Knuth-Morris-Pratt algorithm also better known as “KMP” Brute force comparison technique is used by Rabin-Karp and makes comparisons only if hash values in both the text and string are same.
  • 7. SUMMARY • String match and its types • Some well known algorithms to do string matching • Application of string matching in real world problems • Scenario of string matching
  • 8. Hey Friends, This was just a summary on String Match. For more detailed information on this topic, please type the link given below or copy it from the description of this PPT and open it in a new browser window. www.transtutors.com/homework-help/computer-science/string-match.aspx