Received: from mail-qc0-f185.google.com ([209.85.216.185]:59978) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.80.1) (envelope-from ) id 1WKyi6-0004rk-2u for lojban-beginners-archive@lojban.org; Tue, 04 Mar 2014 15:25:34 -0800 Received: by mail-qc0-f185.google.com with SMTP id x13sf43266qcv.2 for ; Tue, 04 Mar 2014 15:25:11 -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=MAuywQjkvBlTgkIIff06ioYuOLkn7cdtNqy2BUJVSeD/0KtJfrneuE8iVshQWpgbHY MKEDxM84YMAJC5IYSLSBalGNh+0qtbFHsk2w0WJLnXhKcrxaqNnjg/3X0h10+DRbNKBV 9hQ1o4iRrp45jQbz80+MDWKaOIaYLT0vFG1LLzaceJARgcWBc0buAX328f90hP+C+cVr 6PjPBDpRTR/57BR0AGtJjfVBpDWO/1rDwqunqy7f8wC60A/R6L5clK98bJ8Z1wAKamxt W6t5YdpeDaSCGORzpRWNPW//D/lk+YYJNEYn5Dhb5eSCqIqhwlhSAg36DexlnfljZRj6 cjew== X-Received: by 10.140.91.72 with SMTP id y66mr48031qgd.23.1393975511784; Tue, 04 Mar 2014 15:25:11 -0800 (PST) X-BeenThere: lojban-beginners@googlegroups.com Received: by 10.140.84.103 with SMTP id k94ls60513qgd.39.gmail; Tue, 04 Mar 2014 15:25:10 -0800 (PST) X-Received: by 10.236.29.45 with SMTP id h33mr932160yha.45.1393975510571; Tue, 04 Mar 2014 15:25:10 -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 ys4si125714vdc.2.2014.03.04.15.25.06 for ; Tue, 04 Mar 2014 15:25:06 -0800 (PST) Received-SPF: neutral (google.com: 75.180.132.120 is neither permitted nor denied by best guess record for domain of phma@leaf.dragonflybsd.org) client-ip=75.180.132.120; X-Authority-Analysis: v=2.0 cv=S8pbMfQP c=1 sm=0 a=GbbTObCcR0DEgiyvVRM9bQ==:17 a=0ecOPdCcRMUA:10 a=f7qUud6zIuYA:10 a=8FkShg9EJMIA:10 a=LlzFzjEJNC0A:10 a=kj9zAlcOel0A:10 a=8ggJXkvBAAAA:8 a=KGjhK52YXX0A:10 a=pGLkceISAAAA:8 a=RD1GFuRJ0-SkAoYJry8A:9 a=CjuIK1q_8ugA:10 a=MSl-tDqOz04A:10 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:37864] helo=leopard.ixazon.lan) by cdptpa-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 91/1C-17312-FC066135; Tue, 04 Mar 2014 23:25:05 +0000 Received: from caracal.localnet (localhost [127.0.0.1]) by leopard.ixazon.lan (Postfix) with ESMTP id 3292F41C5 for ; Tue, 4 Mar 2014 18:25:04 -0500 (EST) From: Pierre Abbat To: lojban-beginners@googlegroups.com Subject: Re: [lojban-beginners] Lojban spellchecker class (PHP/javascript) Date: Tue, 04 Mar 2014 18:25:02 -0500 Message-ID: <1783791.V9xfQQMMfV@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@leaf.dragonflybsd.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@leaf.dragonflybsd.org) smtp.mail=phma@leaf.dragonflybsd.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: / 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.