Skip to content

PyPigLatin is a python module which can convert words or strings of words from English, into Pig Latin

Notifications You must be signed in to change notification settings

Owen7000/pypiglatin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pypiglatin

PyPI - Downloads PyPI PyPI - License Downloads

PyPigLatin

PyPigLatin is a module which can convert words or strings of words from English, into Pig Latin

Installation

Use the package manager pip to install PyPigLatin.

pip install pypiglatin

Usage

import pypiglatin as p

# Example showing translation of a single word
single_word = "Hello"

print(p.translate_word(single_word)
# This would print 'ellohay'


# To trnalsate a larger string, use the translate_string function
larger_string = "Pig Latin is hard to speak"

print(p.translate_string(larger_string))
# This would print 'igpay atinlay isway ardhay otay eakspay'

View the docs Here

License

GPL-3.0

About

PyPigLatin is a python module which can convert words or strings of words from English, into Pig Latin

Topics

Resources

Stars

Watchers

Forks

Languages