WordFP
This application consists of a python package made to encode words and compare them through similarity calculation. The words are encoded in a matrix of 0's and 1's called "WordFP", where the first column refers to all the letters present in a word and the second column to the last refers to the position of a certain letter in a word. The search for similar words is calculated based on the metrics: geometric, arithmetic, tanimoto and tversky. A jupyter-notebook with an example of using this package is in the examples/how_to_use.ipynb directory
Another way to use this package is through of web app WordFP. It is possible to run locally too following the steps below.
Install
Via pip
$ pip install wordfp
or
Via github
$ git clone https://github.com/jeffrichardchemistry/WordFP
$ cd WordFP
$ python3 setup.py install
Install and Run WebAPP Locally
The web application is in the "app/app.py" folder. Install dependencies:
$ pip install streamlit wordfp
To run:
$ cd .../app/
$ streamlit run app.py
Considerations
This project was an idea I came up with at a random moment while studying my PhD work, I hope it can help someone someday in areas like natural language processing (NLP).
Metadata
Release files for WordFP 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| WordFP-1.0.2.linux-x86_64.tar.gz | 1.8 MB | Without provenance | Details for WordFP-1.0.2.linux-x86_64.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| WordFP-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for WordFP-1.0.2-py3-none-any.whl |
Total release size: 3.6 MB
Release files / WordFP-1.0.2.linux-x86_64.tar.gz
| Download URL | WordFP-1.0.2.linux-x86_64.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53de5d2475b20190c9cd0ad16ba8a34cd8cdd3d16f6c741ccf5773e0cfab8fbd
|
|
BLAKE2b-256 checksum How to use checksums |
1a39c5e633e3c5ee3591264896830161f7cf33a520c842298df48e5f9cd62913
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / WordFP-1.0.2-py3-none-any.whl
| Download URL | WordFP-1.0.2-py3-none-any.whl |
|---|---|
| Size | 1.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
851b8dfe92431008d3b51b8b693050107a0d35ca3cca113c1945da7dbfc61a53
|
|
BLAKE2b-256 checksum How to use checksums |
8e0ef449f306b1338577a5a7926b512e7f18dcfaea5db356a4a5d56ead10095a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Security for WordFP 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.