Skip to content

A Pig Latin translator tool that I had to make for my 2024 course.

License

Notifications You must be signed in to change notification settings

thecasualdev/PigLatin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pig Latin Translator

This is a simple Pig Latin translator the I created for school.

To-Do List

  • Create Pig Latin Translator
  • Custom draw module to allow for simple, yet consitance outputs
  • Config reading and generating
  • Simple module to toggle Y checking (allows the script to differentiate between Y as a vowel & Y as a consonant)
  • Output file, or custom destination
  • Way to seperate main symbols from text (semi-support, just ignores all other characters)
  • Option to generate new file within the same directory
  • Console menu

Setup

Note

Though not required as the project is built only using internal packages. It is recomended to setup a virtual environment using the venv module.

Next you will want to make sure you are running python 3.9 minimum With the adition of the new piglatin.cmd you can simply add the directory path And run the program simply by running piglatin

Usage

If you have setup path simply run

piglatin

if you don't have it on path simply CD into the directory And then run

py piglatin.py

Below are the flags you can run the application with.

  -h, --help            show this help message and exit
  -S STRING, --string STRING
                        Used to translate a single string
  -F FILE, --file FILE  Used to translate entire files, only supports .txt
  -y, --ycheck, --no-ycheck
                        Toggle the function that differentiates between Y as a vowel & Y as a consonant
  -o OUTPUT, --output OUTPUT
                        Set a unique output location (used for translating files)
  -s, --setup           Used to generate defualt config file and output folder
  -k, --keepd, --no-keepd
                        Quick argument to create new file in the same directory as input txt file

About

A Pig Latin translator tool that I had to make for my 2024 course.

Topics

Resources

License

Stars

Watchers

Forks