Skip to content

MohamadSalamaMouse/STRINGIFY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIF

Introduction

String manipulation is a concept beneath NLP's general term, which refers to the process of changing or modifying strings, in order to manipulate data or text and reach the required format.

String-manipulation can be used to perform small actions like:

GIF

  • Rearranging white spaces
  • Positioning punctuation marks
String-manipulation also involve more complicated tasks like:
  • Removing duplicated words
  • Correcting spelling and grammar rules
  • Finding substrings & concatenating strings

What we are trying to do here is creating a command line interface -Text Editor- which also has the ability to perform some string manipulation techniques


STRINGIFY Documentation

STRINGIFY is a String manipulation program that we developed in 8086 assembly language to perform some common text manipulation processes.

STRINGIFY program consists of main.asm file where we reference and include all other files and functions and we also have four files more which are :

  1. ui.inc ------->>The main file used for rendering the program, also includes rendering related functions such as function implement delay.

  2. caps.inc ---->>Includes functions to capitalize the beginning of the sentence and be sure that the rest of the sentence litters is lowercase.

  3. spaces.inc -->>Includes functions to remove extra white spaces and also add white space after common punctuation marks.

  4. dups.inc ---->>Includes functions to remove successive duplicates words.

  5. files.inc ---->>Includes functions to handle and deal with files.

Program Flow-chart

Implemented Features

  • File handling (Data Reading and Writing to and from Files directly)
  • Make the first character in the sentence capitalized and make the rest of the letters small
  • Remove extra white spaces and add spaces after punctuation marks
  • Remove successive duplicate words

Recommended future Features

  • Implementing spelling Corrections and grammar rules validation
  • Add more text processing capabilities
  • Fix the limitation of 256B size

Note: STRINGIFY program has an input data size limitation of 256 bytes which means that the data processed by the program can't be more than 256 character or we will face an overflow exception if size exceeds the limitation


Screenshots

Correct capitalization rules Remove & add white spaces
Remove successive duplicate words Execute all operations together

Run Locally

1- Clone the project

  git clone https://github.com/MohamadSalamaMouse/STRINGIFY

2- Go to the project directory

  cd STRINGIFY

3- Run the main.asm using any 8086 assembler. Note: Turbo Assembler is preferred cause we built project using it.


Demo video

To get more information we uploaded a demo video for more explanation, which you can access by pressing Here

Team Members

Project done under supervision of Prof. @Sara El-Metwally by:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published