Output sting and preceding word

Leonid Spektor spektor at andrew.cmu.edu
Wed Mar 20 17:29:07 UTC 2013


Andreas,

	In the simplest form of what you have described that you want, I would suggest this command:

cooccur +s at cooccur.cut -b *.cha 

where "cooccur.cut" file contains a list of words that you are looking for, one word per line.

If this command doesn't work for you, then please provide a small example of your data format and coding, the search parameter(s) and result(s) that you would like to get.

Leonid.



On Mar 20, 2013, at 12:14 , Andreas Hallberg wrote:

> Hi all,
> 
> I have a rather simple problem that I have not been able to solve. I want a command that takes an s-string as used in the freq command and generates a list containing inly hits together with the preceding word, so that every item in the generated list consists of two words, where the second is the word found by the s-string. 
> 
> The background is that I am investigating in what syntactic positions case tends to be marked in formal spoken Arabic. In my corpus, nouns on the main tier have a postcode with tags designating, amongst other things, syntactic function and whether case is marked. I want to see of direct objects are more often marked for accusative case if they directly follow the governing verb, that is not tagged. So I as a first step I would like a simple list of all nouns marked as direct object together with the preceding word. From that list I could manually sort out those where the preceding word is a verb.
> 
> 
> Thanks,
> Andreas
> 
> -- 
> 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 post to this group, send email to chibolts at googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msg/chibolts/-/Sw9tULiUEOUJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
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 post to this group, send email to chibolts at googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20130320/87a97f34/attachment.htm>


More information about the Chibolts mailing list