Difference between revisions of "Pertbot"

From Apertium
Jump to navigation Jump to search
 
Line 4: Line 4:


<pre>
<pre>
<Unhammer> ,iso sme
<pertbot> ISO language code "sme" is Northern Sami
<Unhammer> ,pairs sme
<pertbot> The language Northern Sami appears in the following pairs:
<pertbot> apertium-sme-sma apertium-sme-fin apertium-eus-sme apertium-sme-nob
apertium-sme-smj apertium-sme-sma apertium-sme-fin apertium-sme-nob
<Unhammer> ,translate sme-nob Oro jaska, beana!
<Unhammer> ,translate sme-nob Oro jaska, beana!
<pertbot> sme-nob: Vær stille, hunden!
<pertbot> sme-nob: Vær stille, hunden!
<Unhammer> ,follow sjnmos sme-nob
<pertbot> Translating sjnmos in the direction sme-nob for Unhammer
<Unhammer> ,unfollow sjnmos
<pertbot> Unfollowing sjnmos for Unhammer
</pre>
</pre>



Latest revision as of 15:12, 31 October 2011

IRC-bot written in Emacs-lisp/ERC.

It uses , (the comma) as the prefix, can follow/translate and look up ISO language codes. See https://github.com/unhammer/pertbot or type ,help when it's online.

<Unhammer> ,iso sme
<pertbot> ISO language code "sme" is Northern Sami
<Unhammer> ,pairs sme
<pertbot> The language Northern Sami appears in the following pairs:
<pertbot> apertium-sme-sma apertium-sme-fin apertium-eus-sme apertium-sme-nob
	  apertium-sme-smj apertium-sme-sma apertium-sme-fin apertium-sme-nob 
<Unhammer> ,translate sme-nob Oro jaska, beana!
<pertbot> sme-nob:  Vær stille, hunden!
<Unhammer> ,follow sjnmos sme-nob
<pertbot> Translating sjnmos in the direction sme-nob for Unhammer
<Unhammer> ,unfollow sjnmos
<pertbot> Unfollowing sjnmos for Unhammer