{
"info": {
"author": "Mi\u00f0eind ehf",
"author_email": "vt@extrada.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: Icelandic",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Linguistic",
"Topic :: Utilities"
],
"description": "=============================================================\nReynirCorrect: A spelling and grammar corrector for Icelandic\n=============================================================\n\n\n\n********\nOverview\n********\n\n**ReynirCorrect** is a Python 3.x package for\n**checking and correcting spelling and grammar** in Icelandic text.\n\nReynirCorrect uses the `Reynir `_ package,\nby the same authors, to tokenize and parse text.\n\nToken-level correction\n----------------------\n\nReynirCorrect can tokenize text and return a corrected token list.\nThis catches token-level errors, such as spelling errors and erroneous\nphrases, but not grammatical errors.\n\nFull grammar analysis\n---------------------\n\nReynirCorrect can also analyze text grammatically by attempting to parse\nit, after token-level correction. The parsing is done according to Reynir's\ncontext-free grammar for Icelandic, augmented with additional production rules for common\ngrammatical errors. The analysis returns a set of annotations (errors and suggestions)\nthat apply to spans (consecutive tokens) within sentences in the resulting\ntoken list.\n\n******\nStatus\n******\n\nThis code is under development and has early Beta status. It will eventually\nbecome the foundation of a spelling and grammar checker that will be open\nto the public on the `Greynir.is `_ website.\nOf course it will also be available as an open-source Python package\nthat can be installed using ``pip``.\n\n*******\nExample\n*******\n\nTo tokenize text with token-level correction (the text is not parsed in this case,\nso no grammar checking is done):\n\n>>> from reynir_correct import tokenize\n>>> g = tokenize(\"Af gefnu tilefni f\u00e9kk f\u00e9kk daninn vilja s\u00fdnum \"\n>>> \"framgengt vi\u00f0 hana \u00ed auknu m\u00e6li.\")\n>>> for tok in g:\n>>> print(\"{0:10} {1}\".format(tok.txt or \"\", tok.error_description))\n\nOutput::\n\n A\u00f0 Or\u00f0asambandi\u00f0 'Af gefnu tilefni' var lei\u00f0r\u00e9tt \u00ed 'a\u00f0 gefnu tilefni'\n gefnu\n tilefni\n f\u00e9kk Endurteki\u00f0 or\u00f0 ('f\u00e9kk') var fellt burt\n Daninn Or\u00f0 \u00e1 a\u00f0 byrja \u00e1 h\u00e1staf: 'daninn'\n vilja Or\u00f0asambandi\u00f0 'vilja s\u00fdnum framgengt' var lei\u00f0r\u00e9tt \u00ed 'vilja s\u00ednum framgengt'\n s\u00ednum\n framgengt\n vi\u00f0\n hana\n \u00ed Or\u00f0asambandi\u00f0 '\u00ed auknu m\u00e6li' var lei\u00f0r\u00e9tt \u00ed '\u00ed auknum m\u00e6li'\n auknum\n m\u00e6li\n .\n\nTo get a list of spelling and grammar annotations for a sentence:\n\n>>> from reynir_correct import check_single\n>>> sent = check_single(\"P\u00e1li, vini m\u00ednum, langa\u00f0i a\u00f0 horfa \u00e1 sj\u00f3nvarpi\u00f0.\")\n>>> for annotation in sent.annotations:\n>>> print(\"{0}\".format(annotation))\n\nOutput::\n\n 000-004: E003 Frumlag sagnarinnar 'a\u00f0 langa' \u00e1 a\u00f0 vera \u00ed \u00feolfalli en ekki \u00ed \u00fe\u00e1gufalli\n\n [ The subject of the verb 'a\u00f0 langa/to want' should be in the\n accusative case, not the dative case ]\n\nNote that the ``annotation.start`` and ``annotation.end`` properties\n(here ``start`` is 0 and ``end`` is 4) contain the indices of the first and last\ntokens to which the annotation applies. ``E003`` is an error code.\n\n*************\nPrerequisites\n*************\n\nThis package runs on CPython 3.4 or newer, and on PyPy 3.5 or newer.\n\n************\nInstallation\n************\n\nTo install this package::\n\n $ pip3 install reynir-correct # or pip install reynir-correct if Python3 is your default\n\nIf you want to be able to edit the source, do like so (assuming you have **git** installed)::\n\n $ git clone https://github.com/mideind/ReynirCorrect\n $ cd ReynirCorrect\n $ # [ Activate your virtualenv here if you have one ]\n $ python setup.py develop\n\nThe package source code is now in ``ReynirCorrect/src/reynir_correct``.\n\n*****\nTests\n*****\n\nTo run the built-in tests, install `pytest `_, ``cd`` to your\n``ReynirCorrect`` subdirectory (and optionally activate your virtualenv), then run::\n\n $ python -m pytest",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/mideind/ReynirCorrect",
"keywords": "nlp,parser,icelandic",
"license": "GNU GPLv3",
"maintainer": "",
"maintainer_email": "",
"name": "reynir-correct",
"package_url": "https://pypi.org/project/reynir-correct/",
"platform": "",
"project_url": "https://pypi.org/project/reynir-correct/",
"project_urls": {
"Homepage": "https://github.com/mideind/ReynirCorrect"
},
"release_url": "https://pypi.org/project/reynir-correct/0.7.0/",
"requires_dist": null,
"requires_python": "",
"summary": "A spelling and grammar corrector for Icelandic",
"version": "0.7.0"
},
"last_serial": 5672632,
"releases": {
"0.3.0": [
{
"comment_text": "",
"digests": {
"md5": "2eedbcb5a6c7ee542ba9385e73e3e246",
"sha256": "0e23b75c81e0ca223810eabb5759b835ccc0f628c2a0528d3e964be5aa9b12bf"
},
"downloads": -1,
"filename": "reynir-correct-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "2eedbcb5a6c7ee542ba9385e73e3e246",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4717520,
"upload_time": "2019-01-29T13:07:15",
"url": "https://files.pythonhosted.org/packages/97/7a/882ba08799e4d0a5c48b741f608417daba76978f53f8fa767c36784557de/reynir-correct-0.3.0.tar.gz"
}
],
"0.4.0": [
{
"comment_text": "",
"digests": {
"md5": "d4bae08b4663bfae3a17e49af025b72b",
"sha256": "faff0a2af86af8cf2349ad6730719be14904a8f203268f438815c8a87b61d6fc"
},
"downloads": -1,
"filename": "reynir-correct-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "d4bae08b4663bfae3a17e49af025b72b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3970344,
"upload_time": "2019-03-25T16:00:10",
"url": "https://files.pythonhosted.org/packages/8c/56/9977b65c0b5b49340cf70eb7d75eee3de459f90b9ab22d914b5f9898f4ea/reynir-correct-0.4.0.tar.gz"
}
],
"0.5.0": [
{
"comment_text": "",
"digests": {
"md5": "a07d688dcb78c59eaff602301b00e32b",
"sha256": "503280dc4fde778d379df44c1fd57e369494f70f782e0ac7051f11638ad4d9c0"
},
"downloads": -1,
"filename": "reynir-correct-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "a07d688dcb78c59eaff602301b00e32b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3971931,
"upload_time": "2019-05-03T14:42:12",
"url": "https://files.pythonhosted.org/packages/ae/ed/8b9fef0f0d36c58d064ca0ea0f06e1c7f9284c2f7f0f5691be2831d736b8/reynir-correct-0.5.0.tar.gz"
}
],
"0.6.0": [
{
"comment_text": "",
"digests": {
"md5": "7031d7816df678e88fbc756be9ef9902",
"sha256": "fc8c3b5ebb7bc6f1442a84f12171f4d9fc94c7c35f978e7a7fd75d430c105405"
},
"downloads": -1,
"filename": "reynir-correct-0.6.0.tar.gz",
"has_sig": false,
"md5_digest": "7031d7816df678e88fbc756be9ef9902",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3975492,
"upload_time": "2019-06-04T17:18:06",
"url": "https://files.pythonhosted.org/packages/c3/4c/540ef43e71d002057daed58da2de581b577f4afc8fc65d7480a012ac2c3c/reynir-correct-0.6.0.tar.gz"
}
],
"0.7.0": [
{
"comment_text": "",
"digests": {
"md5": "7bca31a34a245977bdac40a6b3adb2c4",
"sha256": "a814ff86fdb5f5b7e48ee52441209cbdaebf30abdbe0df10d83f237fc09bce70"
},
"downloads": -1,
"filename": "reynir-correct-0.7.0.tar.gz",
"has_sig": false,
"md5_digest": "7bca31a34a245977bdac40a6b3adb2c4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3998216,
"upload_time": "2019-08-13T16:23:19",
"url": "https://files.pythonhosted.org/packages/5a/0d/3406d36ab9686a6568177189f5a663093291ff42fb53e0abe31da3751b4f/reynir-correct-0.7.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "7bca31a34a245977bdac40a6b3adb2c4",
"sha256": "a814ff86fdb5f5b7e48ee52441209cbdaebf30abdbe0df10d83f237fc09bce70"
},
"downloads": -1,
"filename": "reynir-correct-0.7.0.tar.gz",
"has_sig": false,
"md5_digest": "7bca31a34a245977bdac40a6b3adb2c4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3998216,
"upload_time": "2019-08-13T16:23:19",
"url": "https://files.pythonhosted.org/packages/5a/0d/3406d36ab9686a6568177189f5a663093291ff42fb53e0abe31da3751b4f/reynir-correct-0.7.0.tar.gz"
}
]
}