Skip to content

[UMass Amherst Linguistics 409] Translates English <---> Pig Latin

Notifications You must be signed in to change notification settings

JacobGo/pyglatin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

pyglatin

Pyglatin is a Python script capable of translating English text into Pig Latin, in which all consonants until the first vowel are moved to the end of the word and 'ay' is added. It can also translate back to English, which is not trivial when you encounter different potential permutations of consonants at the beginning/end of the word. We solve this using a frequency distribution to pick the most likely permutation, with some light rule-based phonetic filtering.

About

[UMass Amherst Linguistics 409] Translates English <---> Pig Latin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages