@nlptools/segmentation
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

@nlptools/segmentation

npm version npm downloads npm license Contributor Covenant

Programmatically create text segmentations, powered by Demo Macro.

Getting started

# npm
$ npm install @nlptools/segmentation

# yarn
$ yarn add @nlptools/segmentation

# pnpm
$ pnpm add @nlptools/segmentation

Usage

import { createSegmentation } from "@nlptools/segmentation";

const segmentation = createSegmentation("Hello, world!", {
  // options
  lang: "en",
  segmentation: "words",
});

License

/@nlptools/segmentation/

    Package Sidebar

    Install

    npm i @nlptools/segmentation

    Weekly Downloads

    8

    Version

    0.0.0

    License

    MIT

    Unpacked Size

    4.65 kB

    Total Files

    5

    Last publish

    Collaborators

    • demomacro