WikiDiscuss

WikiDiscuss


Wiki page BPFK Section: Quotations as of 11 Feb 2005 changed

posts: 1912


> The parser shouldn't be lexing text inside a zoi-quote; it should only be
> looking for the delimiter.

That would be much more complicated, because to recognize a delimiter
it would have to do the full syntactic parsing rather than merely
morphological. It's not enough to detect a zoi or a la'o, because
these could be affected themselves by other magic words.

It's probably doable, but I don't think it is worth the complications
it introduces. I prefer word lexing to be strictly separated from
syntactic parsing. The morphology algorithm should be able to break
any stream into words (including non-lojban words) without having any
clue as to the meaning or grammar of any of the words.

Any string separated by spaces that contains a unrecognized character
is considered a non-lojban word. More generally, any string separated
by spaces (or pauses in speech) that cannot be _fully_ broken into valid
Lojban words is considered a single non-lojban word.

mu'o mi'e xorxes




__
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com