chstring not working

Leonid Spektor spektor at andrew.cmu.edu
Tue Jun 25 15:01:46 UTC 2019


Jeanine,

	CHSTRING by default works on word bases. Your changes.cut file assumes that you will run CHSTRING in “string” mode with +w option. You can solve this problem in one of two ways. I am attaching your "changes-string.cut” and modified "changes-word.cut” files. Here are two commands that will work with those files. The first command is better.

chstring +cchanges-word.cut 221134AFKA.cha

chstring +w +cchanges-string.cut 221134AFKA.cha


Leonid.


> On Jun 25, 2019, at 07:02, Jeanine Treffers-Daller <j.c.treffers-daller at reading.ac.uk> wrote:
> 
> Dear Leonid
> 
> I am trying to work with chstring but I can't get it to work, even on data sets for which I have used chstring in the past, so I wonder if something is wrong with it.
> We are hoping to use it to insert morphosyntactic codes into the main tier for a hindi transcript. The reason is that there is no grammar for Hindi under CLAN so we thought we could use chstring to insert the codes into the main tier. I have created a changes.cut file which is in the same directory as the files I want to use. I have also downloaded the latest version of CLAN. I have also got the unicode font installed. The file on which I have tried it contains "gaya", "gayi" and "karke" so the issue is not that the items are not in the text.
> 
> I have pasted the output in below. I get the same results for English files that I have in the past changed with chstring. No changes made.
> 
> The changes.cut file attached, but an overview of the changes we are hoping to make are given below. Of course if you have a different suggestion as to what we can do to work with Hindi morphosyntax, then we'd be very grateful. thanks a lot for your help.
> best wishes
> Jeanine
> 
>  " gaya " " gaya at mas "  (this inserts the code @mas which stands for "masculine" into the main tier)
>  " gayyi " " gayyi at fem "
> " karke " " karke at temp_sub "
> " uska " " uska at poss_mas "
>  " uski " " uski at poss_fem "
>  " usne " " usne at pron_subj_3SG "
> 
> 
> =============
> chstring +cchanges.cut @
> Tue Jun 25 11:49:24 2019
> chstring (20-Jun-2019) is conducting analyses on:
>   ALL speaker tiers
> ****************************************
> From file <c:\Documents\CeLM\ESRC DFID\data analyses\stories\chat basics\221134AFKA.cha>
> 
> **- NO changes made in this file
> Output file <C:\DOCUMENTS\CELM\ESRC DFID\DATA ANALYSES\STORIES\CHAT BASICS\output\221134AFKA.chstr.cex>
> 
> > chstring +cchanges.cut @
> From string " gaya " to string " gaya at mas "
> From string " gayi " to string " gayi at fem "
> From string " karke " to string " karke at temp_sub "
> From string " uska " to string " uska at poss_mas "
> From string " uski " to string " uski at poss_fem "
> From string " usne " to string " usne at pron_subj_3SG "
> 
> chstring +cchanges.cut @
> Tue Jun 25 11:56:54 2019
> chstring (20-Jun-2019) is conducting analyses on:
>   ALL speaker tiers
> ****************************************
> From file <c:\Documents\CeLM\ESRC DFID\data analyses\stories\chat basics\221134AFKA.cha>
> 
> **- NO changes made in this file
> Output file <C:\DOCUMENTS\CELM\ESRC DFID\DATA ANALYSES\STORIES\CHAT BASICS\output\221134AFKA.chstr.cex>
> 
> 
> -- 
> 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 <mailto:chibolts+unsubscribe at googlegroups.com>.
> To post to this group, send email to chibolts at googlegroups.com <mailto:chibolts at googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/776979fd-e089-42bf-ad33-c4604fa78995%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/776979fd-e089-42bf-ad33-c4604fa78995%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.

-- 
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/msgid/chibolts/E97F2C67-7F6E-4C0A-B441-398E4D91CD9C%40andrew.cmu.edu.
For more options, visit https://groups.google.com/d/optout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20190625/bef8768b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changes-word.cut
Type: application/octet-stream
Size: 141 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20190625/bef8768b/attachment-0006.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20190625/bef8768b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changes-string.cut
Type: application/octet-stream
Size: 169 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20190625/bef8768b/attachment-0007.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20190625/bef8768b/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 221134AFKA.cha
Type: application/octet-stream
Size: 1563 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20190625/bef8768b/attachment-0008.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20190625/bef8768b/attachment-0003.htm>


More information about the Chibolts mailing list