Skip to content

anseljh/doubleplus-numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doubleplus-numbers

doubleplus-numbers provides a Common Form annotator to find and identify redundant and repeated number(s) and numeral(s).

Build Status

var assert = require('assert')
var annotator = require('doubleplus-numbers')

assert.deepEqual(
  annotator({ content: [ 'Give me two (2) of those. Four (4) of the other one, too.' ] }),
  [ { message: '"two (2)" repeats a written number and numeral, which is redundant and error-prone',
      level: "info",
      path: [ 'content', 0 ],
      source: 'doubleplus-numbers',
      url: null },
    { message: '"Four (4)" repeats a written number and numeral, which is redundant and error-prone',
      level: "info",
      path: [ 'content', 0 ],
      source: 'doubleplus-numbers',
      url: null } ])

About

Common Form annotator to find and identify redundant and repeated number(s) and numeral(s)

Resources

License

Stars

Watchers

Forks

Packages

No packages published