<div dir="ltr"><div>Margaret,</div><div><br></div><div>Note that the NLTK book addresses this question, if you don't mind writing Python code:</div><br><a href="http://nltk.org/book/ch11.html#using-elementtree-for-accessing-toolbox-data">http://nltk.org/book/ch11.html#using-elementtree-for-accessing-toolbox-data</a><br><a href="http://nltk.org/book/ch11.html#working-with-toolbox-data">http://nltk.org/book/ch11.html#working-with-toolbox-data</a><div><br></div><div>-Steven</div><br><div class="gmail_quote"><div dir="ltr">On Mon, 17 Sep 2018 at 10:39, Margaret Carew <<a href="mailto:margaret.carew@batchelor.edu.au">margaret.carew@batchelor.edu.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>
<div>
<div>Hi all</div>
<div><br>
</div>
<div>I’m looking for some assistance with regular expressions to use in formatting a 'back slash’ dictionary file to get it ready for a desktop publisher.</div>
<div>I am using the program Nisus to do various search and replace functions.</div>
<div>I also want to select entries on the basis of certain fields that they contain. For example, most entries have at least one \sd field. I would like to select a copy all of the entries of a certain \sd field from the whole set of entries.</div>
<div>I know there are linguists out there who have used Nisus to format dictionaries, so if anyone has regex cheat sheets they are willing to share that would be most helpful.</div>
<div><br>
</div>
<div>Thanks, Margaret</div>
<div>
<div style="font-family:Calibri;font-size:medium">
<p class="MsoNormal" style="font-family:Calibri,sans-serif;font-size:11pt;margin:0cm 0cm 0.0001pt">
___________________________</p>
<p class="MsoNormal" style="font-family:Calibri,sans-serif;font-size:11pt;margin:0cm 0cm 0.0001pt">
<span style="font-size:11pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Arial,sans-serif">Dr Margaret Carew</span></span></p>
<p class="MsoNormal" style="font-family:Calibri,sans-serif;font-size:11pt;margin:0cm 0cm 0.0001pt">
<span lang="EN-US" style="font-size:9pt;font-family:Arial,sans-serif">Linguist, CALL<br>
</span><span lang="EN-US" style="font-size:9pt;font-family:Arial,sans-serif">Division of Higher Education and Research</span><span lang="EN-US" style="font-size:9pt;font-family:Arial,sans-serif"></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><b><span lang="EN-US"><font face="Arial,sans-serif"><span style="font-size:9pt">Batchelor Institute </span><span style="font-size:12px">–</span><span style="font-size:9pt"> Desert People</span><span style="font-size:12px">’</span><span style="font-size:9pt">s
 Centre campus</span></font></span></b><span lang="EN-US" style="font-size:9pt;font-family:Arial,sans-serif"></span></p>
<p class="MsoNormal" style="font-family:Calibri,sans-serif;font-size:11pt;margin:0cm 0cm 12pt">
<b><span lang="EN-US" style="font-size:9pt;font-family:Arial,sans-serif">tel:</span></b><span lang="EN-US" style="font-size:9pt;font-family:Arial,sans-serif"> </span><span lang="EN-US" style="font-size:9pt;font-family:Arial,sans-serif">08 8951
 8344 | 0422 418 559<br>
<b>email:</b> <a style="color:purple;text-decoration:none" href="https://mail.batchelor.edu.au/owa/redir.aspx?C=70aec586ee4c4fbba6095932db9fd058&URL=mailto%3afirstname.lastname%40batchelor.edu.au" target="_blank"><span style="color:blue">margaret.carew@batchelor.edu.au</span></a> <span style="color:rgb(145,145,145)">|<b> </b></span><b>www.</b></span><span lang="EN-US"><span style="color:blue;font-size:9pt;font-family:Arial,sans-serif"><a style="color:purple;text-decoration:none" href="https://mail.batchelor.edu.au/owa/redir.aspx?C=70aec586ee4c4fbba6095932db9fd058&URL=http%3a%2f%2fwww.batchelor.edu.au%2f" title="Cmd+Click to follow link" target="_blank">batchelor.edu.au</a></span></span></p>
<p class="m_8356038694025126134norm1bullet" style="margin-right:0cm;margin-left:0cm;font-size:11pt;font-family:Calibri,sans-serif">
<span style="font-size:10.5pt;font-family:Times,serif"><img border="0" width="148" height="85" id="m_8356038694025126134_x0000_i1026" src="cid:165e5e324e56d00e31d1" type="image/png"></span><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(44,44,44)"><br>
</span><em style="font-family:'Times New Roman',serif;font-size:16px"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(201,62,39)">Both-Ways</span></em><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(201,62,39)"> Tertiary
 Education and Research</span></p>
</div>
</div>
</div>
</div>
</div>

</blockquote></div></div>