[RNLD] regex for formatting dictionaries

Steven Bird stevenbird1 at gmail.com
Mon Sep 17 04:59:45 UTC 2018


Margaret,

Note that the NLTK book addresses this question, if you don't mind writing
Python code:

http://nltk.org/book/ch11.html#using-elementtree-for-accessing-toolbox-data
http://nltk.org/book/ch11.html#working-with-toolbox-data

-Steven

On Mon, 17 Sep 2018 at 10:39, Margaret Carew <
margaret.carew at batchelor.edu.au> wrote:

> Hi all
>
> 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.
> I am using the program Nisus to do various search and replace functions.
> 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.
> 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.
>
> Thanks, Margaret
>
> ___________________________
>
> Dr Margaret Carew
>
> Linguist, CALL
> Division of Higher Education and Research
>
> *Batchelor Institute – Desert People’s Centre campus*
>
> *tel:* 08 8951 8344 | 0422 418 559
> *email:* margaret.carew at batchelor.edu.au
> <https://mail.batchelor.edu.au/owa/redir.aspx?C=70aec586ee4c4fbba6095932db9fd058&URL=mailto%3afirstname.lastname%40batchelor.edu.au>
>  | *www.*batchelor.edu.au
> <https://mail.batchelor.edu.au/owa/redir.aspx?C=70aec586ee4c4fbba6095932db9fd058&URL=http%3a%2f%2fwww.batchelor.edu.au%2f>
>
>
> *Both-Ways* Tertiary Education and Research
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/resource-network-linguistic-diversity/attachments/20180917/9e0d7b3e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2B5F40B5-4E8F-4409-A584-17704AE7BB95[2].png
Type: image/png
Size: 16130 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/resource-network-linguistic-diversity/attachments/20180917/9e0d7b3e/attachment.png>


More information about the Resource-network-linguistic-diversity mailing list