Skip to main content

English Detector

Downloads

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)

Source distribution for english-detector 0.1.0
File Size Uploaded
english-detector-0.1.0.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for english-detector 0.1.0
File Interpreter ABI Platform
english_detector-0.1.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page