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 Status Coverage Status Chat

Parser for unified. Parses Latin-script natural language to an nlcst syntax tree. Used in the retext processor.

Installation

npm:

npm install retext-latin

Usage

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

process.stdin
    .pipe(unified())
    .use(latin)
    .use(emoji, {convert: 'encode'})
    .use(stringify)
    .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 (wooorm/parse-latin).

License

MIT © Titus Wormer