|
Re: Grep for Windows: msg#00110science.linguistics.corpora
Quoting Michaela Atterer <atterer@xxxxxxxxxxxxxxxxxxxx>: If you don't find any good program, maybe writing a perl-script that emulates grep would be an option? Since there doesn't seem to be any standard regex syntax (grep, sed, etc. all seem to have slightly different views on the issue), maybe learning Perl syntax for regex's isn't that bad. I believe Python uses the same syntax. Besides, none of the standard grep implementations that I know of handle Unicode (at least not in any useful way). Dave Graff of the LDC (who sometimes shows up on this list) has implemented what he calls 'grepp', a Perl implementation that handles Unicode (IIRC, in various encodings, not just UTF-8). It looks like it's downloadable at http://www.netwise.it/xml/perlmonks/?node_id=345275 along with the source of its man page. Mike Maxwell CASL/ U MD ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Grep for Windows: 00110, Amsler, Robert |
|---|---|
| Next by Date: | Re: Grep for Windows: 00110, Rob Malouf |
| Previous by Thread: | Re: Grep for Windowsi: 00110, Michaela Atterer |
| Next by Thread: | Re: Grep for Windows: 00110, Rob Malouf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |