<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Simge,<div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>The code I gave you below is looking for SUBJ followed by word "and" followed by COORD. This sequence is a modified copy of your command line. I just replaced CONJ with more specific word "and". I don't know what sequences you are looking for, nor do I know what your data looks like, so I can't be more precise with my suggestions. To learn more about syntax of +sm or +sg type command "freq +sm" or "freq +sg" in CLAN or read about it in CLAN manual.</div><div class=""><br class=""></div><div class="">Also, my suggested command lines are tested with the latest version of CLAN and the latest MOR grammar only. If you have an older version of CLAN or your data was created with older versions of MOR grammar, then those commands might not work.<br class=""><div class="">
<br class=""><br class="">Leonid.
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Jul 24, 2019, at 12:18, Topaloglu, Simge <<a href="mailto:sit591@g.harvard.edu" class="">sit591@g.harvard.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div dir="ltr" class="">Hi Leonid,</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">Thank you so much, but I don't think this code works. It doesn't detect anything, and I get the message "Strings matched 0 times" for all files. I think the code needs to be modified, but I don't know how.</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">S.<br class=""><div class=""><br class=""></div></div></div></div></div><br class=""></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 23, 2019 at 11:04 PM Leonid Spektor <<a href="mailto:spektor@andrew.cmu.edu" class="">spektor@andrew.cmu.edu</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">Hi Simge,<div class=""><br class=""></div><div class="">You can use this command to make sure that only word “and” is found:</div><div class=""><br class=""></div><div class="">combo +d7 +sg|SUBJ^m;and^g|COORD<br class=""><div class="">
<br class=""><br class="">Leonid.
</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jul 23, 2019, at 19:37, Simge Topaloglu <<a href="mailto:sit591@g.harvard.edu" target="_blank" class="">sit591@g.harvard.edu</a>> wrote:</div><br class="gmail-m_1820787488253666070Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello,<div class=""><br class=""></div><div class="">I am trying to extract instances where the conjunction 'and' connects elements of the same syntactic category that form a constituent together, e.g., complex subjects like "John and Mary" as in "John and Mary like apples" or complex objects as in "John likes apples and pears" or - though I know this is presumably trickier - VPs as in "John likes apples and hates pears."</div><div class=""><br class=""></div><div class="">The first code I tried for an <i class="">approximation </i>of what I wanted was <font color="#0000ff" class="">combo +d7 +sg|SUBJ^g|CONJ^g|COORD +t%mor +t%gra.</font></div><div class=""><font color="#0000ff" class=""><br class=""></font></div><div class=""><font class="">This found all subjects immediately followed by a conjunction immediately followed by the element that was conjoined with this subject. But as you will notice, there are things this code doesn't get. For example, I am only interested in <i class="">and</i>, but this code finds other conjunctions like <i class="">or</i> as well. I tried to incorporate this information into the code using the %mor tier (<i class="">coord|and</i>), but I think I made a mistake because I got a blank output. Also, while I can make this code work for subjects and objects, I don't know how I will extract cases of VP-level conjunction, because the heads of the conjoined phrases (the verbs) will not necessarily be adjacent. </font></div><div class=""><font class=""><br class=""></font></div><div class=""><font class="">Any help for solving these problems would be much appreciated.</font></div><div class=""><font class=""><br class=""></font></div><div class=""><font class="">Thank you so much,</font></div><div class=""><font class=""><br class=""></font></div><div class=""><font class="">Simge</font></div><div class=""><font class=""><br class=""></font></div><div class=""><font class=""><br class=""></font></div></div><div class=""><br class="gmail-m_1820787488253666070webkit-block-placeholder"></div>
-- <br class="">
You received this message because you are subscribed to the Google Groups "chibolts" group.<br class="">
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com" target="_blank" class="">chibolts+unsubscribe@googlegroups.com</a>.<br class="">
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/47e39390-54d6-49ce-8d31-6ad57a76f504%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" class="">https://groups.google.com/d/msgid/chibolts/47e39390-54d6-49ce-8d31-6ad57a76f504%40googlegroups.com</a>.<br class="">
</div></blockquote></div><br class=""></div></div><div class=""><br class="webkit-block-placeholder"></div>
-- <br class="">
You received this message because you are subscribed to the Google Groups "chibolts" group.<br class="">
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com" target="_blank" class="">chibolts+unsubscribe@googlegroups.com</a>.<br class="">
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/99E8E59A-23C6-4C9D-8E25-AD16EB4BB0D3%40andrew.cmu.edu?utm_medium=email&utm_source=footer" target="_blank" class="">https://groups.google.com/d/msgid/chibolts/99E8E59A-23C6-4C9D-8E25-AD16EB4BB0D3%40andrew.cmu.edu</a>.<br class="">
</blockquote></div><div class=""><br class="webkit-block-placeholder"></div>
-- <br class="">
You received this message because you are subscribed to the Google Groups "chibolts" group.<br class="">
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com" class="">chibolts+unsubscribe@googlegroups.com</a>.<br class="">
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/CAF%3Drusb-GXVXmZgTHhfgyY1Z2ZCou8yAgp1VXTgKwvw2QTtoGg%40mail.gmail.com?utm_medium=email&utm_source=footer" class="">https://groups.google.com/d/msgid/chibolts/CAF%3Drusb-GXVXmZgTHhfgyY1Z2ZCou8yAgp1VXTgKwvw2QTtoGg%40mail.gmail.com</a>.<br class="">
</div></blockquote></div><br class=""></div></body></html>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "chibolts" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com">chibolts+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/0AB5A9E6-4CBF-4A32-AC4B-CDF51A913C92%40andrew.cmu.edu?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/0AB5A9E6-4CBF-4A32-AC4B-CDF51A913C92%40andrew.cmu.edu</a>.<br />