Skip to content

R Package: Wrapper for the LanguageTool checking engine

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
LICENSE.md
Notifications You must be signed in to change notification settings

nevrome/LanguageToolR

Repository files navigation

Project Status: Inactive – The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows. R-CMD-check Coverage Status license

LanguageToolR

LanguageToolR provides a wrapper for the LanguageTool CLI tool for spelling, grammar and language checking.

❗ We're not part of the LanguageTool team. This is an unofficial interface.

We only tested with LanguageTool v6.5, but it will work as well with other versions, if more obscure command line options are avoided.

Installation

  1. Install this package via remotes
if (!require(remotes)) install.packages("remotes")
remotes::install_github("nevrome/LanguageToolR")
  1. Install languagetool for your system. You can do this with the following setup function or directly from package sources for your OS or manually following the instructions here: https://github.com/languagetool-org/languagetool
LanguageToolR::lato_quick_setup()

This will install the currently supported version (see above).

Usecase

testtext <- c(
  "LanguageTool offers spell and grammar checking.", 
  "Just paste your text here and click the 'Check Text' button.", 
  "Click the colored phrases for details on potential errors.", 
  "or use this text too see an few of of the problems that LanguageTool can detecd.", 
  "What do you thinks of grammar checkers? Please not that they are not perfect.", 
  "Style issues get a blue marker: It's 5 P.M. in the afternoon.", 
  "The weather was nice on Thursday, 27 June 2017."
)

LanguageToolR::languagetool(testtext)

About

R Package: Wrapper for the LanguageTool checking engine

Topics

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages