[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lojban-beginners] Lojban spellchecker class (PHP/javascript)
On Saturday, March 01, 2014 01:58:01 bl3.drkwv@gmail.com wrote:
> Hello. Is there any spellchecker class which I could integrate into web
> forum/chat propram code to check if person who is pretending to talk on
> lojban, doing it correctly? It probably would be used primarily for
> learning lojban. Maybe there is some C/C++ code which I could port onto
> javascript? Thank you.
What kinds of errors are you trying to catch?
Suppose you type "ci" instead of "cu". A grammar checker will probably catch
that; a spell checker will not.
Suppose you type "pavyskojymavra". This is a well-formed, but meaningless,
lujvo. A lujvo checker would reject it because neither "skoj*" nor "mavra" is
defined. A spell checker with access to the dictionary could notice that it is
a known word with a letter inserted.
Suppose you type "bendicfuncyxra". A spell checker with access to the
dictionary could notice that it differs by one letter from a known word.
Suppose you type "cantydicfuncyxra" instead of "cantydicfancyxra". (I found
out that there is such a thing by reading Wikipedia while entering
"risnydicfancyxra" and "bendicfancyxra".) As both are well-formed words, but
neither is in the dictionary, a spell checker can't tell whether it's a typo
or a newly coined word.
Pierre
--
sei do'anai mi'a djuno puze'e noroi nalselganse srera
--
You received this message because you are subscribed to the Google Groups "Lojban Beginners" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lojban-beginners+unsubscribe@googlegroups.com.
To post to this group, send email to lojban-beginners@googlegroups.com.
Visit this group at http://groups.google.com/group/lojban-beginners.
For more options, visit https://groups.google.com/groups/opt_out.