A python package to detect english text
Project description
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.
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
File details
Details for the file english-detector-0.1.0.tar.gz
.
File metadata
- Download URL: english-detector-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1429de7f31872f74f5b8580d0f37ccc7d496223c2faa18b39949c826221b0d47 |
|
MD5 | fabbc95782addf6ed3e8723ee2c21e63 |
|
BLAKE2b-256 | 694e3c2f644a71e3c7f42449e2a8e8f2d28e75908669699753591374af5fc446 |
File details
Details for the file english_detector-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: english_detector-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5e1ef3a17c64acb5bcc4f44f1a9fe4d8a11883c5725906c759220d15f5c05f2 |
|
MD5 | 1d0f1e37e42448921fbe1bafc74b030a |
|
BLAKE2b-256 | 1970326bc267191efa440f2dfd9699b698e016469ed16a12aa04c6d2045fdaca |