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.
-
Notifications
You must be signed in to change notification settings - Fork 0
JacobGo/pyglatin
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
[UMass Amherst Linguistics 409] Translates English <---> Pig Latin
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published