UNPKG

retext-redundant-acronyms

Version:

retext plugin to check for redundant acronyms (ATM machine)

12 lines (11 loc) 370 B
/** * Check for redundant acronyms (such as `ATM machine` to `ATM`). * * @returns * Transform. */ export default function retextRedundantAcronyms(): (tree: Root, file: VFile) => undefined; export type Root = import('nlcst').Root; export type Sentence = import('nlcst').Sentence; export type Word = import('nlcst').Word; export type VFile = import('vfile').VFile;