insurancespell


Nameinsurancespell JSON
Version 0.0.9 PyPI version JSON
download
home_pagehttps://github.com/Thiraphat-DEV/Insurance-Spell
SummaryThai insurance Spell Check
upload_time2023-12-28 08:48:25
maintainer
docs_urlNone
authorThiraphat Chorakhe
requires_python
licenseApache Software License 2.0
keywords insurance
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Insurance Spell Check
Insurance Spell Check using Conditional Random Field (CRF)

## Install Library 
 ```
!pip install insurancespell
```
## How to use
Input:
```
เงินเวรคืนของก็มาทัน
```
```python
import insurancespellcheck
print(insurancespellcheck.check("เงินเวรคืนก็มาทัน"))
```
Output:
```
เงิน<คำผิด>เวรคืน</คำผิด><คำผิด>ก็มาทัน</คำผิด>
```

The words in <คำผิด>(*)</คำผิด> are wrongword in Insurance .

if you want to use auto_correct for change to correctword, use ```auto_correct=True``` in code.
```python
import insurancespellcheck
print(insurancespellcheck.check("เงินเวรคืนก็มาทัน",auto_correct=True))
```
Output:

```
เงินเวนคืนของกรมธรรม์

```
if you want to use correct_word for get specific correct word, use ```correct_word=True``` in code.
```python
import insurancespellcheck
print(insurancespellcheck.check("เงินเวรคืนก็มาทัน",correct_word=True))
```
Output:

```
['เวนคืน', 'กรมธรรม์']
```

## License
   Copyright 2023 Thiraphat Chorakhe

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Thiraphat-DEV/Insurance-Spell",
    "name": "insurancespell",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "insurance",
    "author": "Thiraphat Chorakhe",
    "author_email": "thiraboaty@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c1/c8/c21280191098ac4ccdf98c54a12085b3444538f214bf3986d9d3c6f4d3d6/insurancespell-0.0.9.tar.gz",
    "platform": null,
    "description": "# Insurance Spell Check\nInsurance Spell Check using Conditional Random Field (CRF)\n\n## Install Library \n ```\n!pip install insurancespell\n```\n## How to use\nInput:\n```\n\u0e40\u0e07\u0e34\u0e19\u0e40\u0e27\u0e23\u0e04\u0e37\u0e19\u0e02\u0e2d\u0e07\u0e01\u0e47\u0e21\u0e32\u0e17\u0e31\u0e19\n```\n```python\nimport insurancespellcheck\nprint(insurancespellcheck.check(\"\u0e40\u0e07\u0e34\u0e19\u0e40\u0e27\u0e23\u0e04\u0e37\u0e19\u0e01\u0e47\u0e21\u0e32\u0e17\u0e31\u0e19\"))\n```\nOutput:\n```\n\u0e40\u0e07\u0e34\u0e19<\u0e04\u0e33\u0e1c\u0e34\u0e14>\u0e40\u0e27\u0e23\u0e04\u0e37\u0e19</\u0e04\u0e33\u0e1c\u0e34\u0e14><\u0e04\u0e33\u0e1c\u0e34\u0e14>\u0e01\u0e47\u0e21\u0e32\u0e17\u0e31\u0e19</\u0e04\u0e33\u0e1c\u0e34\u0e14>\n```\n\nThe words in <\u0e04\u0e33\u0e1c\u0e34\u0e14>(*)</\u0e04\u0e33\u0e1c\u0e34\u0e14> are wrongword in Insurance .\n\nif you want to use auto_correct for change to correctword, use ```auto_correct=True``` in code.\n```python\nimport insurancespellcheck\nprint(insurancespellcheck.check(\"\u0e40\u0e07\u0e34\u0e19\u0e40\u0e27\u0e23\u0e04\u0e37\u0e19\u0e01\u0e47\u0e21\u0e32\u0e17\u0e31\u0e19\",auto_correct=True))\n```\nOutput:\n\n```\n\u0e40\u0e07\u0e34\u0e19\u0e40\u0e27\u0e19\u0e04\u0e37\u0e19\u0e02\u0e2d\u0e07\u0e01\u0e23\u0e21\u0e18\u0e23\u0e23\u0e21\u0e4c\n\n```\nif you want to use correct_word for get specific correct word, use ```correct_word=True``` in code.\n```python\nimport insurancespellcheck\nprint(insurancespellcheck.check(\"\u0e40\u0e07\u0e34\u0e19\u0e40\u0e27\u0e23\u0e04\u0e37\u0e19\u0e01\u0e47\u0e21\u0e32\u0e17\u0e31\u0e19\",correct_word=True))\n```\nOutput:\n\n```\n['\u0e40\u0e27\u0e19\u0e04\u0e37\u0e19', '\u0e01\u0e23\u0e21\u0e18\u0e23\u0e23\u0e21\u0e4c']\n```\n\n## License\n   Copyright 2023 Thiraphat Chorakhe\n",
    "bugtrack_url": null,
    "license": "Apache Software License 2.0",
    "summary": "Thai insurance Spell Check",
    "version": "0.0.9",
    "project_urls": {
        "Homepage": "https://github.com/Thiraphat-DEV/Insurance-Spell"
    },
    "split_keywords": [
        "insurance"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "58c4ac7a9e0bd3df97c5fb64c84dcdfd5ef6f02f61a69e2f5f382ae4d47daa31",
                "md5": "e884b223bbbea6267d04f130b1869950",
                "sha256": "fdc3821bdb1ad1131063466294459bba95392c315fbdaaa758858850fb1b2ed2"
            },
            "downloads": -1,
            "filename": "insurancespell-0.0.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e884b223bbbea6267d04f130b1869950",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 74258,
            "upload_time": "2023-12-28T08:48:23",
            "upload_time_iso_8601": "2023-12-28T08:48:23.804746Z",
            "url": "https://files.pythonhosted.org/packages/58/c4/ac7a9e0bd3df97c5fb64c84dcdfd5ef6f02f61a69e2f5f382ae4d47daa31/insurancespell-0.0.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c1c8c21280191098ac4ccdf98c54a12085b3444538f214bf3986d9d3c6f4d3d6",
                "md5": "b9f071acd8e4e57942cf170587165c29",
                "sha256": "2ec2c90c72342763d5619797c24f166b0942f58b0cb051d8a62c525c6b87e389"
            },
            "downloads": -1,
            "filename": "insurancespell-0.0.9.tar.gz",
            "has_sig": false,
            "md5_digest": "b9f071acd8e4e57942cf170587165c29",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 75656,
            "upload_time": "2023-12-28T08:48:25",
            "upload_time_iso_8601": "2023-12-28T08:48:25.071929Z",
            "url": "https://files.pythonhosted.org/packages/c1/c8/c21280191098ac4ccdf98c54a12085b3444538f214bf3986d9d3c6f4d3d6/insurancespell-0.0.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-28 08:48:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Thiraphat-DEV",
    "github_project": "Insurance-Spell",
    "github_not_found": true,
    "lcname": "insurancespell"
}
        
Elapsed time: 0.19230s