ShortLanguageDetection


NameShortLanguageDetection JSON
Version 0.0.9 PyPI version JSON
download
home_pagehttps://github.com/Interaction-Bot/LanguageDetection/
SummaryA language detector for short string or chat.
upload_time2023-10-12 16:45:36
maintainer
docs_urlNone
authorJourdelune
requires_python
licenseMIT
keywords language detection nlp identification short
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Installation

`pip install ShortLanguageDetection`

# Usage

```py
import ShortLanguageDetection

detection = ShortLanguageDetection.Detector() # reliable_min=0.5 in arguments for less wrong detection.
print(detection.detect('text'))
# ('en', True)
```

# Project

This language detector is used by interaction bot to detect the language of message sent by user.
It has for objective to improve the language indentification for this type of message.

# Medium Post

https://medium.com/@jourdelune863/improving-language-detection-for-chat-discord-b148dfacc2e5

# Contribute

You can make pr or join this server for speaking about this detector: https://discord.gg/G8BjAV9hgg.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Interaction-Bot/LanguageDetection/",
    "name": "ShortLanguageDetection",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "language,detection,nlp,identification,short",
    "author": "Jourdelune",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/68/3c/58adf529ef110db9dfd4212a94810044e4a9969b661527bae40987161310/ShortLanguageDetection-0.0.9.tar.gz",
    "platform": null,
    "description": "# Installation\n\n`pip install ShortLanguageDetection`\n\n# Usage\n\n```py\nimport ShortLanguageDetection\n\ndetection = ShortLanguageDetection.Detector() # reliable_min=0.5 in arguments for less wrong detection.\nprint(detection.detect('text'))\n# ('en', True)\n```\n\n# Project\n\nThis language detector is used by interaction bot to detect the language of message sent by user.\nIt has for objective to improve the language indentification for this type of message.\n\n# Medium Post\n\nhttps://medium.com/@jourdelune863/improving-language-detection-for-chat-discord-b148dfacc2e5\n\n# Contribute\n\nYou can make pr or join this server for speaking about this detector: https://discord.gg/G8BjAV9hgg.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A language detector for short string or chat.",
    "version": "0.0.9",
    "project_urls": {
        "Homepage": "https://github.com/Interaction-Bot/LanguageDetection/"
    },
    "split_keywords": [
        "language",
        "detection",
        "nlp",
        "identification",
        "short"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6190aebcd82b817e53bc1b0afc934c44bbaf20ef041948a545f4b186873bf950",
                "md5": "75bc9ff824dd1e330a6cc2de539940a3",
                "sha256": "b3807ea227ecd13c6bc119ade1c1b22c3f7eae7d8e591648245ad9c72db54246"
            },
            "downloads": -1,
            "filename": "ShortLanguageDetection-0.0.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "75bc9ff824dd1e330a6cc2de539940a3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2330368,
            "upload_time": "2023-10-12T16:45:34",
            "upload_time_iso_8601": "2023-10-12T16:45:34.195881Z",
            "url": "https://files.pythonhosted.org/packages/61/90/aebcd82b817e53bc1b0afc934c44bbaf20ef041948a545f4b186873bf950/ShortLanguageDetection-0.0.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "683c58adf529ef110db9dfd4212a94810044e4a9969b661527bae40987161310",
                "md5": "987b377e2cf6589c2823997a9252dece",
                "sha256": "40cb93c43a461d6e00e3d134d685edcd5f6e727d36197714f1098158a4351dd8"
            },
            "downloads": -1,
            "filename": "ShortLanguageDetection-0.0.9.tar.gz",
            "has_sig": false,
            "md5_digest": "987b377e2cf6589c2823997a9252dece",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2330374,
            "upload_time": "2023-10-12T16:45:36",
            "upload_time_iso_8601": "2023-10-12T16:45:36.753084Z",
            "url": "https://files.pythonhosted.org/packages/68/3c/58adf529ef110db9dfd4212a94810044e4a9969b661527bae40987161310/ShortLanguageDetection-0.0.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-12 16:45:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Interaction-Bot",
    "github_project": "LanguageDetection",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "shortlanguagedetection"
}
        
Elapsed time: 0.26436s