UNPKG

retext-pos

Version:

retext plugin to add part-of-speech (POS) tags

15 lines (13 loc) 319 B
export {default} from './lib/index.js' // Register data. declare module 'nlcst' { // eslint-disable-next-line @typescript-eslint/consistent-type-definitions interface WordData { /** * Part-of-speech tag (example: `'PRP'`). * * Registered by `retext-pos`. */ partOfSpeech?: string } }