# node-carry

> Implement galileo Carry algorithm based on http://www.otlet-institute.org/docs/Carry.pdf

Latest version **1.0.2** (published 2021-03-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-carry
pnpm add node-carry
yarn add node-carry
bun add node-carry
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2021-03-10 |
| First published | 2020-11-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Johan Maupetit |
| Maintainers | poyoman |
| Keywords | Galileo, Carry, français, french, lemmatisation, stemming |

## Links

- npm: https://www.npmjs.com/package/node-carry
- Repository: https://github.com/Poyoman39/node-carry
- Homepage: https://github.com/Poyoman39/node-carry#readme
- Issues: https://github.com/Poyoman39/node-carry/issues
- npm.io page: https://npm.io/package/node-carry

## Recent versions

- 1.0.2 (latest) — 2021-03-10
- 1.0.1 — 2020-11-24
- 0.1.0 — 2020-11-10
- 0.0.3 — 2020-11-10
- 0.0.2 — 2020-11-10
- 0.0.1 — 2020-11-10

## README

# node-carry

Pure Javascript implementation of **Galileo Carry algorithm** based on http://www.otlet-institute.org/docs/Carry.pdf

Note :bangbang:: The implementation descibed in the PDF differs with the one from [the official C++ implementation](http://www.otlet-institute.org/wikics/Building_GALILEI_Platform.html#toc-Section-3). *Node-carry* follows the C++ implementation rules which gives .

## Installation

    npm i node-carry

## How to use

    const NodeCarry = require('node-carry');
    const nc = new NodeCarry();
    
    nc.stem('action') // ac
    nc.stem('acteur') // ac
    nc.stem('actrices') // ac
    nc.stem('Dleyton') // Dleyton
 
## How to use with [natural](https://www.npmjs.com/package/natural)

    const NodeCarry = require('node-carry');
    const nc = new NodeCarry();
    const Stemmer = require('natural/lib/natural/stemmers/stemmer_fr');
    
    const CarryStemmer = new Stemmer();
    CarryStemmer.stem = nc.stem;
    
    CarryStemmer.tokenizeAndStem('Le petit cheval de manège'); // ['pet', 'cheval', 'manèg']

---
_Source: https://npm.io/package/node-carry · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
