Re: token frequencies when loading the Userguide.lyx

2002-05-29 Thread Jean-Marc Lasgouttes
Lars Gullik Bjønnes wrote: > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > | I doubt though that there is still a big gain to be found in this area. > > Perhaps not... > > But we can at least put all the tokens that should usually never be > parsed by paresLyxFromat2... i.e. "\end_inset"

Re: token frequencies when loading the Userguide.lyx

2002-05-29 Thread Jean-Marc Lasgouttes
Dekel Tsur wrote: > Why not convert the token string to a number (in lyxlex?), and then > use a switch? This would be the 'normal' use of lyxlex, indeed. I did not feel brave enough to do it, so I went to the easy solution... JMarc

Re: token frequencies when loading the Userguide.lyx

2002-05-29 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Wed, May 29, 2002 at 10:54:05PM +0200, Lars Gullik Bjønnes wrote: >> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> >> | I doubt though that there is still a big gain to be found in this area. >> >> Perhaps not... >> >> But we can at least put a

Re: token frequencies when loading the Userguide.lyx

2002-05-29 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Wed, May 29, 2002 at 10:54:05PM +0200, Lars Gullik Bjønnes wrote: >> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> >> | I doubt though that there is still a big gain to be found in this area. >> >> Perhaps not... >> >> But we can at least put a

Re: token frequencies when loading the Userguide.lyx

2002-05-29 Thread Dekel Tsur
On Wed, May 29, 2002 at 10:54:05PM +0200, Lars Gullik Bjønnes wrote: > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > | I doubt though that there is still a big gain to be found in this area. > > Perhaps not... > > But we can at least put all the tokens that should usually never be > pars

Re: token frequencies when loading the Userguide.lyx

2002-05-29 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | I doubt though that there is still a big gain to be found in this area. Perhaps not... But we can at least put all the tokens that should usually never be parsed by paresLyxFromat2... i.e. "\end_inset" placed last. Also we could see if we have

Re: token frequencies when loading the Userguide.lyx

2002-05-29 Thread Jean-Marc Lasgouttes
Lars Gullik Bjønnes wrote: > This is the token frequencies I get when loading Userguide.lyx. > > 3341 \family > 1891 \layout > 1166 \bar > 874 \emph > 799 \begin_inset > 575 \shape > 547 \noun > 505 \series > 502 \color > 492 \SpecialChar > 330 \size > 107 \end_deeper > 107 \begin_deeper > 80 \la

token frequencies when loading the Userguide.lyx

2002-05-29 Thread Lars Gullik Bjønnes
This is the token frequencies I get when loading Userguide.lyx. 3341 \family 1891 \layout 1166 \bar 874 \emph 799 \begin_inset 575 \shape 547 \noun 505 \series 502 \color 492 \SpecialChar 330 \size 107 \end_deeper 107 \begin_deeper 80 \labelwidthstring 68 \backslash 54 \i 39 \hfill 25 \align 21