[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lojban] Re: jbominji



I have created some documentation for my lojban tools here:

http://subvert-the-dominant-paradigm.net/~jbominji/jbominji.html

The graphviz generation tool has been updated:

You have the option to turn morphological output on or off

The "edited parse tree" will not display nodes with only one child and
will not display nodes representing whitespace, making for a much
simpler graph

You can try it here: 

http://subvert-the-dominant-paradigm.net:9072/generator

The output from the jbominji IRC bot will now show output for more
CMAVO.
Next I have to implement lujvo.

I have also almost completed textual output similar to that produced by
Robin's RATS parser, eg:

CL-USER> (lojban-parser::parse-and-output-to-stdout "mi na jimpe le
nicte")                                                                        

sentence=( CMAVO=( KOhA=( mi ) )
bridi-tail-3=( selbri-1=( CMAVO=( NA=( na ) )
BRIVLA=( gismu=( jimpe )  )  ) sumti-6=( 
CMAVO=( LE=( le ) ) BRIVLA=( gismu=( nicte
 )  )  )  )  )


John

On Thu, 2006-05-18 at 00:20 +0700, John Leuner wrote:
> I've set up a simple bot called jbominji in the #lojban IRC channel.
> 
> Right now it logs its output to a room called #jbokumfa.
> 
> It listens in #lojban and tries to parse each line of text (with the PEG
> lojban grammar) and then prints output something like this:
> 
> << mi na'o na jimpe >> 
> .i zo mi cu cmavo la'e zoi gy. me gy.
> .i zo na cu cmavo la'e zoi gy. bridi negator gy.
> .i zo jimpe cu gismu la'e zoi gy. understand gy.
> 
> The quotes indicate which part of the text parsed successfully. Any text
> following the quotes did not parse.
> 
> It then provides a gloss for gismu and cmavo from gismu.txt and
> cmavo.txt.
> 
> You can access the same parser via
> http://subvert-the-dominant-paradigm.net:9072/generator to generate
> graphviz graphs of the parse tree generated by parsing a lojban text.
> 
> Please feel free to send me any bug-fixes, feature requests etc
> 
> You can see the PEG grammar here:
> http://subvert-the-dominant-paradigm.net/~jbominji/code/lojban_grammar.peg
> 
> TODO:
> 
> jbominji doesn't lookup most cmavo yet
> have to check whether it will flood itself off the channel
> fuhivla
> explore other modes of output (Jabber, web page with AJAX etc)
> 
> 
> 
> 
> To unsubscribe from this list, send mail to lojban-list-request@lojban.org
> with the subject unsubscribe, or go to http://www.lojban.org/lsg2/, or if
> you're really stuck, send mail to secretary@lojban.org for help.
> 



To unsubscribe from this list, send mail to lojban-list-request@lojban.org
with the subject unsubscribe, or go to http://www.lojban.org/lsg2/, or if
you're really stuck, send mail to secretary@lojban.org for help.