Received: from mail-la0-f56.google.com ([209.85.215.56]:33755) by stodi.digitalkingdom.org with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.80.1) (envelope-from ) id 1Yg9lQ-00018o-H1; Thu, 09 Apr 2015 03:32:52 -0700 Received: by labgd6 with SMTP id gd6sf38073652lab.0; Thu, 09 Apr 2015 03:32:40 -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=xdq5RLyLCR+MVC1xuhpfOH+MlRLfH+MrnWBa9mUb3+k=; b=YaXJ6SGzlLa/tIFF83DPxkCkxpby3HnhOjWHGR8dRoMKor1Kf6cjhSf71VgevmGnOH F3xNbIzkfYK7BiPVDAW0A6/t11d/kVc5Gm1OzPKMsOKOnFphDKuWxlYs4718AaeeZ1Aw ORqVhGD8kGApeM6o6G0FH7lZg3lNMZcTC3X2eagS5eJfiZTBAxxHVJr+Rbc1SBhhMmcz H0AZA5vU4aelYhUJ/wyCbtq2NVA6xiaw/mnveAkurAlxF8xuDTZEk4km6p39wBu0rPyP liwMwcXMgVNuhD0dmBJ+s8qZEbZTqyOpVJyu+MQFq997ZUmhWQ8aPyNoUHC+FHectByO 7xRQ== X-Received: by 10.152.37.196 with SMTP id a4mr58383lak.23.1428575560388; Thu, 09 Apr 2015 03:32:40 -0700 (PDT) X-BeenThere: bpfk-list@googlegroups.com Received: by 10.152.115.211 with SMTP id jq19ls329635lab.32.gmail; Thu, 09 Apr 2015 03:32:39 -0700 (PDT) X-Received: by 10.152.20.41 with SMTP id k9mr619572lae.10.1428575559845; Thu, 09 Apr 2015 03:32:39 -0700 (PDT) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com. [2a00:1450:400c:c05::22c]) by gmr-mx.google.com with ESMTPS id q10si363805wiz.0.2015.04.09.03.32.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Apr 2015 03:32:39 -0700 (PDT) Received-SPF: pass (google.com: domain of gleki.is.my.name@gmail.com designates 2a00:1450:400c:c05::22c as permitted sender) client-ip=2a00:1450:400c:c05::22c; Received: by mail-wi0-x22c.google.com with SMTP id di4so86366547wid.0 for ; Thu, 09 Apr 2015 03:32:39 -0700 (PDT) X-Received: by 10.180.8.98 with SMTP id q2mr4832080wia.80.1428575559678; Thu, 09 Apr 2015 03:32:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.240.197 with HTTP; Thu, 9 Apr 2015 03:32:19 -0700 (PDT) In-Reply-To: References: From: Gleki Arxokuna Date: Thu, 9 Apr 2015 13:32:19 +0300 Message-ID: Subject: [bpfk] Re: te sumti detection using PEG To: bpfk-list@googlegroups.com Content-Type: multipart/alternative; boundary=f46d04426e38c4fec60513482a22 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:c05::22c 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: -2.4 (--) X-Spam_score: -2.4 X-Spam_score_int: -23 X-Spam_bar: -- Content-Length: 5829 --f46d04426e38c4fec60513482a22 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2015-04-08 15:50 GMT+03:00 Gleki Arxokuna : > This is how sentence looks now in my PEG: > Obviously, that's was the first draft. Currently, "sentence" looks like this (the last string is what it was originally): sentence =3D expr:( (termsfa bridi_tail_t1fefi) / /* mi klama do ti*/ (termsfa bridi_tail_t1fe) / /* mi klama do*/ (termsfafe bridi_tail_t1fi) / /* mi do klama ti*/ (termsfafefi bridi_tail_t1) / /* mi do ti klama*/ (termsfafe bridi_tail_t1) / /* mi do klama*/ (termsfa bridi_tail_t1) / /* mi klama*/ (termsBAM? bridi_tail_t1fe) / /* klama do*/ terms? bridi_tail_t1 (joik_jek bridi_tail / joik_jek stag? KE_clause free* bridi_tail KEhE_elidible free*)*) {return _node("sentence", expr);} I think the names of rules tell it all. E.g. "bridi_tail_t1fefi" is a bridi tail like {broda fe ko'a fi ko'a}. https://github.com/Ilmen-vodhr/ilmentufa/blob/master/mahantufa/altatufa.js.= peg Also since my fork autorestores omitted selbri bridi_tail_t1fefi, bridi_tail_t1fe, bridi_tail_t1fi forbid selbri to be elided. So we get: {mi djica lonu lo plise mi lo tricu} =3D> ([FAXIPA mi] [CU {djica } KEI] KU=C2=B9)> VAU}]) since it was an ordinary bridi_tail_t1 where selbri is allowed to be restored. We restore selbri only at the end of bridi since we cannot know whether {lo plise mi lo tricu} is {lo plise mi lo tricu cu co'e} or {lo plise cu co'e mi lo tricu} or {lo plise mi co'e lo tricu} etc. --=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. --f46d04426e38c4fec60513482a22 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= 2015-04-08 15:50 GMT+03:00 Gleki Arxokuna <gleki.is.my.name@gmail= .com>:
This is how sentence looks no= w in my PEG:

Obviously, t= hat's was the first draft. Currently, "sentence" looks like t= his (the last string is what it was originally):

sente= nce =3D expr:(
(termsfa bridi_tail_t1fefi) = / /* mi klama do ti*/
(termsfa bridi_tail_t= 1fe) / /* mi klama do*/
(termsfafe bridi_ta= il_t1fi) / /* mi do klama ti*/
(termsfafefi= bridi_tail_t1) / /* mi do ti klama*/
(term= sfafe bridi_tail_t1) / /* mi do klama*/
(te= rmsfa bridi_tail_t1) / /* mi klama*/
(terms= BAM? bridi_tail_t1fe) / /* klama do*/
terms= ? bridi_tail_t1 (joik_jek bridi_tail / joik_jek stag? KE_clause free* bridi= _tail KEhE_elidible free*)*) {return _node("sentence", expr);}
I think the names of rules tell it all.
E.g. "bridi_tail_t1fefi" is a bridi tail like {broda fe ko'= a fi ko'a}.

https://github.com/Ilmen-vodhr/ilmentufa/blob/mas= ter/mahantufa/altatufa.js.peg

Also since my fork autorestores om= itted selbri bridi_tail_t1fefi,=C2=A0bridi_tail_t1fe,=C2=A0bridi_tail_t1fi = forbid selbri to be elided.

So we get:<= /div>
{mi djica lonu lo plise mi lo tricu} =3D>= ;

([FAXIPA mi] [CU {djica <FAXIRE (=C2=B9lo [nu {<(=C2=B2FAXIP= A [lo plise KU]=C2=B2) (=C2=B2FAXIRE mi=C2=B2) (=C2=B2FAXICI [lo tricu KU]= =C2=B2)> <CU (=C2=B2COhE VAU=C2=B2)>} KEI] KU=C2=B9)> VAU}])=C2= =A0

since it was an ordinary bridi_tail_t1 where selbri is allowed t= o be restored.
We restore selbri only at th= e end of bridi since we cannot know whether
{lo plise mi lo tricu} is=C2=A0{lo plise mi lo tricu cu co'e} or=C2=A0= {lo plise cu co'e mi lo tricu} =C2=A0or=C2=A0{lo plise mi co'e lo t= ricu} etc.

--
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.
--f46d04426e38c4fec60513482a22--