Menu

#876 Wrong word separation/combination for grammar checker

None
fixed
nobody
4
2013-12-17
2013-12-17
No

TexStudio separates and combines words into sentences suitable for parsing for languagetool. In doing so, it adds spaces between senteses (or what it judges to be sentenses). The problem is that it also makes the following transformations which are wrong:

  • i.e. ==> i. e.
  • e.g. ==> e. g.
    And this makes languagetool complain repeatedly, asking to remove the space, when it is not present in the source text. In order to avoid this, I patched the "grammarcheck.cpp" file to add a filter so that any sequence of single characters separated by periods and no spaces will have no spaces added between them when they are sent to languagetool.
1 Attachments

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2013-12-17

    Thanks. I've added the patch (hg 4200 (f9b17187f992)).

     
  • Tim Hoffmann

    Tim Hoffmann - 2013-12-17
    • status: open --> fixed
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB