<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
Oops, okay Anna, the changes.cut file wasn't working because I forgot the
+c command. So this is what works.<br>
chstring +x +cchanges.cut filename ... The changes.cut file I made reads
"*@s" "*@sv" with no spaces. <br>
No instances of s without the @sign were replaced so this seems safe. I
needed to work out something similar for myself so this has been helpful!<br>
Diane<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>