Received: from mail-pa0-f61.google.com ([209.85.220.61]:44499) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.80.1) (envelope-from ) id 1WL4Js-00078K-FC for lojban-beginners-archive@lojban.org; Tue, 04 Mar 2014 21:24:53 -0800 Received: by mail-pa0-f61.google.com with SMTP id fb1sf108650pad.26 for ; Tue, 04 Mar 2014 21:24:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=from:to:subject:date:message-id:user-agent:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type; bh=K8pQUmWn4wMWqrS5XLNGJDfNB7bW1E4V6oVJFsGpFLM=; b=ZptRiDTRRi9lq7xhEcpV47cH9+zNLlM3N8293DZHWXjR0lzstg9vSboIoEn0jP3tBR ak5WN51Dmu8kQHgVDen6TsCSGGpRArdMYVX7vSZSIej4oItAb0lOYkST2mcqLFT43P/A o9mbBiWI90vjWUJw1DMMVCSeSMQN22YXmwuQmb164LIBusKB5YnqyX66/1kO72a3dGOk ctLDmJkZFKFBiMfGd7jpNQJsFHZFbEk/6hKC8KsuY9gRS/01Ko/oUUfcWqW1RtREtu0n pRqZjtPyoZGt0I4Cr8XC2w/pZoWzOd4kocXF334jxjij15kfj03VShFoX/LBwghDivBb maZg== X-Received: by 10.140.40.73 with SMTP id w67mr2476qgw.25.1393997073206; Tue, 04 Mar 2014 21:24:33 -0800 (PST) X-BeenThere: lojban-beginners@googlegroups.com Received: by 10.140.23.175 with SMTP id 44ls164737qgp.12.gmail; Tue, 04 Mar 2014 21:24:32 -0800 (PST) X-Received: by 10.236.175.66 with SMTP id y42mr1566398yhl.38.1393997072415; Tue, 04 Mar 2014 21:24:32 -0800 (PST) Received: by 10.224.187.5 with SMTP id cu5msqab; Tue, 4 Mar 2014 09:50:35 -0800 (PST) X-Received: by 10.236.41.234 with SMTP id h70mr362035yhb.42.1393955435073; Tue, 04 Mar 2014 09:50:35 -0800 (PST) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com. [75.180.132.120]) by gmr-mx.google.com with ESMTP id qa17si2755644vdb.1.2014.03.04.09.50.34 for ; Tue, 04 Mar 2014 09:50:34 -0800 (PST) Received-SPF: neutral (google.com: 75.180.132.120 is neither permitted nor denied by best guess record for domain of phma@bezitopo.org) client-ip=75.180.132.120; X-Authority-Analysis: v=2.0 cv=MODiabll c=1 sm=0 a=GbbTObCcR0DEgiyvVRM9bQ==:17 a=0ecOPdCcRMUA:10 a=f7qUud6zIuYA:10 a=Yr05hP5UdKEA:10 a=LlzFzjEJNC0A:10 a=kj9zAlcOel0A:10 a=JNFw9bs7AAAA:8 a=KGjhK52YXX0A:10 a=pGLkceISAAAA:8 a=RD1GFuRJ0-SkAoYJry8A:9 a=CjuIK1q_8ugA:10 a=MSl-tDqOz04A:10 a=EWVJJKaszXn7mvxV:21 a=OgtEadEKP1UHQ9VX:21 a=GbbTObCcR0DEgiyvVRM9bQ==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 98.122.190.249 Received: from [98.122.190.249] ([98.122.190.249:56491] helo=leopard.ixazon.lan) by cdptpa-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 2E/73-23887-96216135; Tue, 04 Mar 2014 17:50:33 +0000 Received: from caracal.localnet (localhost [127.0.0.1]) by leopard.ixazon.lan (Postfix) with ESMTP id 91E313FA0 for ; Tue, 4 Mar 2014 12:50:33 -0500 (EST) From: Pierre Abbat To: lojban-beginners@googlegroups.com Subject: Re: [lojban-beginners] Lojban spellchecker class (PHP/javascript) Date: Tue, 04 Mar 2014 12:50:31 -0500 Message-ID: <14526131.g7ZJXkysoY@caracal> User-Agent: KMail/4.8.5 (Linux/3.2.0-59-generic; KDE/4.8.5; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 X-Original-Sender: phma@bezitopo.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 75.180.132.120 is neither permitted nor denied by best guess record for domain of phma@bezitopo.org) smtp.mail=phma@bezitopo.org Reply-To: lojban-beginners@googlegroups.com Precedence: list Mailing-list: list lojban-beginners@googlegroups.com; contact lojban-beginners+owners@googlegroups.com List-ID: X-Google-Group-Id: 300742228892 List-Post: , List-Help: , List-Archive: Sender: lojban-beginners@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.0 (/) X-Spam_score: -0.0 X-Spam_score_int: 0 X-Spam_bar: / Content-Length: 1793 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.