Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

[Unofficial] textlint rule that using A3RT Proofreading API.

License

Notifications You must be signed in to change notification settings

sters/textlint-rule-a3rt-proofreading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

textlint-rule-a3rt-proofreading

CircleCI

textlint rule that using A3RT Proofreading API.

A3RT Proofreading API

https://a3rt.recruit-tech.co.jp/product/proofreadingAPI/

The Proofreading API uses LSTM to detect suspicious places as sentences. The model learns the composition of the correct sentences, grammar, word flow from a large amount of Japanese job offer sentence data. Discover spelling errors in abnormality detection.

This package is A3RT's UNOFFICIAL.

Installation

$ npm i textlint-rule-a3rt-proofreading --save

Usage

Get the A3RT proofreading api key here. And set A3RT_APIKEY.

$ export A3RT_APIKEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

or set in .textlintrc.

{
  "rules": {
    "a3rt-proofreading": {
      "apikey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    }
  }
}

run.

$ textlint --rule textlint-rule-a3rt-proofreading README.md

Config

You can set check sensitivity low / medium / high.

set in .textlintrc.

{
  "rules": {
    "a3rt-proofreading": {
      "sensitivity": "low"
    }
  }
}

Example

See example/ directory.

$ cd example/
$ npm i
$ npm run lint

Tests

$ export A3RT_APIKEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
$ npm test

License

MIT

About

[Unofficial] textlint rule that using A3RT Proofreading API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published