Language Form Evaluation
This package includes efficient python implementation of the following metrics
- BLEU
- reference
implementation: nltk.translate.bleu_score
- error: < 1%
- speed: + 189%
- reference
implementation: nltk.translate.bleu_score
- ROUGE (in progress)
- METEOR (in progress)
- CIDEr/CIDEr-D
- reference implementation: https://github.com/vrama91/cider
- with the same tokenizer
- error: < 1 %
- speed: + 81 %
- with different tokenizers (FormEval use Regexp by default)
- error: ~ 15 %
- speed: + 332 %
- with the same tokenizer
- reference implementation: https://github.com/vrama91/cider
- SPICE
- placeholder wrapper of reference
implementation: https://github.com/tylin/coco-caption/tree/master/pycocoevalcap/spice
- TODO: python scene graph parser
- placeholder wrapper of reference
implementation: https://github.com/tylin/coco-caption/tree/master/pycocoevalcap/spice
*All stats shown above are estimations
Dependencies
- python 3.6 +
- nltk 3.5+
Setup
pip install formeval
python -m formeval.setup
Examples
Test Data
Metadata
Release files for formeval 1.0.6
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 |
|---|---|---|---|---|
| formeval-1.0.6.tar.gz | 12.3 kB | Without provenance | Details for formeval-1.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| formeval-1.0.6-py3-none-any.whl | Python 3 | none | any | Details for formeval-1.0.6-py3-none-any.whl |
Total release size: 27.9 kB
Release files / formeval-1.0.6.tar.gz
| Download URL | formeval-1.0.6.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a03e6b758a3a305f37a08f99e90baaf1e6adcc32d2acc0467e5b300785c54517
|
|
BLAKE2b-256 checksum How to use checksums |
c66f2cec490c093b12aa3cf74d9e147b53641ef4b5e5ab8186ce66c65d847ca5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / formeval-1.0.6-py3-none-any.whl
| Download URL | formeval-1.0.6-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee3140734978999f3226118808d9877b6c66d35432804c1ced4cdb30c9d73696
|
|
BLAKE2b-256 checksum How to use checksums |
df4e0cee616cd44c0380433a3579c402018a6144a2891135e4ceedabf1a42c33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Security for formeval 1.0.6
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.