Skip to content

binidj/ipmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPMT

CLI Application to search patterns on indexed files and compress/decompress files. It is part of the second college project of IF767 - Processamento de Cadeias de Caracteres, course of Computer Science of Federal University of Pernambuco.

Running the project

clone the repository

  git clone https://github.com/binidj/ipmt

Open the project folder

  cd ipmt

Compile the application

  sh compile.sh

The application binary ipmt will be at bin/ folder

  cd bin/

Run it.

Usages

  ipmt index textfile\n");
Argument Type Description
textfile path Required. Text file path to be indexed.
  ipmt search [options] pattern indexfile.idx\n");
Argument Type Description
pattern string Required when not using --pattern option. Pattern to be searched.
indexfile.idx path Required. Previously indexed .idx file path.
  ipmt zip textfile\n");
Argument Type Description
textfile path Required. Text file path to be compressed.
  ipmt unzip textfile.myz\n");
Argument Type Description
textfile.myz path Required. Previously compressed .myz file path..

Extra options

Command Function
-p --pattern patternfile Specifies the file from which patterns will be read and used on the search
-c --count Prints the number of ocurrences of the specified pattern on all text files.
-h --help Basic IPMT options

Algorithms:

Mode Algorithm
index Suffix Array
search Suffix Array
zip Huffman
unzip Huffman

README.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published