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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for postProcessingGEP-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52a3ea31c8ce413f23500f115c3a6b027481a2e4c63941db46957fbe79be2e31 |
|
MD5 | 421756ca453e8dad2a2ef2a0fb00f478 |
|
BLAKE2b-256 | f947ae2b95a88bef917650802a2e4a099f2bf00d60503657d70b676bdf17ef88 |