unified

Project: retextjs/retext

Package: retext-english@3.0.4

  1. Dependencies: 2·Dependents: 44
  2. retext parser for the English language
  1. tree 42
  2. syntax 32
  3. parse 22
  4. language 12
  5. natural 10
  6. cst 8
  7. concrete 5
  8. english 3

retext-english

Build Coverage Downloads Size Sponsors Backers Chat

retext plugin to parse English natural language. Parser for unified. Parses English language prose to nlcst syntax trees.

Sponsors

Support this effort and give back by sponsoring on OpenCollective!

Gatsby 🥇

Vercel 🥇

Netlify

Holloway

ThemeIsle

Boost Hub

Expo


You?

Install

npm:

npm install retext-english

Use

var unified = require('unified')
var stream = require('unified-stream')
var english = require('retext-english')
var stringify = require('retext-stringify')
var emoji = require('retext-emoji')

var processor = unified()
  .use(english)
  .use(emoji, {convert: 'encode'})
  .use(stringify)

process.stdin.pipe(stream(processor)).pipe(process.stdout)

API

processor.use(english)

Parse English natural language. There is no configuration for the parser.

english.Parser

Access to the parser (parse-english).

Contribute

See contributing.md in retextjs/.github for ways to get started. See support.md for ways to get help. Ideas for new plugins and tools can be posted in retextjs/ideas.

A curated list of awesome retext resources can be found in awesome retext.

This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.

License

MIT © Titus Wormer