Skip to main content

simple-language-recognizer

What is it?

Package that recognizes the language of an input string from over 70 languages. The package is probabilistic as the words in the input string are sampled.

What languages can it detect?

Afrikaans, Albanian, Amharic, Arabic, Armenian, Azerbaijani, Basque, Belarusian, Bengali, Bulgarian, Burmese, Catalan, Chinese (Simplified), Chinese (Traditional), Croatian, Czech, Danish, Dutch, English, Estonian, Filipino, Finnish, French, German, Greek, Gujarati, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Irish, Italian, Japanese, Kannada, Kazakh, Khmer, Korean, Kurdish, Kyrgyz, Lao, Latin, Latvian, Ligurian, Lithuanian, Luganda, Luxembourgish, Macedonian, Malay, Malayalam, Marathi, Nepali, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Scottish Gaelic, Serbian, Sinhala, Slovak, Slovenian, Spanish, Swedish, Tajik, Tamil, Tatar, Telugu, Thai, Tibetan, Tigrinya, Tswana, Turkish, Ukrainian, Urdu, Vietnamese, Yoruba

Installing

There are installers for Windows, MacOS and Linux (manylinux). Manylinuxa works with multiple Linux distros. To install:

pip install simple-language-recognizer

Note for MacOS users:

If you receive an error like "SyntaxError: Non-UTF-8 code starting with '\xe0'", include the following at the top of your python codes before the import statement.

# -*- coding: utf-8 -*-

Example

from simpleLanguageRecognizer import languageRecognizer

input = "This is an example of a short phrase in English but which is longer than 50 characters."
output = languageRecognizer(input)
print(output)

output = languageRecognizer(input,False,3,0.25)
print(output)

Input arguments

  • text (string): The input string.
  • allLanguages (bool) (Optional): True (All languages) / False (Only European/Latin-based languages). The function works faster when allLanguages is set to False.
  • maxResults (int) (Optional): The maximum length of the output array. The output array might be empty if the input string is not recognized.
  • sampleRatio (double) (Optional): Ratio of words being sampled from the input (0.0 - 1.0).

Change log

Version 0.0.1: Initial release.
Version 0.0.2: Readme.md update.
Version 0.0.3: Available for Windows, Linux and MacOS.

Release files for simple-language-recognizer 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simple-language-recognizer 0.0.3
File Size Uploaded
simple_language_recognizer-0.0.3.tar.gz 1.0 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for simple-language-recognizer 0.0.3
File
simple_language_recognizer-0.0.3-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details
simple_language_recognizer-0.0.3-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
simple_language_recognizer-0.0.3-cp314-cp314-macosx_11_0_universal2.whl CPython 3.14 CPython 3.14 macOS 11.0+ universal2 (ARM64, x86-64) Details
simple_language_recognizer-0.0.3-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
simple_language_recognizer-0.0.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
simple_language_recognizer-0.0.3-cp313-cp313-macosx_11_0_universal2.whl CPython 3.13 CPython 3.13 macOS 11.0+ universal2 (ARM64, x86-64) Details
simple_language_recognizer-0.0.3-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
simple_language_recognizer-0.0.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
simple_language_recognizer-0.0.3-cp312-cp312-macosx_11_0_universal2.whl CPython 3.12 CPython 3.12 macOS 11.0+ universal2 (ARM64, x86-64) Details
simple_language_recognizer-0.0.3-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
simple_language_recognizer-0.0.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
simple_language_recognizer-0.0.3-cp311-cp311-macosx_11_0_universal2.whl CPython 3.11 CPython 3.11 macOS 11.0+ universal2 (ARM64, x86-64) Details
simple_language_recognizer-0.0.3-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
simple_language_recognizer-0.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
simple_language_recognizer-0.0.3-cp310-cp310-macosx_11_0_universal2.whl CPython 3.10 CPython 3.10 macOS 11.0+ universal2 (ARM64, x86-64) Details
simple_language_recognizer-0.0.3-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
simple_language_recognizer-0.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
simple_language_recognizer-0.0.3-cp39-cp39-macosx_11_0_universal2.whl CPython 3.9 CPython 3.9 macOS 11.0+ universal2 (ARM64, x86-64) Details
simple_language_recognizer-0.0.3-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
simple_language_recognizer-0.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details

Total release size: 18.1 MB

Release files / simple_language_recognizer-0.0.3.tar.gz

Download URL simple_language_recognizer-0.0.3.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
4725eb623c2842a600f91d5290dec4ec44274e68a96d808db3c8203857f03348
BLAKE2b-256 checksum
How to use checksums
4e6c1857e2b807c9aea0b4a271111f009a7a151614d4ec1bf9ffad9965e06d0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp314-cp314t-win_amd64.whl

Download URL simple_language_recognizer-0.0.3-cp314-cp314t-win_amd64.whl
Size 894.8 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
c6425790fbf79fc88fef20f72d9aa056e5e947684a1827c91ce3c8181945a96a
BLAKE2b-256 checksum
How to use checksums
3e3d77968b64e6020c25e76c22aad945da3e5871de92a59cde6774df2ef4f6b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp314-cp314-win_amd64.whl

Download URL simple_language_recognizer-0.0.3-cp314-cp314-win_amd64.whl
Size 888.6 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
8f31ce7f38109a00d0b169aece68c97ce8dcc2d59d7b71994527628c7e7d328d
BLAKE2b-256 checksum
How to use checksums
41c3547f15786483af3281b84fcc17c2a699a52af9577f3e722e044ddde93664
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp314-cp314-macosx_11_0_universal2.whl

Download URL simple_language_recognizer-0.0.3-cp314-cp314-macosx_11_0_universal2.whl
Size 1.2 MB
Tags CPython 3.14 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
3633b36bcfad0695b734d3d4bececa60a0ebb5ee6a3ff7bdb5e95506f962422b
BLAKE2b-256 checksum
How to use checksums
dea6e9ca40683b1b83f92fcbeb0e81ff2e67e8d8b36aae5cf54b584ab655e07c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp313-cp313-win_amd64.whl

Download URL simple_language_recognizer-0.0.3-cp313-cp313-win_amd64.whl
Size 815.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
6f298fae655e91cd700da60a57bf171a5faead47b2712967dcc937f0d8891b7f
BLAKE2b-256 checksum
How to use checksums
0dff121791624db72d73ecc930ffb54ba87866c197b1ddff3ecc3c3119881299
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL simple_language_recognizer-0.0.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 524.2 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
dc3b0ee873942a203d0b15237cd1b0a6791ee4628ce8033b3a450dd926f6454b
BLAKE2b-256 checksum
How to use checksums
8a95576682923a3c8dcea256e52aec1ab39dfaa39b9c314c1c0ef23829b6ea67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp313-cp313-macosx_11_0_universal2.whl

Download URL simple_language_recognizer-0.0.3-cp313-cp313-macosx_11_0_universal2.whl
Size 1.2 MB
Tags CPython 3.13 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
62b003b7b1cd54b67e1fab6054bbefec4d6b761be9dfddf56329177efa999c97
BLAKE2b-256 checksum
How to use checksums
e7056f5394ca83ff6fa424ddf73003e2902aa417c2fc26a0b1fce4d427e205e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp312-cp312-win_amd64.whl

Download URL simple_language_recognizer-0.0.3-cp312-cp312-win_amd64.whl
Size 815.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
2b05afc276bb805f8efca21c299b001d9429972decc87ff8d5fc6cb03e57fd13
BLAKE2b-256 checksum
How to use checksums
b72d42e9c831cc3808caae4442da55dee892c03813c71676df70f9bf57157ba1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL simple_language_recognizer-0.0.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 521.7 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
fff7a2e83fcfd20ddf3dbd30b2506750e0e48e0cad923b9324a3ea476a9bfb73
BLAKE2b-256 checksum
How to use checksums
b33270e46e208ec699534bbbf6df47dbb83e26158fa106984ad7e316dc7bce64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp312-cp312-macosx_11_0_universal2.whl

Download URL simple_language_recognizer-0.0.3-cp312-cp312-macosx_11_0_universal2.whl
Size 1.2 MB
Tags CPython 3.12 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
9dcdd16d990aed291dbd027487c4506a47076c7f4a6b2d7c41edea21310b1e5c
BLAKE2b-256 checksum
How to use checksums
c5caebcb0c8eed502c6cb98af406019602eb940d778c6a12d34380358c9f54b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp311-cp311-win_amd64.whl

Download URL simple_language_recognizer-0.0.3-cp311-cp311-win_amd64.whl
Size 814.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
4997c2426628ac9de2d965cf716acc1bfc74b977d39777bbd77a4eb3d7eeec45
BLAKE2b-256 checksum
How to use checksums
3c3e9bd70d54144a421c77520879214baa8647db2bbfa6b73cdc3b05dc913a1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL simple_language_recognizer-0.0.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 523.0 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d94e7e1496c71d72cadffbdfdcc38fe6d55d06547510cf9ae626f87ab828d2d1
BLAKE2b-256 checksum
How to use checksums
22dea1ce847811f2c4392cfbd734065265d1c3cf7ccc0bee7f22347049d89990
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp311-cp311-macosx_11_0_universal2.whl

Download URL simple_language_recognizer-0.0.3-cp311-cp311-macosx_11_0_universal2.whl
Size 1.2 MB
Tags CPython 3.11 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
99a727091e303da593cce960afd95093e1e0e9943202adb30b04ce91065a42ab
BLAKE2b-256 checksum
How to use checksums
b29ae4df4bf84ee457700e2bdd0b25a13b98ccde671931a07738bfc6ab3cca29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp310-cp310-win_amd64.whl

Download URL simple_language_recognizer-0.0.3-cp310-cp310-win_amd64.whl
Size 814.1 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
ac7fbed53b39174e9933a68bb30f61b1885b2364b4194b41ca5568c59baa3231
BLAKE2b-256 checksum
How to use checksums
7c9c3af9e065064879afef5cea08c9b449b1cda35283d605fcac6aac1abcf59b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL simple_language_recognizer-0.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 518.9 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a37e54f97efb557b3ab8fae46d4fcf5fd1b3d3bd7cff4c749b767fa62e77854f
BLAKE2b-256 checksum
How to use checksums
bdcbade905523e4721f452112b608b81b8a927f67d6f3a29f258401f23fe06bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp310-cp310-macosx_11_0_universal2.whl

Download URL simple_language_recognizer-0.0.3-cp310-cp310-macosx_11_0_universal2.whl
Size 1.2 MB
Tags CPython 3.10 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
3268a90a7d2975f25cdd829cd1a95c64e4fccbc2664a64285a820ed17b4a472e
BLAKE2b-256 checksum
How to use checksums
c53fcee99943853d95fa420159d6cb6dae2bd223b09b46941aaf9a10b7be81de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp39-cp39-win_amd64.whl

Download URL simple_language_recognizer-0.0.3-cp39-cp39-win_amd64.whl
Size 814.1 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
1725df6c1a27ab4709b2ed78432375d36382b73b42ae773c461b7224a1823514
BLAKE2b-256 checksum
How to use checksums
03a2df787f9ed120e38d8dc048eb072bdef07718e6b4d47a361d0e4f63f98e02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL simple_language_recognizer-0.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 519.9 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
af6802fc2d2f907b7ffe60824ded406d802a3e879162e7a86db62a363d6c882e
BLAKE2b-256 checksum
How to use checksums
e965591bd750edc64c238c512eccf4a7b2df77739fb968dbd1ee2019878b5cd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp39-cp39-macosx_11_0_universal2.whl

Download URL simple_language_recognizer-0.0.3-cp39-cp39-macosx_11_0_universal2.whl
Size 1.2 MB
Tags CPython 3.9 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
3b86e50704b61db6f06687ae2e249cad3fd54547569bffec038a4f3921f8c0ae
BLAKE2b-256 checksum
How to use checksums
595f27681e169a8bbbf5351d977dff6a0ae9959dadbb04429df3dc8a0598f6f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp38-cp38-win_amd64.whl

Download URL simple_language_recognizer-0.0.3-cp38-cp38-win_amd64.whl
Size 813.6 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
ce564e55225c3a05bf275b1eaeccd2c506c18aa5cd1fee5adcd0d6069b1d4cd1
BLAKE2b-256 checksum
How to use checksums
a7f4755e9f1ede27d4eeec9d9427597b731bb1c60a1eee57039657188dc4bc5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / simple_language_recognizer-0.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL simple_language_recognizer-0.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 519.6 kB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b7436ebc6b4db7c7e2a9a23d49517e27a9faaf36cbc6fef22065d02ba62bfb93
BLAKE2b-256 checksum
How to use checksums
de61d1cac8aa6b71242746c664dbd52ee2042fcf5cf421ec7e1472825a513c9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.0.3 This release

21 release files

0.0.2

7 release files

0.0.1

7 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