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

[lojban-beginners] Re: Lojban parser and graph generator



I don't think the formalized grammar is useful for most users of the
language.

It's only really important for those writing low-level tools.

But I think being able to see a parse graph is very important for
learning lojban and figuring out how different parts are grouped
together.

John


On Tue, 2006-01-24 at 13:49 -0800, Opi Lauma wrote:
> Good work. It is a pity that I am still far from understanding of the
> formalized grammar. Anyway I will try go in this direction. 
>  
> It is good that people which like Lojban are often good in
> programming. It helps to develop the language.
> 
> 
> John Leuner <jewel@subvert-the-dominant-paradigm.net> wrote: 
>         I have finished the first stage of a web front-end to my
>         lojban parser.
>         
>         You can visit it here:
>         
>         http://subvert-the-dominant-paradigm.net:9072/generator
>         
>         and enter some lojban text.
>         
>         It uses my cl-peg package along with a lojban peg grammar
>         based on the
>         work by Robin and xorxes (and I suppose some other people
>         too).
>         
>         I process the output with the cl-dot package which feeds
>         graphviz the
>         result of the parse process. The result is a graphical
>         representation of
>         the parse nodes.
>         
>         As yet there are no options to trim down the tree, so you see
>         the whole
>         morphological breakdown and all the intermediate labels.
>         
>         Future work is to allow the user to control how much detail is
>         displayed,
>         as well as to lookup english glosses in wordlists and display
>         them too.
>         
>         John Leuner
>         
>         Note:
>         
>         There are some bugs in the grammar, I noticed that "zo"
>         doesn't work. I
>         haven't tested it thoroughly so I don't know what else doesn't
>         work.
>         
>         
>         
>         
>         
> 
> 
> 
> ______________________________________________________________________
> 
> What are the most popular cars? Find out at Yahoo! Autos