<div dir="ltr"><div>Igor,</div><div><br></div><div>To illustrate Norbert's answer, here a REPL session in my terminal with your sentences :</div><div><br></div><div>note I tell APE to use a lexicon : you can find this lexicon in the github repository and you'll see it's fairly simple to set.</div><div><br></div><div><span style="font-family:monospace">$ ./ape.exe -ulexfile lexicon/<a href="http://clex_lexicon.pl">clex_lexicon.pl</a> -cdrs  -cparaphrase1<br>"Lessons" is an application.<br><?xml version="1.0" encoding="UTF-8"?><br><br><apeResult><br>  <duration tokenizer="0.012" parser="0.003" refres="0.001"/><br>  <drs>drs([],[])</drs><br>  <paraphrase1></paraphrase1><br>  <messages><br>    <message<br>     importance="warning"<br>        type="lexicon"<br>      sentence=""<br> token=""<br>    value="less"<br>        repair="This function word should not be redefined in the user lexicon."/><br>    <message<br>    importance="warning"<br>        type="lexicon"<br>      sentence=""<br> token=""<br>    value="like"<br>        repair="Bad intersection: preposition and transitive verb."/><br>    <message<br> importance="error"<br>  type="word"<br> sentence="1"<br>        token=""<br>    value="application"<br> repair="Use the prefix n:, v:, a: or p:."/><br>    <message<br>   importance="error"<br>  type="sentence"<br>     sentence="1"<br>        token="4"<br>   value="&quot;Lessons&quot; is an &lt;> application."<br> repair="This is the first sentence that was not ACE. The sign &lt;> indicates the position where parsing failed."/><br>  </messages><br></apeResult></span></div><div><br></div><div>Note I used double quotes and not simple quotes on "Lessons".</div><div><br></div><div>Now, if you tell APE that "application" is a noon :</div><div><span style="font-family:monospace"><i>$ ./ape.exe -ulexfile lexicon/<a href="http://clex_lexicon.pl">clex_lexicon.pl</a> -cdrs  -cparaphrase1<br>"Lessons" is an n:application.<br><?xml version="1.0" encoding="UTF-8"?><br><br><apeResult><br>  <duration tokenizer="0.000" parser="0.003" refres="0.000"/><br>  <drs>drs([A,B],[object(A,application,countable,na,eq,1)-1/6,predicate(B,be,string('Lessons'),A)-1/2])</drs><br>  <paraphrase1>"Lessons" is an n:application .</paraphrase1><br>  <messages><br>    <message<br>    importance="warning"<br>        type="lexicon"<br>      sentence=""<br> token=""<br>    value="less"<br>        repair="This function word should not be redefined in the user lexicon."/><br>    <message<br>    importance="warning"<br>        type="lexicon"<br>      sentence=""<br> token=""<br>    value="like"<br>        repair="Bad intersection: preposition and transitive verb."/><br>  </messages><br></apeResult></i></span></div><div><br></div><div>By prefixing application with "n:" you told APE that "application" is noon, and the parse didn't fail.</div><div><br></div><div>Now, be sure all your sentences are ACE : <br></div><div><span style="font-family:monospace"> $ ./ape.exe  -cdrs  -cparaphrase1<br>"Lessons" contains one or more n:projects.<br><?xml version="1.0" encoding="UTF-8"?><br><br><apeResult><br>  <duration tokenizer="0.001" parser="0.003" refres="0.000"/><br>  <drs>drs([],[])</drs><br>  <paraphrase1></paraphrase1><br>  <messages><br>    <message<br>      importance="error"<br>  type="sentence"<br>     sentence="1"<br>        token="4"<br>   value="&quot;Lessons&quot; contains one &lt;> or more n:projects ."<br>  repair="This is the first sentence that was not ACE. The sign &lt;> indicates the position where parsing failed."/><br>  </messages><br></apeResult><br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"> $ ./ape.exe  -cdrs  -cparaphrase1<br>"Lessons" contains a n:projects or "Lessons" contains some n:projects.<br><?xml version="1.0" encoding="UTF-8"?><br><br><apeResult><br>  <duration tokenizer="0.001" parser="0.002" refres="0.000"/><br>  <drs>drs([],[<b>v</b>(drs([A,B],[object(A,projects,<b>countable</b>,na,<b>eq,1</b>)-1/6,predicate(B,contain,string('Lessons'),A)-1/2]),drs([C,D],[object(C,projects,<b>countable,na,geq,2</b>)-1/13,predicate(D,contain,string('Lessons'),C)-1/9]))])</drs><br>  <paraphrase1>"Lessons" contains a n:projects or "Lessons" contains at least 2 n:projects .</paraphrase1><br>  <messages/><br></apeResult><br></span></div><div><br></div><div>You can see you have your "one or more"</div><div><br></div><div>If you like the try and error method, like me, you could learn ACE by using it interactively !<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 24 déc. 2020 à 14:01, Igor Kryltsov <<a href="mailto:kryltsov@gmail.com">kryltsov@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi Norbert,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thank you very much for the answers and guides!</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="color:rgb(80,0,80);font-family:Arial,Helvetica,sans-serif">>> I see <a href="http://attempto.ifi.uzh.ch/site/docs/ace_constructionrules.html" rel="noreferrer" target="_blank">http://attempto.ifi.uzh.ch/site/docs/ace_constructionrules.html</a> (Proper Names) but no example of how to make definitions of not proper concepts so to speak.<br></span><span style="font-family:Arial,Helvetica,sans-serif">>This I do not understand. What are "not proper concepts"?</span>  <span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">If I want to define 'Lessons' as an application name and refer to it as a named entity in further statements.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">'Lessons' is an application. 'Lessons' application contains lessons</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">For example, using familiar terms</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">'XYZ' is an application. 'XYZ' contains one or more projects. Every project contains tasks. </div><div class="gmail_default" style="font-family:tahoma,sans-serif">I want to define:</div><div class="gmail_default" style="font-family:tahoma,sans-serif">'Lessons' is an application. 'Lessons' contains one or more lessons. Every lesson contains tasks. </div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Would it be a better way to go (assuming I will learn construction and interpretation rules) to do this:<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">'Lessons' is an application. </div><div class="gmail_default" style="font-family:tahoma,sans-serif">

 'Lessons' contains one or more projects.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">A project contains one or more tasks.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">Projects in 'Lessons' are called 'lesson'.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">This way I create a knowledge base that connects specifics of 'Lessons' (application a user may create to create piano lessons on Youtube) with the general knowledge that tasks are parts of projects. </div><div class="gmail_default" style="font-family:tahoma,sans-serif"> </div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks!</div></div></div>
_______________________________________________<br>
attempto mailing list<br>
<a href="mailto:attempto@lists.ifi.uzh.ch" target="_blank">attempto@lists.ifi.uzh.ch</a><br>
<a href="https://lists.ifi.uzh.ch/listinfo/attempto" rel="noreferrer" target="_blank">https://lists.ifi.uzh.ch/listinfo/attempto</a><br>
</blockquote></div>