%gra and %mor tiers

Topaloglu, Simge sit591 at g.harvard.edu
Wed Jul 24 18:20:13 UTC 2019


Hi Leonid,

Thanks so much for the heads-up. Indeed, the problem seems to have been
CLAN. I had an earlier version (released in 2018), so I just downloaded and
installed the latest version and the code worked.

Thank you so much!!!

Best wishes,
Simge




On Wed, Jul 24, 2019 at 1:42 PM Leonid Spektor <spektor at andrew.cmu.edu>
wrote:

> Simge,
>
> 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.
>
> 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.
>
>
> Leonid.
>
> On Jul 24, 2019, at 12:18, Topaloglu, Simge <sit591 at g.harvard.edu> wrote:
>
> Hi Leonid,
>
> 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.
>
> S.
>
>
>
> On Tue, Jul 23, 2019 at 11:04 PM Leonid Spektor <spektor at andrew.cmu.edu>
> wrote:
>
>> Hi Simge,
>>
>> You can use this command to make sure that only word “and” is found:
>>
>> combo +d7 +sg|SUBJ^m;and^g|COORD
>>
>>
>> Leonid.
>>
>> On Jul 23, 2019, at 19:37, Simge Topaloglu <sit591 at g.harvard.edu> wrote:
>>
>> Hello,
>>
>> 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."
>>
>> The first code I tried for an *approximation *of what I wanted was combo
>> +d7 +sg|SUBJ^g|CONJ^g|COORD +t%mor +t%gra.
>>
>> 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 *and*, but this code finds other conjunctions like *or* as
>> well. I tried to incorporate this information into the code using the %mor
>> tier (*coord|and*), 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.
>>
>> Any help for solving these problems would be much appreciated.
>>
>> Thank you so much,
>>
>> Simge
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "chibolts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to chibolts+unsubscribe at googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/chibolts/47e39390-54d6-49ce-8d31-6ad57a76f504%40googlegroups.com
>> <https://groups.google.com/d/msgid/chibolts/47e39390-54d6-49ce-8d31-6ad57a76f504%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "chibolts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to chibolts+unsubscribe at googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/chibolts/99E8E59A-23C6-4C9D-8E25-AD16EB4BB0D3%40andrew.cmu.edu
>> <https://groups.google.com/d/msgid/chibolts/99E8E59A-23C6-4C9D-8E25-AD16EB4BB0D3%40andrew.cmu.edu?utm_medium=email&utm_source=footer>
>> .
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "chibolts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to chibolts+unsubscribe at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/chibolts/CAF%3Drusb-GXVXmZgTHhfgyY1Z2ZCou8yAgp1VXTgKwvw2QTtoGg%40mail.gmail.com
> <https://groups.google.com/d/msgid/chibolts/CAF%3Drusb-GXVXmZgTHhfgyY1Z2ZCou8yAgp1VXTgKwvw2QTtoGg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "chibolts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to chibolts+unsubscribe at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/chibolts/0AB5A9E6-4CBF-4A32-AC4B-CDF51A913C92%40andrew.cmu.edu
> <https://groups.google.com/d/msgid/chibolts/0AB5A9E6-4CBF-4A32-AC4B-CDF51A913C92%40andrew.cmu.edu?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "chibolts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/CAF%3DrusbZ3OBXDDNSPVxqmcZPQUjCih0gQa51B_%3D3XC_BV3MTBQ%40mail.gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20190724/2a1e78eb/attachment.htm>


More information about the Chibolts mailing list