Skip to content

Lista de possíveis nomeclaturas de partes em processos juridicos.

License

Notifications You must be signed in to change notification settings

bipbop/entidades-partes

Repository files navigation

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 @bipbop/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.

About

Lista de possíveis nomeclaturas de partes em processos juridicos.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •