Received: from mail-bw0-f61.google.com ([209.85.214.61]:49021) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) (envelope-from ) id 1RYh90-0007eJ-F7; Thu, 08 Dec 2011 08:48:32 -0800 Received: by bkcje16 with SMTP id je16sf1403166bkc.16 for ; Thu, 08 Dec 2011 08:48:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:date :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type :content-transfer-encoding; bh=pQMHkZaZpjiA9Qdk4nMwrHU1O5FMomARuw0pkdBVnD0=; b=1+KPK5S2u/Sa1A9efLrXvoImg4zkkOGNlvFaooI4qL9AoVFCNLc08FcNQftEAv8kR4 KtkjTKBrjGbMqP8xzkoKfWvs4UPq/Kw+fux3zqYbkns7005QoM9vjZe4phxKaaRNoIku WTmVZEJKmioIYlerziLlB5Mbh0KaflXVuknGs= Received: by 10.204.130.219 with SMTP id u27mr473296bks.20.1323362895741; Thu, 08 Dec 2011 08:48:15 -0800 (PST) X-BeenThere: lojban@googlegroups.com Received: by 10.204.152.154 with SMTP id g26ls3510878bkw.3.gmail; Thu, 08 Dec 2011 08:48:14 -0800 (PST) Received: by 10.205.132.133 with SMTP id hu5mr277871bkc.4.1323362894630; Thu, 08 Dec 2011 08:48:14 -0800 (PST) Received: by 10.205.132.133 with SMTP id hu5mr277870bkc.4.1323362894615; Thu, 08 Dec 2011 08:48:14 -0800 (PST) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by gmr-mx.google.com with ESMTPS id 6si1475489bkv.1.2011.12.08.08.48.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Dec 2011 08:48:14 -0800 (PST) Received-SPF: pass (google.com: domain of jjllambias@gmail.com designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by lahl5 with SMTP id l5so237990lah.27 for ; Thu, 08 Dec 2011 08:48:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.135.195 with SMTP id pu3mr2491979lab.17.1323362894232; Thu, 08 Dec 2011 08:48:14 -0800 (PST) Received: by 10.152.19.198 with HTTP; Thu, 8 Dec 2011 08:48:13 -0800 (PST) In-Reply-To: <611800B1-334B-4D32-B782-6ED30F1E8E62@yahoo.com> References: <20111201021703.GL2886@gonzales> <20111203175028.GC12482@gonzales> <20111203204015.GA11790@gonzales> <20111203233303.GB11790@gonzales> <20111204014942.GC11790@gonzales> <20111204172803.GA3091@gonzales> <1323097700.59133.YahooMailRC@web81308.mail.mud.yahoo.com> <1323271781.23349.YahooMailRC@web81306.mail.mud.yahoo.com> <611800B1-334B-4D32-B782-6ED30F1E8E62@yahoo.com> Date: Thu, 8 Dec 2011 13:48:13 -0300 Message-ID: Subject: Re: [lojban] semantic parser - tersmu-0.1rc1 From: =?ISO-8859-1?Q?Jorge_Llamb=EDas?= To: lojban@googlegroups.com X-Original-Sender: jjllambias@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jjllambias@gmail.com designates 209.85.215.54 as permitted sender) smtp.mail=jjllambias@gmail.com; dkim=pass (test mode) header.i=@gmail.com Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: X-Google-Group-Id: 1004133512417 List-Post: , List-Help: , List-Archive: Sender: lojban@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Spam_score: -0.7 X-Spam_score_int: -6 X-Spam_bar: / On Thu, Dec 8, 2011 at 12:02 AM, John E. Clifford wr= ote: > As I said, this was for one narrow case, where there were no further > complications. =A0With more quantifiers (or modes) in play, more problems > arise. The unpacking rule I'm proposing handles every core grammatical construct involving logical operators (negation, logical connectives and singular quantifiers). So did the rule used by Martin, although it differed from mine in some cases. If you are proposing a rule that only handles a limited number of cases, you are taking us a step back from what we already had.. >=A0I am, for example, inclined to think that your test sentence is > simply illegitimate, since the {su'o plise} =A0is within the scope of > different quantifiers and thus is not guaranteed to have the same > instantiation. I think the assumption we are working with is that every grammatical construct involving this core part of Lojban is legitimate, i.e. grammatical means legitimate for this subset of the language. I don't really see any problem with that assumption. The issue we are facing is the abundance of potential unpacking rules, not a lack of them, so we don't really need to discard some grammatical cases as illegitimate. >=A0If you do want this to be legitimate, =A0then you have, in > fact, "there are some apples of which every boy ate some, but not every g= irl > did" (disjunctive predication hypothesized). That would be: su'oi da poi plise zo'u ge ro de poi nanla ku'o su'o di poi me da zo'u de di citka gi na ku ro de poi nixli ku'o su'o di poi me da zo'u de di citka That doesn't say anything different from what I had, but it is not clear what you gain by introducing the plural quantification, nor where the "su'oi" came from. >=A0Otherwise, the collapse is > meaning-changing, a no-no in this game. I don't follow. If we are considering any unambiguous unpacking rule, whatever the rule is, it is by definition meaning-preserving. One may have a preference for this or that coherent rule, and argue for the merits of one rule over another, but it is the unpacking rule that gives meaning to the packed sentence. The packed sentence doesn't come with a predetermined meaning independent of the unpacking rule. >=A0To reconstruct as you would, does > not correspond to a real collapse rule, for it treats a quantifier phrase > like name. Lojban's packing rules are (in part) something like: (1) Qx:P(x,a) <---> P(Qx,a) (2) P(a,c) & P(b,c) <---> P(a&b,c) (3) P(a,b) & Q(a,c) <---> P(_,b)&Q(_,c) (a) where "Q" stands for any quantifier and "&" for any logical connective. Obviously the right hand side is nothing like the standard notation of first order logic. The problem is that these packing (or unpackinfg) rules are terribly underspecified, since they can be further combined, and so when faced with something like P(Ax&~Ay,Ez) the unpacking could go many different ways depending on the order in which we apply (some generalized form of) rules (1), (2) and (3). My proposed rule is simple: unpack from left to right, with the caveat that afterthought connectives can be converted to forethought first, so that the first connectand is clearly shown to be within the scope of the connective. That gives: P(Ax&~Ay,Ez) =3D P(&(Ax,~Ay),Ez) (convert afterthought to forethought) =3D&(P(Ax,Ez),P(~Ay,Ez)) (by rule 2) =3D&(AxEz:P(x,z), ~AyEz:P(y,z)) (by rule 1 twice for each connectand) =3DAxEz:P(x,z) & ~AyEz:P(y,z) (convert to afterthought again, just to make it look more familiar) There are other possible coherent unpacking rules, but I'm convinced these are the simplest and the ones that make most sense. A somewhat separate issue is what to do with apparently unbound variables. The basic rule is: (4) Ex:P(x) <---> P(x) but again this is underspecified as to the order in which it has to be applied with respect to the other rules. If you want to unpack P(Ax,y), you get something different if you apply (1) and then (4), or if you apply (4) first and then (1). My preferred rule is that whenever you run into a variable x which is apparently unbound, it gets replaced by Ex, so P(x) must be read as P(Ex) and only then apply the unpacking rules 1, 2 and 3 in the order described above. But even better is to never omit the explicit quantifier. > And do you really want to talk about all boys and girls > everywhere? Not necessarily, I would have added a "fe'e ro roi" if I did. But that's not relevant to the issue, is it? mu'o mi'e xorxes --=20 You received this message because you are subscribed to the Google Groups "= lojban" group. To post to this group, send email to lojban@googlegroups.com. To unsubscribe from this group, send email to lojban+unsubscribe@googlegrou= ps.com. For more options, visit this group at http://groups.google.com/group/lojban= ?hl=3Den.