<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
Dear Anna,<br>
I tried what you were after but haven't been able to do it using a changes.cut
file. I only succeeded by giving the following command on line:<br>
chstring +x +s"*@s" "*@sv" filename +1<br>
It seems the asterisk is necessary to find the @s and the +x recognizes the
asterisk. The +1 replaces your original file with the new corrected one,
I prefer that than generated a whole new set of files but I guess you shouldn't
use it before trying on a few samples. You could always run this on a group
of files simultaneously by replacing filename with *.cha or whatever. I tested
it, it works. Nothing I tried with changes.cut works, I think it might be
because of the asterisk that seems necessary to find these word internal
strings you are looking for.<br>
Best of luck.<br>
Diane Pesco<br>
Anna Gudmundson wrote:<br>
<blockquote type="cite"
cite="mid5.2.0.8.2.20040318104857.00ba5398@fraita6.rom.su.se"> Dear Brian
et al.<br>
<br>
I'm trying to replace all occurences of "@s" to "@sv", but I can't make
it work. We have used the sign @s to indicate code switching from itaian
to swedish in our transcriptions, but now we would like to change it to @sv.
There are several similar changes that need to be made so I really would
like to know what I'm doing wrong. This is what it looks like:<br>
<br>
*ANN: c'è tanto di più di questa # närhet@s.<br>
<br>
I would like to change @s into @sv to make the utterance look like:<br>
<br>
*ANN: c'è tanto di più di questa # närhet@sv.<br>
<br>
I have created a file named 'changes.cut' and it looks like:<br>
<br>
"@s " "@sv "<br>
<br>
with no spaces <b>before </b>the @-signs.<br>
<br>
and then i run the command:<br>
<br>
chstring +c "filename"<br>
<br>
but no changes are being made. If I instead create a 'changes.cut' file that
looks like:<br>
<br>
" tanto " " tantoo "<br>
<br>
and run the same command as above, the changes are being made.<br>
<br>
I thought chstring would work on parts of words like @s, and not only on
complete words. I've also tried "_*@s " "_*@sv ", but it doesn't work. What
am I doing wrong??<br>
<br>
Many thanks in advande<br>
<br>
Anna Gudmundson<br>
Stockholm university</blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">--
Diane Pesco
School of Communication Sciences and Disorders
McGill University
<a class="moz-txt-link-abbreviated" href="mailto:dpesco2@po-box.mcgill.ca">dpesco2@po-box.mcgill.ca</a>
tel. 514-398-4102
fax. 514-398-8123
</pre>
<br>
</body>
</html>