Skip to main content

A package for postprocessing text

Project description

Usage of PostProcessingService

You can access following functions:

The provided package is a collection of functions for text preprocessing and cleaning. Here is a brief explanation of each function:

jaccard_similarity: To calculate jaccard similarity

levenshtein_distance: To calculate levenshtein distance

score: To calculate combined score

Function signature : score(score1, w1, score2, w2) where score1,score2 is jaccard_similarity,levenshtein_distance & w1,w2 is weightage of score1, score2 resp.

Example usage:

pip install postProcessingGEP==1.0.0

import postProcessingGEP

print(postProcessingGEP.PostProcessingService.jaccard_similarity(inputText1,inputText2))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

postProcessingGEP-1.0.0.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

postProcessingGEP-1.0.0-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page