Received: from mail-lb0-f188.google.com ([209.85.217.188]:34245) by stodi.digitalkingdom.org with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.80.1) (envelope-from ) id 1YbtKY-0002va-KS; Sat, 28 Mar 2015 09:11:28 -0700 Received: by lbiv13 with SMTP id v13sf3480879lbi.1; Sat, 28 Mar 2015 09:11:19 -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=8dR2cjvyuMjfKZTmNSvXmzgNVBGsk0XiPTM+Fxhb7ZA=; b=G3kshY652OSwEKTrT4d8GBA+yLPo2KR5FmwYdK4AfPvWdpkEng2I9ENAsJpxgro17d lstnRIcUKzk4OegSNBE0RabTcghFQF+8/n7uZ8EFsBT8BW/GtIm9ZjXuMKOcl8dqQEoQ XZOhV3VsOkfIUqLi4GUyS+wR7ILU+R01JmtGnfV0EZNNHqd6EBirvRCEsJA940FAc/5h NSfO3ogUNObhmpv1iewkLQEos2aHxGEVDR8FPZYLXRHg38rMFiXFL1YTNJftDb7dRg6x FnP/p+P8j+Wbv6sTYEQ4U62VrctcM+dX6JsOQTm2+wQ9H1Mi+VozGX1gk5dTzvvxXEfM rV1A== X-Received: by 10.152.22.198 with SMTP id g6mr375515laf.28.1427559079261; Sat, 28 Mar 2015 09:11:19 -0700 (PDT) X-BeenThere: bpfk-list@googlegroups.com Received: by 10.152.43.199 with SMTP id y7ls488455lal.63.gmail; Sat, 28 Mar 2015 09:11:18 -0700 (PDT) X-Received: by 10.112.148.10 with SMTP id to10mr6073278lbb.18.1427559078642; Sat, 28 Mar 2015 09:11:18 -0700 (PDT) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com. [2a00:1450:400c:c05::230]) by gmr-mx.google.com with ESMTPS id sf8si280115wic.2.2015.03.28.09.11.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Mar 2015 09:11:18 -0700 (PDT) Received-SPF: pass (google.com: domain of gleki.is.my.name@gmail.com designates 2a00:1450:400c:c05::230 as permitted sender) client-ip=2a00:1450:400c:c05::230; Received: by mail-wi0-x230.google.com with SMTP id bg6so58150431wib.0 for ; Sat, 28 Mar 2015 09:11:18 -0700 (PDT) X-Received: by 10.194.81.233 with SMTP id d9mr48376000wjy.42.1427559078515; Sat, 28 Mar 2015 09:11:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.240.197 with HTTP; Sat, 28 Mar 2015 09:10:58 -0700 (PDT) In-Reply-To: References: From: Gleki Arxokuna Date: Sat, 28 Mar 2015 19:10:58 +0300 Message-ID: Subject: Re: [bpfk] Improvements to fragments in ilmentufa parser To: bpfk-list@googlegroups.com Content-Type: multipart/alternative; boundary=047d7bb04b82c5582a05125b7f1c 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::230 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: - Content-Length: 13802 --047d7bb04b82c5582a05125b7f1c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2015-03-28 1:21 GMT+03:00 Jorge Llamb=C3=ADas : > > On Fri, Mar 27, 2015 at 10:34 AM, Gleki Arxokuna < > gleki.is.my.name@gmail.com> wrote: >> >> 2015-03-27 11:00 GMT+03:00 Gleki Arxokuna : >> > > >> What methods do you use or want to make the development process happen >>> faster? >>> A web tool that would allow to insert a complete PEG file, compile it >>> and test it online? >>> >> > I used this one when debugging the morphology recently: > http://pegjs.org/online > If you are satisfied with it then okay. If not please let us know what would you like to have so that we accelerate the development. > > A presentation of the grammar without the javascript would make it much > more readable for me. > You mean you don't like those "expr:(" ? For me it's a very minor issue. A larger one might be if you don't have an opportunity to input a peg and test sentences and get output anytime you want. E.g. if you can't install something you may ask Robin to give you access to la vrici server and then using tty.js get web access to ssh and then node.js and camxes.js. Let me know of any difficulties. Well, really you need to tell me javascript litter really stops you from working on PEG. Tastes differ, if it stops you I'll think what can be done. > Also, a grammar without SA is much more readable than one with SA. I find > the SA-rules extremely annoying. > > bridi-tail-3 <- selbri? tail-terms / gek-sentence >>>> >>> >>> Hard for me to determine what is the cause but this breaks {mi zo'u mi >>> mo}. >>> >> >> Probably because it thinks that prenex is a selbri. >> > > Adding !ZOhU-clause at the end of tail-terms might fix that: > > tail-terms <- terms? VAU-clause? free* !ZOhU-clause > Looks like it worked out. Although, I don't like using "selbri?" I used "( selbri / GOhA_elidible)" which gives prettier results. > > What are the minimal requirements to restore a bridi if not from terms or >> from bridi_tail ? Probably it can be restored from isolated {i} or {ni'o= } >> but since this already works, then other types of restoration should be >> discussed separately since they don't touch anything here. >> > > Other than fragments, I think everything else in a text is either a > sentence, a sentence connective > Connectives as replies to {ji} questions are interesting. I suppose current camxes.js could be cured to support that. Do you have an algorithm in mind on how to restore such sentences? Obviously {zo'e je zo'e cu co'e} is not a good restoration. I'd like copying sentences with {ji} and replacing {ji} with connectives. This also requires working with {go'i}. - do ji mi nelci - e =3D > do e mi nelci - xu do nelci - go'i =3D> mi nelci A: - mi nelci B: - go'i ra'o =3D> {mi nelci} or {by nelci} or {by cusku lo se du'u by. nelci} Any other test sentences? , or the initial indicators, free modifiers, and the strange initial bare > cmevla. I think only fragments require "restoration". > > >> 2. We could also add this if "fragment" is removed from the grammar: >> >> tanru_unit_1 =3D tanru_unit_2 linkargs? / linkargs? tanru_unit_2 */ >> GOhA_elidible linkargs* >> >> This makes {i be mi} parse as (i [CU {COhE } VAU]) >> > > If you're going to do that, why put it in tanru-unit-1 and not in > tanru-unit-2? > > If you allow (i [CU {COhE } VAU]), why not (i [CU {na'e > } VAU]), or (i [CU {jai } VAU]) for example? > Probably yes, but only if we assume interpretation a) i.e. not how selpa'i used them. --=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. --047d7bb04b82c5582a05125b7f1c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2015-03-28 1:21 GMT+03:00 Jorge Llamb=C3=ADas <jjllambias@gmail.com= >:

On Fri, Mar 27, 2015 = at 10:34 AM, Gleki Arxokuna <gleki.is.my.name@gmail.com> wrote:
2015-03-27 11:00 GMT+03:00 Gleki Arxokuna <gleki.is.my.name@gmail.com>:
=C2=A0
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;pa= dding-left:1ex">
What methods do you use or want to make the development pr= ocess happen faster?
A web tool that would allow to insert a comp= lete PEG file, compile it and test it online?

I u= sed this one when debugging the morphology recently: http://pegjs.org/online

If you are satisfied with it then = okay. If not please let us know what would you like to have so that we acce= lerate the development.
=C2=A0

<= div>A presentation of the grammar without the javascript would make it much= more readable for me.

<= div>You mean you don't like those "expr:(" ? For me it's = a very minor issue. A larger one might be if you don't have an opportun= ity to input a peg and test sentences and get output anytime you want. E.g.= if you can't install something you may ask Robin to give you access to= la vrici server and then using tty.js get web access to ssh and then node.= js and camxes.js. Let me know of any difficulties.

Well, really you need to tell me javascript litter really stops you from w= orking on PEG. Tastes differ, if it stops you I'll think what can be do= ne.


Also, a grammar wi= thout SA is much more readable than one with SA. I find the SA-rules extrem= ely annoying.

=
=C2=A0bridi-tail-3 <- selbri? tail-terms / gek-sentence

Hard for m= e to determine what is the cause but this breaks {mi zo'u mi mo}.
=

Probably because = it thinks that prenex is a selbri.=C2=A0

Adding !ZOhU-clause at the end of tail-terms m= ight fix that:

=C2=A0tail-terms <- terms? VAU-clause? free* !ZOhU-cl= ause

Looks l= ike it worked out. Although, I don't like using "selbri?" I u= sed "( selbri / GOhA_elidible)" which gives prettier results.=C2= =A0

<= div class=3D"gmail_extra">
What are the mini= mal requirements to restore a bridi if not from terms or from bridi_tail ? = Probably it can be restored from isolated {i} or {ni'o} but since this = already works, then other types of restoration should be discussed separate= ly since they don't touch anything here.

Other than fragments, I think everything e= lse in a text is either a sentence, a sentence connective
=

Connectives as replies to {ji} quest= ions are interesting. I suppose current camxes.js could be cured =C2=A0to s= upport that. Do you have an algorithm in mind on how to restore such senten= ces? Obviously {zo'e je zo'e cu co'e} is not a good restoration= . I'd like copying sentences with {ji} and replacing {ji} with connecti= ves. This also requires working with {go'i}.

-= do ji mi nelci
- e =3D > do e mi nelci

- xu do nelci
- go'i =3D> mi nelci

=
A: - mi nelci
B: - go'i ra'o =3D> {mi nelci} or {= by nelci} or {by cusku lo se du'u by. nelci}

A= ny other test sentences?=C2=A0

, or t= he initial indicators, free modifiers, and the strange initial bare cmevla.= I think only fragments require "restoration".
=C2=A0
2.=C2=A0We could also add this if = "fragment" is removed from the grammar:

=
tanru_unit_1 =3D tanru_unit_2 linkargs? / linkargs? tanru_unit_2 / = GOhA_elidible linkargs

This makes {i be = mi} parse as=C2=A0(i [CU {COhE <be mi BEhO>} VAU])=C2=A0
<= /div>

If you're going to d= o that, why put it in tanru-unit-1 and not in tanru-unit-2?=C2=A0

If you allow =C2=A0(i [CU {COhE <be mi BEhO>} VAU]), = why not (i [CU {na'e <COhE>} VAU]), or (i [CU {jai <COhE>} = VAU]) for example?

= Probably yes, but only if we assume interpretation a) i.e. not how selpa= 9;i used them.

--
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.
--047d7bb04b82c5582a05125b7f1c--