search for: burttab

Displaying 2 results from an estimated 2 matches for "burttab".

Did you mean: bartab
2009 Mar 29
2
Burt table from word frequency list
Dear all, I have a word frequency list from a corpus (say, in .csv), where the first column is a word and the second is the occurrence frequency of that word in the corpus. Is it possible to obtain a Burt table (a table crossing all words with each other, i.e., where rows and columns are the words) from that frequency list with R? I'm exploring the "ca" package but I'm
2009 Apr 01
0
回复: R-help Digest, Vol 73, Issue 32
...ASCII; format=flowed Maybe not terribly hard, depending on exactly what you need.  Suppose you turn your text into a character vector 'mytext' of words.  Then for a table of words appearing delta words apart (ordered), you can table mytext against itself with a lag: nwords=length(mytext) burttab=table(mytext[-(1:delta)],mytext[nwords+1-(1:delta)]) Add to its transpose and sum over delta up to your maximum distance apart. If you want only words appearing near each other within the same sentence (or some other unit), pad out the sentence break with at least delta instances of a dummy space...