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

Re: Parsing lujvo




>  tavta'atavlytavla
>
>it will look up "tavta" as a 5L rafsi, despite the following apostrophe

Well, first of all the program needs to know that a 5L rafsi can only appear
at the end.  It also has to realize
when it finds an apostrophe sitting all by itself like that, that it must
have
made a wrong choice, and backtrack.  In other words, you can't parse
left to right like that; you have to either look ahead somehow, or backtrack
to the last choice you made that lead to a dead end, and take the other
road (i.e. tav instead of tavta).

co'o mi'e kris.