Re: New LyX with Grammar Checker Prototype (v0.3)
[EMAIL PROTECTED] wrote: Um... do you mean the wiki or the user's list? (The latter makes sense to me for getting testers...) I mean: Add a decription page on the wiki and announce it on the users list. Jürgen
Re: New LyX with Grammar Checker Prototype (v0.3)
On Thu, 29 Dec 2005, Juergen Spitzmueller wrote: [EMAIL PROTECTED] wrote: Um... do you mean the wiki or the user's list? (The latter makes sense to me for getting testers...) I mean: Add a decription page on the wiki and announce it on the users list. Which he just de... :-) /C -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: New LyX with Grammar Checker Prototype (v0.3)
On Thu, 29 Dec 2005 [EMAIL PROTECTED] wrote: On Thu, 29 Dec 2005, Juergen Spitzmueller wrote: [EMAIL PROTECTED] wrote: Um... do you mean the wiki or the user's list? (The latter makes sense to me for getting testers...) I mean: Add a decription page on the wiki and announce it on the users list. Which he just de... :-) *sigh*... That should be: Which he just did... :-) /C -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: New "LyX with Grammar Checker" Prototype (v0.3)
[EMAIL PROTECTED] wrote: > Um... do you mean the wiki or the user's list? (The latter makes sense to > me for getting testers...) I mean: Add a decription page on the wiki and announce it on the users list. Jürgen
Re: New "LyX with Grammar Checker" Prototype (v0.3)
On Thu, 29 Dec 2005, Juergen Spitzmueller wrote: > [EMAIL PROTECTED] wrote: > > Um... do you mean the wiki or the user's list? (The latter makes sense to > > me for getting testers...) > > I mean: Add a decription page on the wiki and announce it on the users list. Which he just de... :-) /C -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: New "LyX with Grammar Checker" Prototype (v0.3)
On Thu, 29 Dec 2005 [EMAIL PROTECTED] wrote: > On Thu, 29 Dec 2005, Juergen Spitzmueller wrote: > > > [EMAIL PROTECTED] wrote: > > > Um... do you mean the wiki or the user's list? (The latter makes sense to > > > me for getting testers...) > > > > I mean: Add a decription page on the wiki and announce it on the users list. > > Which he just de... :-) *sigh*... That should be: Which he just did... :-) /C -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: New LyX with Grammar Checker Prototype (v0.3)
John C. McCabe-Dansted wrote: I have decided to keep my grammar checker small, mostly just a wrapper around ChkTeX and JLanguageTool. Thus my code is likely to remain small enough to be included in LyX. However my prototype is easy to distribute separately from LyX and does not require any (re)compiling or installing. It would probably be best for my code to remain separate for the time being. Way to go, John! I have changed this prototype to use the chktex error interface. I may need to use IPC; I know LyX-server uses named pipes. Out of TCP sockets, unnamed sockets, named pipes and unnamed pipes which are portable across the architectures LyX supports? None of them :( In an ideal world we would use a platform-independent abstraction to the architecture-specific APIs. However, at the moment we don't use such a beast. Our named pipes code is to be found in src/lyxserver.C and is known to work on linux (and Mac I believe). It used not to work on the DEC Alpha. It definitely doesn't work on Windows. Our sockets code is to be found in src/lyxsocket.C. João abstracted out the Windows/Unix-specific stuff into the src/support library but, if I remember correctly, the Windows version is a stub only. Sorry I don't have time to play with this but I hope the information is useful. -- Angus
Re: New LyX with Grammar Checker Prototype (v0.3)
Angus Leeming wrote: I have decided to keep my grammar checker small, mostly just a wrapper around ChkTeX and JLanguageTool. Thus my code is likely to remain small enough to be included in LyX. However my prototype is easy to distribute separately from LyX and does not require any (re)compiling or installing. It would probably be best for my code to remain separate for the time being. Way to go, John! I have to second that. I have tried it and I think it is promising. At least the error messages look a lot more useful than those of LyX's plain ChkTeX approach. You should post a message on the wiki, then you's also get more testers. Jürgen
Re: New LyX with Grammar Checker Prototype (v0.3)
On Wed, 28 Dec 2005, Juergen Spitzmueller wrote: Angus Leeming wrote: I have decided to keep my grammar checker small, mostly just a wrapper around ChkTeX and JLanguageTool. Thus my code is likely to remain small enough to be included in LyX. However my prototype is easy to distribute separately from LyX and does not require any (re)compiling or installing. It would probably be best for my code to remain separate for the time being. Way to go, John! I have to second that. I have tried it and I think it is promising. At least the error messages look a lot more useful than those of LyX's plain ChkTeX approach. You should post a message on the wiki, then you's also get more testers. Um... do you mean the wiki or the user's list? (The latter makes sense to me for getting testers...) /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: New "LyX with Grammar Checker" Prototype (v0.3)
John C. McCabe-Dansted wrote: > I have decided to keep my grammar checker small, mostly just a wrapper > around ChkTeX and JLanguageTool. Thus my code is likely to remain small > enough to be included in LyX. However my prototype is easy to distribute > separately from LyX and does not require any (re)compiling or installing. > It would probably be best for my code to remain separate for the time > being. Way to go, John! > I have changed this prototype to use the chktex error interface. I may > need to use IPC; I know LyX-server uses named pipes. Out of TCP sockets, > unnamed sockets, named pipes and unnamed pipes which are portable across > the architectures LyX supports? None of them :( In an ideal world we would use a platform-independent abstraction to the architecture-specific APIs. However, at the moment we don't use such a beast. Our named pipes code is to be found in src/lyxserver.C and is known to work on linux (and Mac I believe). It used not to work on the DEC Alpha. It definitely doesn't work on Windows. Our sockets code is to be found in src/lyxsocket.C. João abstracted out the Windows/Unix-specific stuff into the src/support library but, if I remember correctly, the Windows version is a stub only. Sorry I don't have time to play with this but I hope the information is useful. -- Angus
Re: New "LyX with Grammar Checker" Prototype (v0.3)
Angus Leeming wrote: > > I have decided to keep my grammar checker small, mostly just a wrapper > > around ChkTeX and JLanguageTool. Thus my code is likely to remain small > > enough to be included in LyX. However my prototype is easy to distribute > > separately from LyX and does not require any (re)compiling or installing. > > It would probably be best for my code to remain separate for the time > > being. > > Way to go, John! I have to second that. I have tried it and I think it is promising. At least the error messages look a lot more useful than those of LyX's plain ChkTeX approach. You should post a message on the wiki, then you's also get more testers. Jürgen
Re: New "LyX with Grammar Checker" Prototype (v0.3)
On Wed, 28 Dec 2005, Juergen Spitzmueller wrote: > Angus Leeming wrote: > > > I have decided to keep my grammar checker small, mostly just a wrapper > > > around ChkTeX and JLanguageTool. Thus my code is likely to remain small > > > enough to be included in LyX. However my prototype is easy to distribute > > > separately from LyX and does not require any (re)compiling or installing. > > > It would probably be best for my code to remain separate for the time > > > being. > > > > Way to go, John! > > I have to second that. I have tried it and I think it is promising. At least > the error messages look a lot more useful than those of LyX's plain ChkTeX > approach. You should post a message on the wiki, then you's also get more > testers. Um... do you mean the wiki or the user's list? (The latter makes sense to me for getting testers...) /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
New LyX with Grammar Checker Prototype (v0.3)
I have decided to keep my grammar checker small, mostly just a wrapper around ChkTeX and JLanguageTool. Thus my code is likely to remain small enough to be included in LyX. However my prototype is easy to distribute separately from LyX and does not require any (re)compiling or installing. It would probably be best for my code to remain separate for the time being. I have changed this prototype to use the chktex error interface. I may need to use IPC; I know LyX-server uses named pipes. Out of TCP sockets, unnamed sockets, named pipes and unnamed pipes which are portable across the architectures LyX supports? Although this is a prototype (written in Perl) it provides full featured grammar checking with probabilistic grammar parsing thanks to JLanguageTool. It seems to be ready for real world use; it does not generate errors if it is too stupid to understand your grammar. Instead it will report an error if your text matches one of ~400 rules describing common errors. It is relatively easy for a technical person to disable or customize each rule. HOW TO USE: Unpack lyx-gc (11KB download) http://dansted.org/lyx-gc-0.3.tar.bz2 and run lyx-gc-0.3/lyx-gc. Reconfigure if the Edit-Check Tex option is not available. Now, when you activate the Edit-Check Tex option, lyx-gc will check your document for grammatical errors. If no grammar errors are found, the Check Tex option will check your document for tex errors as normal. For more information, see the README. -- John C. McCabe-Dansted Masters Student
New "LyX with Grammar Checker" Prototype (v0.3)
I have decided to keep my grammar checker small, mostly just a wrapper around ChkTeX and JLanguageTool. Thus my code is likely to remain small enough to be included in LyX. However my prototype is easy to distribute separately from LyX and does not require any (re)compiling or installing. It would probably be best for my code to remain separate for the time being. I have changed this prototype to use the chktex error interface. I may need to use IPC; I know LyX-server uses named pipes. Out of TCP sockets, unnamed sockets, named pipes and unnamed pipes which are portable across the architectures LyX supports? Although this is a prototype (written in Perl) it provides full featured grammar checking with probabilistic grammar parsing thanks to JLanguageTool. It seems to be ready for real world use; it does not generate errors if it is too stupid to understand your grammar. Instead it will report an error if your text matches one of ~400 rules describing common errors. It is relatively easy for a technical person to disable or customize each rule. HOW TO USE: Unpack lyx-gc (11KB download) http://dansted.org/lyx-gc-0.3.tar.bz2 and run lyx-gc-0.3/lyx-gc. Reconfigure if the Edit->Check Tex option is not available. Now, when you activate the Edit->Check Tex option, lyx-gc will check your document for grammatical errors. If no grammar errors are found, the Check Tex option will check your document for tex errors as normal. For more information, see the README. -- John C. McCabe-Dansted Masters Student