Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
/ ponypipe Public archive

[UNMAINTAINED] Ponify and deponify text

License

Notifications You must be signed in to change notification settings

maandree/ponypipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Utility for ponifing (and deponifing) text.

It replaces words such as ’everyone’ with ’everypony’.

To ponify a file run:

ponypipe --ponify < SOURCE > TARGET

OR

ponypipe < SOURCE > TARGET

To deponify a file run:

ponypipe --deponify < SOURCE > TARGET

You can use customised replacement rules by adding the option:

--rules RULES

OR

--rule RULES

-r can be used instead of --rules.

-d can be used instead of --deponify.

-z can be used instead of --ponify.

Features:

  • Adaptive casing [todo: can be made better]
  • Clopen words [todo: make it possible to have open beginnings]
  • On the fly ponification

Todo:s:

  • Make it possible to make ponified words highlighted
  • Extend the list so that clopen words does not match to known bad matchings (for example, add, boyle :: boyle)