IRC Bots: Difference between revisions

From Lojban
Jump to navigation Jump to search
(Gleki moved page File:74.sip to File:pelxu.txt)
 
(Created page with "=A Guide to the IRC Bots of #lojban (and #ckule)= ==Lojban assistance== ;'''valsi''' : This is a bidirectional Lojban-English dictionary ([https://github.com/lojban/vlasisku/...")
Line 1: Line 1:
#REDIRECT [[File:pelxu.txt]]
=A Guide to the IRC Bots of #lojban (and #ckule)=
 
==Lojban assistance==
;'''valsi'''
: This is a bidirectional Lojban-English dictionary ([https://github.com/lojban/vlasisku/blob/master/vlasisku/irc.py source]). It works from a dump of [http://jbovlaste.lojban.org/ Jbovlaste], so it may not be completely up to date.
: You can invoke '''valsi''' in the channel by prefixing a message with "valsi ", or send a private message to the bot (with no prefix).
: The content of the message is just a word. If it's a Lojban word, you'll get its definition. If it's an English word, you'll get a list of suggested translations.
: Accepted options for Lojban word lookup: (you can give up to one option, in parentheses, e.g. "valsi lercu'aca'a (components)")
:* affix
:: Get the affix (rafsi) form of the word.
:* class
:: Get the selma'o (grammatical category) of the word.
:* type
:: Get the type (cmavo/gismu/lujvo/etc) of the word.
:* notes
:: Return the notes field of the definition (without this option it isn't shown).
:* cll
:: Get the link to the section of the CLL that discusses the word (not always accurate).
:* url
:: Get the link to Vlasisku's page for the word.
:* components
:: Break a lujvo into its component gismu (works on nonce lujvo).
:* rafsi
:: Treat the word as a rafsi for the purposes of the search (many cmavo are also rafsi of other words).
::* I don't see this option in the source, so maybe what's running is a slightly different version? [[User:Durka42|Durka42]] ([[User talk:Durka42|talk]])
; '''gerna'''
: This is a grammar checker based on [[jbofi'e]] ([https://github.com/lojban/vlasisku/blob/master/vlasisku/irc.py source], same as '''valsi''').
: You can invoke '''gerna''' in the channel by prefix a message with "gerna ", or send a private message to the bot (with no prefix).
: The message is just a Lojban sentence. If it parses, you'll get the structure. If it doesn't parse or jbofi'e crashes, it will say "not grammatical" and try to show you which word broke the parse.
: There are no options.
* '''camxes''', '''cipra'''
 
==Other==
* '''sidju'''
* '''xorban'''
* '''mensi''', '''livla'''

Revision as of 01:36, 22 May 2014

A Guide to the IRC Bots of #lojban (and #ckule)

Lojban assistance

valsi
This is a bidirectional Lojban-English dictionary (source). It works from a dump of Jbovlaste, so it may not be completely up to date.
You can invoke valsi in the channel by prefixing a message with "valsi ", or send a private message to the bot (with no prefix).
The content of the message is just a word. If it's a Lojban word, you'll get its definition. If it's an English word, you'll get a list of suggested translations.
Accepted options for Lojban word lookup: (you can give up to one option, in parentheses, e.g. "valsi lercu'aca'a (components)")
  • affix
Get the affix (rafsi) form of the word.
  • class
Get the selma'o (grammatical category) of the word.
  • type
Get the type (cmavo/gismu/lujvo/etc) of the word.
  • notes
Return the notes field of the definition (without this option it isn't shown).
  • cll
Get the link to the section of the CLL that discusses the word (not always accurate).
  • url
Get the link to Vlasisku's page for the word.
  • components
Break a lujvo into its component gismu (works on nonce lujvo).
  • rafsi
Treat the word as a rafsi for the purposes of the search (many cmavo are also rafsi of other words).
  • I don't see this option in the source, so maybe what's running is a slightly different version? Durka42 (talk)
gerna
This is a grammar checker based on jbofi'e (source, same as valsi).
You can invoke gerna in the channel by prefix a message with "gerna ", or send a private message to the bot (with no prefix).
The message is just a Lojban sentence. If it parses, you'll get the structure. If it doesn't parse or jbofi'e crashes, it will say "not grammatical" and try to show you which word broke the parse.
There are no options.
  • camxes, cipra

Other

  • sidju
  • xorban
  • mensi, livla