English Detector
A python package to detect english text.
Table of Contents
Installation
Install the package using pip:
pip install english-detector
Usage
from english-detector import detect_english
text = '''Hansel and Gretel are a brother and sister abandoned in a forest, where they fall into the hands of a witch who lives in a house made of gingerbread, cake, and candy. The cannibalistic witch intends to fatten Hansel before eventually eating him, but Gretel pushes the witch into her own oven and kills her.'''
print(detect_english(text)) # prints True
Support
Please open an issue for support.
Contributing
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.
Metadata
Release files for english-detector 0.1.0
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 |
|---|---|---|---|---|
| english-detector-0.1.0.tar.gz | 2.9 kB | Without provenance | Details for english-detector-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| english_detector-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for english_detector-0.1.0-py3-none-any.whl |
Total release size: 6.1 kB
Release files / english-detector-0.1.0.tar.gz
| Download URL | english-detector-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1429de7f31872f74f5b8580d0f37ccc7d496223c2faa18b39949c826221b0d47
|
|
BLAKE2b-256 checksum How to use checksums |
694e3c2f644a71e3c7f42449e2a8e8f2d28e75908669699753591374af5fc446
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.9
|
Release files / english_detector-0.1.0-py3-none-any.whl
| Download URL | english_detector-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5e1ef3a17c64acb5bcc4f44f1a9fe4d8a11883c5725906c759220d15f5c05f2
|
|
BLAKE2b-256 checksum How to use checksums |
1970326bc267191efa440f2dfd9699b698e016469ed16a12aa04c6d2045fdaca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.9
|
Security for english-detector 0.1.0
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.