JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2009374
  • Score
    100M100P100Q209667F
  • License MIT

retext parser for Latin-script natural languages

Package Exports

  • retext-latin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (retext-latin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

retext-latin Build Coverage Downloads Size Chat

Parser for unified. Parses Latin-script language to nlcst syntax trees. Used in the retext processor but can be used on its own as well.


Announcing the unified collective! ๐ŸŽ‰ Read more about it on Medium ยป

Sponsors



๐Ÿฅ‡ ZEIT


๐Ÿฅ‡ Gatsby


๐Ÿฅ‰ Compositor


Holloway




You?

Installation

npm:

npm install retext-latin

Usage

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

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

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

Table of Contents

API

processor.use(latin)

Configure the processor to read Latin-script text as input.

There is no configuration for the parser.

latin.Parser

Access to the parser (parse-latin).

License

MIT ยฉ Titus Wormer