Skip to content
This repository was archived by the owner on Nov 14, 2021. It is now read-only.
/ pmt Public archive

Pattern Matching Tool. (Software developed as part of the course 'String Processing')

License

Notifications You must be signed in to change notification settings

wjjr/pmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pmt

Pattern Matching Tool

Algorithms

  • bf: Brute-force
  • ac: Aho-Corasick (1975)
  • bm: Boyer-Moore (1977)
  • uk: Ukkonen (1985)
  • so: Shift-Or (Baeza-Yates–Gonnet, 1992)
  • wm: Wu-Manber (1992)

Build

To build make sure you have gcc and make installed:

make

Running

Usage: pmt [-a ALGO] [-c] [-e DIST] [-h] (PATTERN | -p PATTERN_FILE) FILE [FILE...]

Execute the program passing as arguments the pattern and the files to search. Run ./bin/pmt --help to see the whole list of arguments.

./bin/pmt Romeo shakespeare.txt

About

Pattern Matching Tool. (Software developed as part of the course 'String Processing')

Topics

Resources

License

Stars

Watchers

Forks

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy