<kaizou xmlns="http://www.kaizou.org">
<title>Simple Yodish translator</title>
<author>kaizouman</author>
<link>http://www.kaizou.org</link>
<description>This Kaizou file translates web pages in english into Yodish, based on rules defined on [YodaJeff.com](http://www.yodajeff.com/pages/talk/likeyoda.shtml "Learn how to talk like Yoda")</description>
<target>
<uri>http://www.achievement.org/autodoc/page/luc0int-1</uri>
<pattern>http://*</pattern>
</target>
<transform>
<xpath>//text()</xpath>
<actions>
<!-- Affirmations -->
<regexp-data>
<pattern>/(\s?\b(?:so|but|and|if|when|while)\b\s?)?(\s?[\w&#039;]+)\s+([\w&#039;]+)(\snot)?(\s[\w\s&#039;"]+)(\.|\,|\;|\sand\s)/gi</pattern>
<substitution>$1$5 $2 $3$4$6</substitution>
</regexp-data>
<!-- Questions -->
<regexp-data>
<pattern>/(\s?\b(?:why|how|when)\b\s?)?(\s?[\w&#039;]+)\s+([\w&#039;]+)(\snot)?(\s[\w\s&#039;"]+)(\?)/gi</pattern>
<substitution>$1$5 ,$2 $3$4$6</substitution>
</regexp-data>
</actions>
</transform>
</kaizou>
