We also have a tips and tricks wiki for UT Austin's compling lab that includes some notes on Unix commands:
Also, on a related note, we put Peyton Todd's corpus linguistics compilation (posted to corpora list some time ago) on our wiki and added to it:
Others are welcome to add to the wiki if they wish.
On Feb 18, 2008 8:44 AM, Trevor Jenkins <trevor.jenkins at suneidesis.com> wrote:
> On Mon, 18 Feb 2008, True Friend <true.friend2004 at gmail.com> asked for
> Antconc has a word frequency count feature. Why not use that?
> Ben Allison has given you a UNIX solution. Here's mine
> tr "[:space:]" "\n" <Sense\ and\ Sensibility.txt|tr "[:upper:]"
> "[:lower:]"|tr -d "[:punct:]"|sort|uniq -c|sort > SS-list
> Change "Sense\ and\ Sensibility.txt" and "SS-list" to what ever your own
> files are call. You can tell what I've been playing with recently. ;-)
> The difference between mine and Ben's is mine relies solely upon standard
> filters that should be available on every UNIX machine. You might not have
> Perl installed, which is required by Ben's version. Of course, you might
> not have the GNU version of textutils, which I'm relying upon. We're both
> sorting on ascending frequency.
> > Hi Folks
> I need a a programm/script (even of *nix) that can provide frequency of a
> wordlist from two corpora. Actually I have made this list by comparing two
> word lists one from general english (specifically from Pakistani Origin)
> law english (also of Pakistani origin). I know want to present these
> keywords with their frequencies in both corpora as a proof that these
> are more frequent in law. Keywords are generated by Antconc.
> Is there any script/tool that can generate a parallel list of frequencies
> each word in both corpora?
> M Shakir Aziz
> A Corpus Linguistics Student
> محمد شاکر عزیز
> Regards, Trevor
> <>< Re: deemed!
> Corpora mailing list
> Corpora at uib.no
-- Jason Baldridge Assistant Professor, Department of Linguistics The University of Texas at Austin http://comp.ling.utexas.edu/jbaldrid -------------- next part -------------- An HTML attachment was scrubbed... URL: https://mailman.uib.no/public/corpora/attachments/20080218/67b2cefb/attachment.html