Re: [Patch] gimmick: show word frequencies in new buffer

2005-02-09 Thread Andreas Vox
Helge Hafting <[EMAIL PROTECTED]> writes: > > Andreas Vox wrote: > > ... > > That's the part I don't really get. How could you possibly know the > context for any > word in that list? Do you plan on showing some context for every word > in your list? Yes, but I now see that this won't be fe

Re: [Patch] gimmick: show word frequencies in new buffer

2005-02-09 Thread Helge Hafting
Andreas Vox wrote: Am 08.02.2005 um 14:01 schrieb Helge Hafting: Andreas Vox wrote: But removing index references from that list using the jump function from below should be easier than the other way round. Maybe I don't understand. We have to go through the entire document anyway, don't we? N

Re: [Patch] gimmick: show word frequencies in new buffer

2005-02-08 Thread Andreas Vox
Am 08.02.2005 um 14:01 schrieb Helge Hafting: Andreas Vox wrote: But removing index references from that list using the jump function from below should be easier than the other way round. Maybe I don't understand. We have to go through the entire document anyway, don't we? No, I'd use the jump f

Re: [Patch] gimmick: show word frequencies in new buffer

2005-02-08 Thread Helge Hafting
Andreas Vox wrote: Also, make sure this thing does not get in the way of indexing whole phrases, math expressions, images and other stuff that don't show up in a wordlist. Well, I guess it doesn't, but still. Once there is index markup in place the system should handle it conservatively. Nice

Re: [Patch] gimmick: show word frequencies in new buffer

2005-02-08 Thread G. Milde
On 7.02.05, Andreas Vox wrote: > Am 07.02.2005 um 13:37 schrieb Helge Hafting: > > Perhaps the program shouldn't add the entries at all, just move from > > word to word and ask wether to add an entry at that point? > > Good point. OTOH this would have to be repeated with every index word. > May

Re: [Patch] gimmick: show word frequencies in new buffer

2005-02-07 Thread Andreas Vox
Hi Helge! Thanks for your comments. Am 07.02.2005 um 13:37 schrieb Helge Hafting: This seems useful for several purposes, but perhaps a warning about automatic index generation. The frequency is a useful statistic, but high frequency have no impact on wether to index the word. The obvious example

Re: [Patch] gimmick: show word frequencies in new buffer

2005-02-07 Thread Helge Hafting
Andreas Vox wrote: Hi! The attached patch realizes a function to display a sorted word list of the current document in a new buffer. It is based on the code for Tools->Count Words and my first experiments with DocIterator & Co. :-) Why? Well, for LyX1.5 I'd like to contribute some functions for ind

Re: [Patch] gimmick: show word frequencies in new buffer

2005-02-06 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Sun, Feb 06, 2005 at 04:29:06AM +0100, Andreas Vox wrote: >> At least now we know that the english UserGuide.lyx does not only >> contain 31640 words but that there are only 3501 distinct ones. > | So why not remove the duplicates? Yeah. Just refere

Re: [Patch] gimmick: show word frequencies in new buffer

2005-02-06 Thread Andre Poenitz
On Sun, Feb 06, 2005 at 04:29:06AM +0100, Andreas Vox wrote: > At least now we know that the english UserGuide.lyx does not only > contain 31640 words but that there are only 3501 distinct ones. So why not remove the duplicates? Andre'

[Patch] gimmick: show word frequencies in new buffer

2005-02-05 Thread Andreas Vox
Hi! The attached patch realizes a function to display a sorted word list of the current document in a new buffer. It is based on the code for Tools->Count Words and my first experiments with DocIterator & Co. :-) Why? Well, for LyX1.5 I'd like to contribute some functions for index generation. The