Received: from mail-wi0-f187.google.com ([209.85.212.187]:34221) by stodi.digitalkingdom.org with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.80.1) (envelope-from ) id 1YdC4V-0007eS-MS; Tue, 31 Mar 2015 23:24:20 -0700 Received: by wivr20 with SMTP id r20sf14968911wiv.1; Tue, 31 Mar 2015 23:24:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type: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; bh=FVuNFxQ+yLvO9C2pjhBzk1JNRj72qmd9NYdKiCcsvY4=; b=VLsllOgDpoKwXyOT98C0KykN7pf/c88ZnkojsVdFsvdLVJMuPj/3a74NyLgTPTorKy nIUPUSbhFTC7hORCaVddTCaiEIiUn2GwHBPJYuW8wzMa1C0Bo+eJHV7rt9T5WRxrWTRV BcClHm6WYhNMzwsWBwUUz6i1rtKgmGi5IDTzEQjKjHIuteT7HJ9vuRwMp3EbYqHvLkix 3Ci8utVuJlaBOwQESc7r+quDlUiIeas9wVfC5FsoTNcH36QFH0NVBelCbpPvtnm13XsS IYQsQ6OGtEtq1AwPTMtp9knGmUCb1QQU4xx9evav49fG/OFJPTuXIEOJeMDSJjfozekP HS9g== X-Received: by 10.152.22.38 with SMTP id a6mr111759laf.14.1427869448509; Tue, 31 Mar 2015 23:24:08 -0700 (PDT) X-BeenThere: bpfk-list@googlegroups.com Received: by 10.152.115.211 with SMTP id jq19ls31085lab.32.gmail; Tue, 31 Mar 2015 23:24:08 -0700 (PDT) X-Received: by 10.152.37.231 with SMTP id b7mr1948400lak.5.1427869448052; Tue, 31 Mar 2015 23:24:08 -0700 (PDT) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com. [2a00:1450:400c:c00::235]) by gmr-mx.google.com with ESMTPS id c8si1129439wiw.1.2015.03.31.23.24.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Mar 2015 23:24:08 -0700 (PDT) Received-SPF: pass (google.com: domain of gleki.is.my.name@gmail.com designates 2a00:1450:400c:c00::235 as permitted sender) client-ip=2a00:1450:400c:c00::235; Received: by wgra20 with SMTP id a20so41977322wgr.3 for ; Tue, 31 Mar 2015 23:24:08 -0700 (PDT) X-Received: by 10.194.143.20 with SMTP id sa20mr10217974wjb.16.1427869447914; Tue, 31 Mar 2015 23:24:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.240.197 with HTTP; Tue, 31 Mar 2015 23:23:47 -0700 (PDT) In-Reply-To: References: From: Gleki Arxokuna Date: Wed, 1 Apr 2015 09:23:47 +0300 Message-ID: Subject: Re: [bpfk] selma'o ZEhEI and PEG To: bpfk-list@googlegroups.com Content-Type: multipart/alternative; boundary=089e0122ece23a8bcf0512a3c317 X-Original-Sender: gleki.is.my.name@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of gleki.is.my.name@gmail.com designates 2a00:1450:400c:c00::235 as permitted sender) smtp.mail=gleki.is.my.name@gmail.com; dkim=pass header.i=@gmail.com; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com Reply-To: bpfk-list@googlegroups.com Precedence: list Mailing-list: list bpfk-list@googlegroups.com; contact bpfk-list+owners@googlegroups.com List-ID: X-Google-Group-Id: 972099695765 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -1.7 (-) X-Spam_score: -1.7 X-Spam_score_int: -16 X-Spam_bar: - --089e0122ece23a8bcf0512a3c317 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable That still adds a lot of strings to the grammar. Can you think of a better way with a different grammar that will allow us to glue semantics from one word and grammar from another word? 2015-04-01 2:45 GMT+03:00 Jorge Llamb=C3=ADas : > > gleki asked about incorporating selma'o ZEhEI to PEG and I said it would > require modifying lots and lots of rules, basically all the selma'o rules= . > But maybe not. > > I was thinking of ZEhEI as being similar to ZEI, but that's probably not > the best way to think about it. ZEhEI is actually much more like BU. The > only difference is that instead of creating something like BY, it creates > something like BAhE. So we only need to do for ZEhEI wrt to BAhE what we = do > for BU wrt to BY. > > This is still not trivial, because BU interacts with ZEI in weird ways, > and now we'd be adding a third ingredient into the mix, which makes it al= l > even more messy. But the required modifications would probably look > something like this: > > zehei-clause <- pre-clause zehei-clause-no-pre > zehei-clause-no-pre <- pre-zei-bu (zehei-tail? zei-tail / zehei-tail? bu-= tail)* zehei-tail post-clause > > zei-clause-no-pre <- pre-zei-bu (zei-tail? bu-tail / zei-tail? zehei-tail= )* zei-tail post-clause > > bu-clause-no-pre <- pre-zei-bu (bu-tail? zei-tail / bu-tail? zehei-tail)*= bu-tail post-clause > > zehei-tail <- ZEhEI-clause+ > > pre-zei-bu <- (!ZEhEI-clause !BU-clause !ZEI-clause !SI-clause !SA-clause= !SU-clause !FAhO-clause any-word-SA-handling) si-clause? > > ; turns any word into a BAhE modifier > > ZEhEI-clause <- ZEhEI-pre ZEhEI-post > ZEhEI-pre <- pre-clause ZEhEI spaces? > ZEhEI-post <- spaces? > > ; next word intensifier > BAhE-clause <- (BAhE-pre BAhE-post)+ / zehei-clause+ > BAhE-pre <- BAhE spaces? > BAhE-post <- si-clause? !ZEI-clause !BU-clause !ZEhEI-clause > > I haven't tested any of this, and it may require further tweaking, but th= at's the general idea. It may also be necessary to add !ZEhEI-clause wherev= er there's a !ZEI-clause !BU-clause, but I suspect many of those are actual= ly redundant. > > mu'o mi'e xorxes > > > -- > You received this message because you are subscribed to the Google Groups > "BPFK" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to bpfk-list+unsubscribe@googlegroups.com. > To post to this group, send email to bpfk-list@googlegroups.com. > Visit this group at http://groups.google.com/group/bpfk-list. > For more options, visit https://groups.google.com/d/optout. > --=20 You received this message because you are subscribed to the Google Groups "= BPFK" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to bpfk-list+unsubscribe@googlegroups.com. To post to this group, send email to bpfk-list@googlegroups.com. Visit this group at http://groups.google.com/group/bpfk-list. For more options, visit https://groups.google.com/d/optout. --089e0122ece23a8bcf0512a3c317 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
That still adds a lot of strings to the grammar.
Can y= ou think of a better way with a different grammar that will allow us to glu= e semantics from one word and grammar from another word?

2015-04-01 2:45 GMT+03:0= 0 Jorge Llamb=C3=ADas <jjllambias@gmail.com>:

gleki asked about incorpor= ating selma'o ZEhEI to PEG and I said it would require modifying lots a= nd lots of rules, basically all the selma'o rules. But maybe not.
=

I was thinking of ZEhEI as being similar to ZEI, but th= at's probably not the best way to think about it. ZEhEI is actually muc= h more like BU. The only difference is that instead of creating something l= ike BY, it creates something like BAhE. So we only need to do for ZEhEI wrt= to BAhE what we do for BU wrt to BY.

This is stil= l not trivial, because BU interacts with ZEI in weird ways, and now we'= d be adding a third ingredient into the mix, which makes it all even more m= essy. But the required modifications would probably look something like thi= s:

zehe=
i-clause <- pre-clause zehei-clause-no-pre
zehei-clause-no-pre <- pre-zei-bu (zehei-tail? zei-tail / zehei-tail? bu=
-tail)* zehei-tail post-clause
zei-cla=
use-no-pre <- pre-zei-bu (zei-tail? bu-tail / zei-tail? zehei-tail)* zei=
-tail post-clause

bu-clause-no-pre <- pre-zei-bu (bu-tail? zei-tail / bu-tail? zehei-tail)=
* bu-tail post-clause
zehei-tail <- ZEhEI-clause+
pre-zei-bu <- (!ZEhEI-claus=
e !BU-clause !ZEI-clause !SI-clause !SA-clause !SU-clause !FAhO-clause any-=
word-SA-handling) si-clause?
;       =
  turns any word into a BAhE modifier 
ZEhEI-clause <- ZEhEI-pre ZEhEI-post
ZEhEI-pre <- pre-clause ZEhEI spaces?
ZEhEI-post <- spaces?
;         next word intensifie=
r=20
BAhE-clause <- (BAhE-pre BAhE-post)+ / zehei-clause+
BAhE-pre <- BAhE spaces?
BAhE-post <- si-clause? !ZEI-clause !BU-clause !ZEhEI-clause
I haven't teste=
d any of this, and it may require further tweaking, but that's the gene=
ral idea. It may also be necessary to add !ZEhEI-clause wherever there'=
s a !ZEI-clause !BU-clause, but I suspect many of those are actually redund=
ant.
mu'o mi'=
;e xorxes

<= /div>

--
You received this message because you are subscribed to the Google Groups &= quot;BPFK" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to bpfk-list+unsubscribe@googlegroups.com.
To post to this group, send email to bpfk-list@googlegroups.com.
Visit this group at http://groups.google.com/group/bpfk-list.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups &= quot;BPFK" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to bpfk-list= +unsubscribe@googlegroups.com.
To post to this group, send email to bpfk-list@googlegroups.com.
Visit this group at ht= tp://groups.google.com/group/bpfk-list.
For more options, visit http= s://groups.google.com/d/optout.
--089e0122ece23a8bcf0512a3c317--