entidades-partes
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

entidades-partes

npm version

Lista de possíveis nomeclaturas de partes em processos jurídicos.

Usado para encontrar o nome comum da parte e o polo provável, através do fornecimento de um sinônimo/aproximação do nome da parte, usando o algoritmo de Levenshtein.

Installation

Download node at nodejs.org and install it, if you haven't already.

npm install entidades-partes --save

This package is provided in these module formats:

  • CommonJS

Using

import { distance } from 'entidades-partes'

console.log(distance('acusado'))
// { polo: 'Passivo', parte: 'Acusado', distance: 0 }

Building

Install Dependencies

npm install

Compile

npm run compile

Test

npm test

Dependencies

  • diacritics: remove diacritics from strings ("ascii folding") - Node.js module
  • js-levenshtein: The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
  • lodash: A modern JavaScript utility library delivering modularity, performance, & extras.

License

Released under the MIT licence.

Readme

Keywords

none

Package Sidebar

Install

npm i entidades-partes

Weekly Downloads

3

Version

0.1.1

License

MIT

Unpacked Size

185 kB

Total Files

503

Last publish

Collaborators

  • alexrock