Re: Finding common mistakes

2016-05-17 Thread Scott Kostyshak
On Tue, May 17, 2016 at 07:02:02AM -0600, Joel Kulesza wrote:
> On Tue, May 17, 2016 at 12:13 AM, Scott Kostyshak  wrote:
> 
> > We do have a grammar checker. Worked well for me on Ubuntu last time I
> > tried it:
> > https://wiki.lyx.org/Tools/LyX-GrammarChecker
> > It uses
> > https://www.languagetool.org/
> >
> > It would be great to see some improvements for it so that it works more
> > seamlessly with LyX.
> >
> >
> Gotcha, thanks for making me aware of this.  A search through the User's
> Guide and Additional Features guide for "grammar" didn't produce any
> results for me so I'd given up hope that this functionality was available.
> I'll take a look at what is built-in already.

If we ever make the integration more seamless we can feature it more
prominently so it is easier to find.

> > By the way, please bottom-post as asked for by our list netiquette:
> > https://www.lyx.org/MailingLists#toc7
> > It really does make it easier for others to quote and follow
> > conversations.
> >
> >
> Thanks for the reminder; sorry for the oversight.  When in the flow of
> conversation, it's just *so* much more natural to simply hit reply
> (particularly with GMail / "conversations").

Well, perhaps I'm the only one so dogmatic about it, but I think it does
make it easier for others. I just try to remind users where convenient.
Sorry for the inconvenience for you.

Scott


signature.asc
Description: PGP signature


Re: Finding common mistakes

2016-05-17 Thread Joel Kulesza
On Tue, May 17, 2016 at 12:13 AM, Scott Kostyshak  wrote:

> We do have a grammar checker. Worked well for me on Ubuntu last time I
> tried it:
> https://wiki.lyx.org/Tools/LyX-GrammarChecker
> It uses
> https://www.languagetool.org/
>
> It would be great to see some improvements for it so that it works more
> seamlessly with LyX.
>
>
Gotcha, thanks for making me aware of this.  A search through the User's
Guide and Additional Features guide for "grammar" didn't produce any
results for me so I'd given up hope that this functionality was available.
I'll take a look at what is built-in already.


> By the way, please bottom-post as asked for by our list netiquette:
> https://www.lyx.org/MailingLists#toc7
> It really does make it easier for others to quote and follow
> conversations.
>
>
Thanks for the reminder; sorry for the oversight.  When in the flow of
conversation, it's just *so* much more natural to simply hit reply
(particularly with GMail / "conversations").


Re: Finding common mistakes

2016-05-17 Thread Scott Kostyshak
On Mon, May 16, 2016 at 07:35:50PM -0600, Joel Kulesza wrote:
> On the command line it appears to have two output formats: the standard one
> which gives some location information and a more complete JSON format
>  that gives complete location and severity
> location (which could used to style markup in the LyX interface).
> 
> Can someone comment on how LyX uses spellchecker diagnostics to perform
> continuous markup?  A similar approach could be useful with proselint (to
> parse the JSON output and style the LyX squiggles, perhaps instead of red
> using blue ala MS Word).  Similarly, it would be instructive to know how
> the spellchecker operates on-demand for running proselint on-demand.
> 
> On Mon, May 16, 2016 at 7:18 PM, Richard Heck  wrote:

We do have a grammar checker. Worked well for me on Ubuntu last time I
tried it:
https://wiki.lyx.org/Tools/LyX-GrammarChecker
It uses
https://www.languagetool.org/

It would be great to see some improvements for it so that it works more
seamlessly with LyX.

By the way, please bottom-post as asked for by our list netiquette:
https://www.lyx.org/MailingLists#toc7
It really does make it easier for others to quote and follow
conversations.

Scott

> > On 05/16/2016 09:00 PM, Paul A. Rubin wrote:
> > > Joel,
> > >
> > > If you decide proselint is useful, it would be worth mentioning in the
> > > user list. Maybe someone could hack a converter script to facilitate
> > > running it against a LyX document.
> >
> > It looks to be text only, so you could export a LyX file to plaintext
> > and run it against that. But it's hard to know how it would deal with
> > footnotes, etc.
> >
> > Richard
> >
> >


signature.asc
Description: PGP signature


Re: Finding common mistakes

2016-05-16 Thread Joel Kulesza
On the command line it appears to have two output formats: the standard one
which gives some location information and a more complete JSON format
 that gives complete location and severity
location (which could used to style markup in the LyX interface).

Can someone comment on how LyX uses spellchecker diagnostics to perform
continuous markup?  A similar approach could be useful with proselint (to
parse the JSON output and style the LyX squiggles, perhaps instead of red
using blue ala MS Word).  Similarly, it would be instructive to know how
the spellchecker operates on-demand for running proselint on-demand.

On Mon, May 16, 2016 at 7:18 PM, Richard Heck  wrote:

> On 05/16/2016 09:00 PM, Paul A. Rubin wrote:
> > Joel,
> >
> > If you decide proselint is useful, it would be worth mentioning in the
> > user list. Maybe someone could hack a converter script to facilitate
> > running it against a LyX document.
>
> It looks to be text only, so you could export a LyX file to plaintext
> and run it against that. But it's hard to know how it would deal with
> footnotes, etc.
>
> Richard
>
>


Re: Finding common mistakes

2016-05-16 Thread Richard Heck
On 05/16/2016 09:00 PM, Paul A. Rubin wrote:
> Joel,
>
> If you decide proselint is useful, it would be worth mentioning in the
> user list. Maybe someone could hack a converter script to facilitate
> running it against a LyX document.

It looks to be text only, so you could export a LyX file to plaintext
and run it against that. But it's hard to know how it would deal with
footnotes, etc.

Richard



Re: Finding common mistakes

2016-05-16 Thread Paul A. Rubin
Joel,

If you decide proselint is useful, it would be worth mentioning in the user 
list. Maybe someone could hack a converter script to facilitate running it 
against a LyX document.

Paul
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Re: Finding common mistakes

2016-05-16 Thread Joel Kulesza
Paul,

Thanks for posting that.  I was thinking just the other day that something
that applies basic grammar rules within LyX would be a valuable addition.
In the meantime, I'll check out proselint (perhaps more accurately, its
plugin for VIM).

Thanks,
Joel

On Mon, May 16, 2016 at 5:31 PM, Paul A. Rubin  wrote:

> Bob Alvarez  hotmail.com> writes:
>
> > Is there any software tool that finds common mistakes in writing beyond
> spelling errors? I mean things like repeated words, homonym substitutions
> such as their/there, lose/loose, which/that confusion, etc?
>
> I have not tried it myself, but perhaps proselint (http://proselint.com/)
> might be of interest?
>
> Paul
>
>


Re: Finding common mistakes

2016-05-16 Thread Paul A . Rubin
Bob Alvarez  hotmail.com> writes:

> Is there any software tool that finds common mistakes in writing beyond
spelling errors? I mean things like repeated words, homonym substitutions
such as their/there, lose/loose, which/that confusion, etc?

I have not tried it myself, but perhaps proselint (http://proselint.com/)
might be of interest?

Paul